Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-web-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
biyuewuhua
isc-web-vue
Commits
25cd9e4a
Commit
25cd9e4a
authored
Sep 29, 2024
by
李少勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oftopn和oftsel交易排版
parent
c5cb29d9
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
813 additions
and
1066 deletions
+813
-1066
buildCommons.js
src/page/Frontend/Oftopn/event/buildCommons.js
+35
-0
index.js
src/page/Frontend/Oftopn/event/index.js
+12
-0
Check.js
src/page/Frontend/Oftopn/model/Check.js
+39
-20
Default.js
src/page/Frontend/Oftopn/model/Default.js
+0
-10
Event.js
src/page/Frontend/Oftopn/model/Event.js
+0
-31
Pattern.js
src/page/Frontend/Oftopn/model/Pattern.js
+0
-47
index.js
src/page/Frontend/Oftopn/model/index.js
+28
-28
Oftp13.vue
src/page/Frontend/Oftopn/views/Oftp13.vue
+194
-301
index.vue
src/page/Frontend/Oftopn/views/index.vue
+95
-96
buildCommons.js
src/page/Frontend/Oftsel/event/buildCommons.js
+35
-0
index.js
src/page/Frontend/Oftsel/event/index.js
+12
-0
Check.js
src/page/Frontend/Oftsel/model/Check.js
+42
-18
Default.js
src/page/Frontend/Oftsel/model/Default.js
+0
-10
Event.js
src/page/Frontend/Oftsel/model/Event.js
+0
-31
Pattern.js
src/page/Frontend/Oftsel/model/Pattern.js
+0
-47
index.js
src/page/Frontend/Oftsel/model/index.js
+29
-28
Oftp01.vue
src/page/Frontend/Oftsel/views/Oftp01.vue
+194
-301
index.vue
src/page/Frontend/Oftsel/views/index.vue
+96
-96
index.vue
src/page/Funds/Fxtssb/views/index.vue
+1
-1
index.vue
src/page/Funds/Fxtsss/views/index.vue
+1
-1
No files found.
src/page/Frontend/Oftopn/event/buildCommons.js
0 → 100644
View file @
25cd9e4a
import
Utils
from
"~/utils"
;
export
default
{
methods
:
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
return
{
rol
:
pts
.
rol
,
name
:
pts
.
nam
,
ptyinr
:
pts
.
ptyinr
,
ptainr
:
pts
.
ptainr
,
extkey
:
pts
.
extkey
,
dftdsp
:
pts
.
dftdsp
,
dftcur
:
pts
.
dftcur
,
dftact
:
pts
.
dftact
,
dftfeecur
:
pts
.
dftfeecur
,
dftactptainr
:
pts
.
dftactptainr
,
glggrpflg
:
pts
.
glggrpflg
,
adrblk
:
pts
.
adrblk
,
pts
,
};
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
Utils
.
formatPtspta
(
model
.
oftp
,
this
.
buildPtspta
);
return
{
rec
:
{
objtyp
:
"PFT"
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
userId
:
window
.
sessionStorage
.
userId
?
window
.
sessionStorage
.
userId
:
"ZL"
,
};
},
},
};
src/page/Frontend/Oftopn/event/index.js
0 → 100644
View file @
25cd9e4a
import
commonFunctions
from
'~/mixin/commonFunctions.js'
;
import
Api
from
'~/service/Api'
;
export
default
{
mixins
:
[
commonFunctions
],
methods
:
{
async
getOwnref
()
{
}
}
}
\ No newline at end of file
src/page/Frontend/Oftopn/model/Check.js
View file @
25cd9e4a
import
Utils
from
"~/utils"
/**
* Oftopn Check规则
*/
let
checkObj
=
{
"oftp.rel.ref"
:
null
,
"oftp.rel.relref"
:
null
,
"oftp.rel.msgtyp"
:
null
,
"oftp.rel.sedbak"
:
null
,
"oftp.rel.revbak"
:
null
,
"oftp.rel.actbic"
:
null
,
}
for
(
const
key
in
checkObj
)
{
if
(
Object
.
hasOwnProperty
.
call
(
checkObj
,
key
))
{
checkObj
[
key
]
=
checkObj
[
key
]
?
checkObj
[
key
]
:
Utils
.
reflectCheck
(
key
)
}
}
export
default
checkObj
export
default
{
"oftp.rel.rsptims"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.rsptime"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.sedbak"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.revbak"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.actbic"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.amtd"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.amtu"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.relref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
}
\ No newline at end of file
src/page/Frontend/Oftopn/model/Default.js
deleted
100644 → 0
View file @
c5cb29d9
/**
* Oftopn Default规则
*/
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
export
default
{
}
//你可以添加自动default处理
src/page/Frontend/Oftopn/model/Event.js
deleted
100644 → 0
View file @
c5cb29d9
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onRelSer
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rel.ser"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onRelRes
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rel.res"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/page/Frontend/Oftopn/model/Pattern.js
deleted
100644 → 0
View file @
c5cb29d9
export
default
{
"oftp.rel.rsptims"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.rsptime"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.sedbak"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.revbak"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.actbic"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.amtd"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.amtu"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.relref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
}
\ No newline at end of file
src/page/Frontend/Oftopn/model/index.js
View file @
25cd9e4a
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Oftopn
{
constructor
()
{
this
.
data
=
{
oftp
:{
rel
:{
ref
:
""
,
// : .oftp.rel.ref
relref
:
""
,
// : .oftp.rel.relref
dcflg
:
""
,
// : .oftp.rel.dcflg
amtu
:
""
,
// : .oftp.rel.amtu
amtd
:
""
,
// : .oftp.rel.amtd
mty
:
""
,
// : .oftp.rel.mty
rsptims
:
""
,
// : .oftp.rel.rsptims
rsptime
:
""
,
// : .oftp.rel.rsptime
sedbak
:
""
,
// : .oftp.rel.sedbak
revbak
:
""
,
// : .oftp.rel.revbak
actbic
:
""
,
// : .oftp.rel.actbic
cur
:
""
,
// : .oftp.rel.cur
msgtyp
:
""
,
// : .oftp.rel.msgtyp
},
stm2
:
""
,
// 导出 .oftp.stm2
},
oftgrp
:{
dotrel
:{
lst
:[],
// .oftgrp.dotrel.lst
},
},
pageId
:
""
// ctx的key
}
export
default
class
Oftopn
{
constructor
()
{
this
.
data
=
{
oftp
:
{
rel
:
{
ref
:
""
,
// : .oftp.rel.ref
relref
:
""
,
// : .oftp.rel.relref
dcflg
:
""
,
// : .oftp.rel.dcflg
amtu
:
""
,
// : .oftp.rel.amtu
amtd
:
""
,
// : .oftp.rel.amtd
mty
:
""
,
// : .oftp.rel.mty
rsptims
:
""
,
// : .oftp.rel.rsptims
rsptime
:
""
,
// : .oftp.rel.rsptime
sedbak
:
""
,
// : .oftp.rel.sedbak
revbak
:
""
,
// : .oftp.rel.revbak
actbic
:
""
,
// : .oftp.rel.actbic
cur
:
""
,
// : .oftp.rel.cur
msgtyp
:
""
,
// : .oftp.rel.msgtyp
},
stm2
:
""
,
// 导出 .oftp.stm2
},
oftgrp
:
{
dotrel
:
{
lst
:
[],
// .oftgrp.dotrel.lst
},
},
}
}
}
\ No newline at end of file
src/page/Frontend/Oftopn/views/Oftp13.vue
View file @
25cd9e4a
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.oftgrp.dotrel.lst"
style=
"width: 100%"
>
<el-table-column
prop=
"mty"
label=
"报文种类"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"rsptim"
label=
"收发时间"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"sweflg"
label=
"G渠道"
sortable
width=
"60"
>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"记账类型"
sortable
width=
"100"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
kpatyp
.
find
(
item
=>
item
.
value
==
scope
.
row
.
typ
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"dcflg"
label=
"收支"
sortable
width=
"40"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
dcflg
.
find
(
item
=>
item
.
value
==
scope
.
row
.
dcflg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"金额"
sortable
width=
"140"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
sortable
width=
"50"
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"关联状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
sta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"area"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
allmsgcod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
area
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日"
sortable
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"ownref"
label=
"20域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"othref"
label=
"21域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"multimsg"
label=
"目标渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
multimsg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"chk"
label=
"源渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chk
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"kpatyp"
label=
"下一渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
kpatyp
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sedbak"
label=
"发报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"revbak"
label=
"收报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"actbic"
label=
"账户行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"offsta"
label=
"勾销标识"
sortable
width=
"80"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
offsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
offsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"lstdat"
label=
"最后处理时间"
sortable
width=
"200"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
<!-- LT000121 : 起始日期 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000226')"
prop=
"oftp.rel.rsptims"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptims"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000226')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000226 : : -->
<!-- LT000122 : 截止日期 -->
<!-- LT000231 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000231')"
prop=
"oftp.rel.rsptime"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptime"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000231')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000225 : 报文标准 -->
<!-- LT000232 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000232')"
prop=
"oftp.rel.msgtyp"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000232')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000120 : 报文类型 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000233')"
prop=
"oftp.rel.mty"
>
<c-select
v-model=
"model.oftp.rel.mty"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000233')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000233 : : -->
<!-- LT000124 : 发报行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000234')"
prop=
"oftp.rel.sedbak"
>
<c-input
v-model=
"model.oftp.rel.sedbak"
maxlength=
"11"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000234')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000234 : : -->
<!-- LT000123 : 收报行BIC -->
<!-- LT000235 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000235')"
prop=
"oftp.rel.revbak"
>
<c-input
v-model=
"model.oftp.rel.revbak"
maxlength=
"11"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000235')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000125 : 账户行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000227')"
prop=
"oftp.rel.actbic"
>
<c-input
v-model=
"model.oftp.rel.actbic"
maxlength=
"11"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000227')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000227 : : -->
<!-- LT000044 : 借 贷 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000228')"
prop=
"oftp.rel.dcflg"
>
<c-select
v-model=
"model.oftp.rel.dcflg"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000228')"
>
<el-option
v-for=
"item in codes.dcflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000228 : : -->
<!-- LT000223 : 币 种 -->
<!-- LT000229 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000229')"
prop=
"oftp.rel.cur"
>
<c-select
v-model=
"model.oftp.rel.cur"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000229')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000056 : 金额下限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000230')"
prop=
"oftp.rel.amtd"
>
<c-input
v-model=
"model.oftp.rel.amtd"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000230')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000230 : : -->
<!-- LT000055 : 金额上限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000236')"
prop=
"oftp.rel.amtu"
>
<c-input
v-model=
"model.oftp.rel.amtu"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000236')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000236 : : -->
<!-- LT000007 : 20域编号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000237')"
prop=
"oftp.rel.ref"
>
<c-input
v-model=
"model.oftp.rel.ref"
maxlength=
"20"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000237')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000237 : : -->
<!-- LT000027 : 21域编号 -->
<!-- LT000238 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000238')"
prop=
"oftp.rel.relref"
>
<c-input
v-model=
"model.oftp.rel.relref"
maxlength=
"20"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000238')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRelSer"
>
{{$t('dotrep.BT000034')}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRelRes"
>
{{$t('dotrep.BT000076')}}
</c-button>
</c-col>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.oftgrp.dotrel.lst"
style=
"width: 100%"
>
<el-table-column
prop=
"mty"
label=
"报文种类"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"rsptim"
label=
"收发时间"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"sweflg"
label=
"G渠道"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"记账类型"
sortable
width=
"120"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
kpatyp
.
find
(
item
=>
item
.
value
==
scope
.
row
.
typ
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"dcflg"
label=
"收支"
sortable
width=
"120"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
dcflg
.
find
(
item
=>
item
.
value
==
scope
.
row
.
dcflg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"金额"
sortable
width=
"140"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"关联状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
sta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"area"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
allmsgcod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
area
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"ownref"
label=
"20域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"othref"
label=
"21域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"multimsg"
label=
"目标渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
multimsg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"chk"
label=
"源渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chk
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"kpatyp"
label=
"下一渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
kpatyp
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sedbak"
label=
"发报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"revbak"
label=
"收报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"actbic"
label=
"账户行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"offsta"
label=
"勾销标识"
sortable
width=
"120"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
offsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
offsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"lstdat"
label=
"最后处理时间"
sortable
width=
"200"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
<!-- LT000121 : 起始日期 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.起始日期')"
prop=
"oftp.rel.rsptims"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptims"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000226 : : -->
<!-- LT000122 : 截止日期 -->
<!-- LT000231 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.截止日期')"
prop=
"oftp.rel.rsptime"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptime"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000225 : 报文标准 -->
<!-- LT000232 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.报文标准')"
prop=
"oftp.rel.msgtyp"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000120 : 报文类型 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.报文类型')"
prop=
"oftp.rel.mty"
>
<c-select
v-model=
"model.oftp.rel.mty"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000233 : : -->
<!-- LT000124 : 发报行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.发报行BIC')"
prop=
"oftp.rel.sedbak"
>
<c-input
v-model=
"model.oftp.rel.sedbak"
maxlength=
"11"
></c-input>
</c-form-item>
</c-col>
<!-- LT000234 : : -->
<!-- LT000123 : 收报行BIC -->
<!-- LT000235 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.收报行BIC')"
prop=
"oftp.rel.revbak"
>
<c-input
v-model=
"model.oftp.rel.revbak"
maxlength=
"11"
></c-input>
</c-form-item>
</c-col>
<!-- LT000125 : 账户行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.账户行BIC')"
prop=
"oftp.rel.actbic"
>
<c-input
v-model=
"model.oftp.rel.actbic"
maxlength=
"11"
></c-input>
</c-form-item>
</c-col>
<!-- LT000227 : : -->
<!-- LT000044 : 借 贷 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.借贷')"
prop=
"oftp.rel.dcflg"
>
<c-select
v-model=
"model.oftp.rel.dcflg"
style=
"width:100%"
>
<el-option
v-for=
"item in codes.dcflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000228 : : -->
<!-- LT000223 : 币 种 -->
<!-- LT000229 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.币种')"
prop=
"oftp.rel.cur"
>
<c-select
v-model=
"model.oftp.rel.cur"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000056 : 金额下限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.金额下限')"
prop=
"oftp.rel.amtd"
>
<c-input
v-model=
"model.oftp.rel.amtd"
></c-input>
</c-form-item>
</c-col>
<!-- LT000230 : : -->
<!-- LT000055 : 金额上限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.金额上限')"
prop=
"oftp.rel.amtu"
>
<c-input
v-model=
"model.oftp.rel.amtu"
></c-input>
</c-form-item>
</c-col>
<!-- LT000236 : : -->
<!-- LT000007 : 20域编号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.20域编号')"
prop=
"oftp.rel.ref"
>
<c-input
v-model=
"model.oftp.rel.ref"
maxlength=
"20"
></c-input>
</c-form-item>
</c-col>
<!-- LT000237 : : -->
<!-- LT000027 : 21域编号 -->
<!-- LT000238 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.21域编号')"
prop=
"oftp.rel.relref"
>
<c-input
v-model=
"model.oftp.rel.relref"
maxlength=
"20"
></c-input>
</c-form-item>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"../model/Event"
import
Event
from
"../event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[],
data
()
{
return
{
}
},
methods
:
{
...
Event
},
created
:
function
()
{
}
}
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/page/Frontend/Oftopn/views/index.vue
View file @
25cd9e4a
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--oftp PD000700 人工关联页面oftopn -->
<el-tab-pane
:label=
"$t('oftp.PD000700')"
name=
"oftp13"
>
<m-oftp13
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-page
title=
"待关联报文处理"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--oftp PD000700 人工关联页面oftopn -->
<el-tab-pane
:label=
"$t('oftp.人工关联页面')"
name=
"oftp13"
>
<m-oftp13
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
:handleSubmit=
"handleSubmit"
@
handleSureWarning=
"handleSureWarning"
ref=
"commonBtn"
></c-function-btn>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Oftopn
from
"../model"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"../model/Check"
import
Default
from
"../model/Default"
import
Pattern
from
"../model/Pattern"
import
Check
from
"../model/check"
import
Oftp13
from
"./Oftp13"
import
operationFunc
from
"~/mixin/operationFunc"
;
import
commonDepend
from
"~/mixin/commonDepend"
;
import
event
from
"../event"
;
import
buildFn
from
"../event/buildCommons.js"
;
export
default
{
name
:
"Oftopn"
,
components
:{
"m-oftp13"
:
Oftp13
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"oftp13"
,
trnName
:
"oftopn"
,
trnType
:
""
,
model
:
new
Oftopn
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
kpatyp
:
CodeTable
.
kpatyp
,
cur
:
CodeTable
.
cur
,
sdcflg
:
CodeTable
.
sdcflg
,
gpicod
:
CodeTable
.
gpicod
,
offtyp
:
CodeTable
.
offtyp
,
fmssta
:
CodeTable
.
fmssta
,
clrsys
:
CodeTable
.
clrsys
,
stacod
:
CodeTable
.
stacod
,
dottyp
:
CodeTable
.
dottyp
,
recsta
:
CodeTable
.
recsta
,
bnksta
:
CodeTable
.
bnksta
,
gpista
:
CodeTable
.
gpista
,
kpadir
:
CodeTable
.
kpadir
,
area
:
CodeTable
.
area
,
cpsfxdtyp
:
CodeTable
.
cpsfxdtyp
,
rspsta
:
CodeTable
.
rspsta
,
sta
:
CodeTable
.
sta
,
actsta
:
CodeTable
.
actsta
,
offsta
:
CodeTable
.
offsta
,
batcharge
:
CodeTable
.
batcharge
,
msgmst
:
CodeTable
.
msgmst
,
yosflg
:
CodeTable
.
yosflg
,
filtyp
:
CodeTable
.
filtyp
,
dircod
:
CodeTable
.
dircod
,
kpstyp
:
CodeTable
.
kpstyp
,
allmsgcod
:
CodeTable
.
allmsgcod
,
dcflg
:
CodeTable
.
dcflg
,
msgtyp
:
CodeTable
.
msgtyp
,
chncod
:
CodeTable
.
chncod
,
msgsta
:
CodeTable
.
msgsta
,
usratr
:
CodeTable
.
usratr
,
msgchksta
:
CodeTable
.
msgchksta
,
setmth
:
CodeTable
.
setmth
,
chniptcod
:
CodeTable
.
chniptcod
,
dtlchg
:
CodeTable
.
dtlchg
,
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入oftopn交易"
);
let
rtnmsg
=
{};
// await this.init({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
name
:
"Oftopn"
,
components
:
{
"m-oftp13"
:
Oftp13
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
operationFunc
,
commonDepend
,
event
,
buildFn
],
data
()
{
return
{
tabVal
:
"oftp13"
,
trnName
:
"oftopn"
,
trnType
:
""
,
model
:
new
Oftopn
().
data
,
rules
:
Check
,
codes
:
{
kpatyp
:
CodeTable
.
kpatyp
,
cur
:
CodeTable
.
cur
,
sdcflg
:
CodeTable
.
sdcflg
,
gpicod
:
CodeTable
.
gpicod
,
offtyp
:
CodeTable
.
offtyp
,
fmssta
:
CodeTable
.
fmssta
,
clrsys
:
CodeTable
.
clrsys
,
stacod
:
CodeTable
.
stacod
,
dottyp
:
CodeTable
.
dottyp
,
recsta
:
CodeTable
.
recsta
,
bnksta
:
CodeTable
.
bnksta
,
gpista
:
CodeTable
.
gpista
,
kpadir
:
CodeTable
.
kpadir
,
area
:
CodeTable
.
area
,
cpsfxdtyp
:
CodeTable
.
cpsfxdtyp
,
rspsta
:
CodeTable
.
rspsta
,
sta
:
CodeTable
.
sta
,
actsta
:
CodeTable
.
actsta
,
offsta
:
CodeTable
.
offsta
,
batcharge
:
CodeTable
.
batcharge
,
msgmst
:
CodeTable
.
msgmst
,
yosflg
:
CodeTable
.
yosflg
,
filtyp
:
CodeTable
.
filtyp
,
dircod
:
CodeTable
.
dircod
,
kpstyp
:
CodeTable
.
kpstyp
,
allmsgcod
:
CodeTable
.
allmsgcod
,
dcflg
:
CodeTable
.
dcflg
,
msgtyp
:
CodeTable
.
msgtyp
,
chncod
:
CodeTable
.
chncod
,
msgsta
:
CodeTable
.
msgsta
,
usratr
:
CodeTable
.
usratr
,
msgchksta
:
CodeTable
.
msgchksta
,
setmth
:
CodeTable
.
setmth
,
chniptcod
:
CodeTable
.
chniptcod
,
dtlchg
:
CodeTable
.
dtlchg
,
},
}
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
}
},
created
:
async
function
()
{
console
.
log
(
"进入oftopn交易"
);
let
params
=
{
transName
:
this
.
trnName
,
fxdgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
||
""
,
},
},
};
this
.
init
(
params
)
}
}
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/page/Frontend/Oftsel/event/buildCommons.js
0 → 100644
View file @
25cd9e4a
import
Utils
from
"~/utils"
;
export
default
{
methods
:
{
buildPtspta
(
ptsptaObj
)
{
let
pts
=
ptsptaObj
.
pts
;
return
{
rol
:
pts
.
rol
,
name
:
pts
.
nam
,
ptyinr
:
pts
.
ptyinr
,
ptainr
:
pts
.
ptainr
,
extkey
:
pts
.
extkey
,
dftdsp
:
pts
.
dftdsp
,
dftcur
:
pts
.
dftcur
,
dftact
:
pts
.
dftact
,
dftfeecur
:
pts
.
dftfeecur
,
dftactptainr
:
pts
.
dftactptainr
,
glggrpflg
:
pts
.
glggrpflg
,
adrblk
:
pts
.
adrblk
,
pts
,
};
},
buildCommonData
(
model
,
trnName
)
{
let
ptsptaList
=
Utils
.
formatPtspta
(
model
.
oftp
,
this
.
buildPtspta
);
return
{
rec
:
{
objtyp
:
"PFT"
,
},
ptsList
:
ptsptaList
,
transName
:
trnName
,
userId
:
window
.
sessionStorage
.
userId
?
window
.
sessionStorage
.
userId
:
"ZL"
,
};
},
},
};
src/page/Frontend/Oftsel/event/index.js
0 → 100644
View file @
25cd9e4a
import
commonFunctions
from
'~/mixin/commonFunctions.js'
;
import
Api
from
'~/service/Api'
;
export
default
{
mixins
:
[
commonFunctions
],
methods
:
{
async
getOwnref
()
{
}
}
}
\ No newline at end of file
src/page/Frontend/Oftsel/model/Check.js
View file @
25cd9e4a
import
Utils
from
"~/utils"
export
default
{
/**
* Oftsel Check规则
*/
let
checkObj
=
{
"oftp.rel.ref"
:
null
,
"oftp.rel.relref"
:
null
,
"oftp.rel.msgtyp"
:
null
,
"oftp.rel.sedbak"
:
null
,
"oftp.rel.revbak"
:
null
,
"oftp.rel.actbic"
:
null
,
}
"oftp.rel.rsptims"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.rsptime"
:
[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
for
(
const
key
in
checkObj
)
{
if
(
Object
.
hasOwnProperty
.
call
(
checkObj
,
key
))
{
checkObj
[
key
]
=
checkObj
[
key
]
?
checkObj
[
key
]
:
Utils
.
reflectCheck
(
key
)
}
}
export
default
checkObj
"oftp.rel.sedbak"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.revbak"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.actbic"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.amtd"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.amtu"
:
[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.ref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.relref"
:
[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
}
\ No newline at end of file
src/page/Frontend/Oftsel/model/Default.js
deleted
100644 → 0
View file @
c5cb29d9
/**
* Oftsel Default规则
*/
import
Api
from
"~/service/Api"
;
import
Utils
from
"~/utils/index"
export
default
{
}
//你可以添加自动default处理
src/page/Frontend/Oftsel/model/Event.js
deleted
100644 → 0
View file @
c5cb29d9
import
Api
from
"~/service/Api"
import
Utils
from
"~/utils"
export
default
{
async
onRelSer
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rel.ser"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onRelRes
(){
let
rtnmsg
=
await
this
.
executeRule
(
"rel.res"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
}
\ No newline at end of file
src/page/Frontend/Oftsel/model/Pattern.js
deleted
100644 → 0
View file @
c5cb29d9
export
default
{
"oftp.rel.rsptims"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.rsptime"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
"oftp.rel.sedbak"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.revbak"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.actbic"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.amtd"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.amtu"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"oftp.rel.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
"oftp.rel.relref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
0
,
message
:
"长度不能超过0"
}
],
}
\ No newline at end of file
src/page/Frontend/Oftsel/model/index.js
View file @
25cd9e4a
import
Api
from
"~/service/Api"
import
Pts
from
"~/page/Model/Common/Pts"
export
default
class
Oftsel
{
constructor
()
{
this
.
data
=
{
oftp
:{
stm2
:
""
,
// 导出 .oftp.stm2
rel
:{
ref
:
""
,
// : .oftp.rel.ref
relref
:
""
,
// : .oftp.rel.relref
dcflg
:
""
,
// : .oftp.rel.dcflg
amtu
:
""
,
// : .oftp.rel.amtu
amtd
:
""
,
// : .oftp.rel.amtd
mty
:
""
,
// : .oftp.rel.mty
rsptims
:
""
,
// : .oftp.rel.rsptims
rsptime
:
""
,
// : .oftp.rel.rsptime
sedbak
:
""
,
// : .oftp.rel.sedbak
revbak
:
""
,
// : .oftp.rel.revbak
actbic
:
""
,
// : .oftp.rel.actbic
cur
:
""
,
// : .oftp.rel.cur
msgtyp
:
""
,
// : .oftp.rel.msgtyp
},
},
oftgrp
:{
dotrel
:{
lst
:[],
// .oftgrp.dotrel.lst
},
},
pageId
:
""
// ctx的key
}
export
default
class
Oftsel
{
constructor
()
{
this
.
data
=
{
oftp
:
{
stm2
:
""
,
// 导出 .oftp.stm2
rel
:
{
ref
:
""
,
// : .oftp.rel.ref
relref
:
""
,
// : .oftp.rel.relref
dcflg
:
""
,
// : .oftp.rel.dcflg
amtu
:
""
,
// : .oftp.rel.amtu
amtd
:
""
,
// : .oftp.rel.amtd
mty
:
""
,
// : .oftp.rel.mty
rsptims
:
""
,
// : .oftp.rel.rsptims
rsptime
:
""
,
// : .oftp.rel.rsptime
sedbak
:
""
,
// : .oftp.rel.sedbak
revbak
:
""
,
// : .oftp.rel.revbak
actbic
:
""
,
// : .oftp.rel.actbic
cur
:
""
,
// : .oftp.rel.cur
msgtyp
:
""
,
// : .oftp.rel.msgtyp
},
},
oftgrp
:
{
dotrel
:
{
lst
:
[],
// .oftgrp.dotrel.lst
},
},
pageId
:
""
// ctx的key
}
}
}
\ No newline at end of file
src/page/Frontend/Oftsel/views/Oftp01.vue
View file @
25cd9e4a
<
template
>
<div
class=
"eibs-tab"
>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.oftgrp.dotrel.lst"
style=
"width: 100%"
>
<el-table-column
prop=
"mty"
label=
"报文种类"
sortable
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"rsptim"
label=
"收发时间"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"sweflg"
label=
"G渠道"
sortable
width=
"60"
>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"记账类型"
sortable
width=
"100"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
kpatyp
.
find
(
item
=>
item
.
value
==
scope
.
row
.
typ
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"dcflg"
label=
"收支"
sortable
width=
"40"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
dcflg
.
find
(
item
=>
item
.
value
==
scope
.
row
.
dcflg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"金额"
sortable
width=
"140"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
sortable
width=
"50"
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"关联状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
sta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"area"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
allmsgcod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
area
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日"
sortable
width=
"90"
>
</el-table-column>
<el-table-column
prop=
"ownref"
label=
"20域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"othref"
label=
"21域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"multimsg"
label=
"目标渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
multimsg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"chk"
label=
"源渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chk
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"kpatyp"
label=
"下一渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
kpatyp
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sedbak"
label=
"发报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"revbak"
label=
"收报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"actbic"
label=
"账户行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"offsta"
label=
"勾销标识"
sortable
width=
"80"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
offsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
offsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"lstdat"
label=
"最后处理时间"
sortable
width=
"200"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
<!-- LT000121 : 起始日期 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000226')"
prop=
"oftp.rel.rsptims"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptims"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000226')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000226 : : -->
<!-- LT000122 : 截止日期 -->
<!-- LT000231 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000231')"
prop=
"oftp.rel.rsptime"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptime"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000231')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000225 : 报文标准 -->
<!-- LT000232 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000232')"
prop=
"oftp.rel.msgtyp"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000232')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000120 : 报文类型 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000233')"
prop=
"oftp.rel.mty"
>
<c-select
v-model=
"model.oftp.rel.mty"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000233')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000233 : : -->
<!-- LT000124 : 发报行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000234')"
prop=
"oftp.rel.sedbak"
>
<c-input
v-model=
"model.oftp.rel.sedbak"
maxlength=
"11"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000234')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000234 : : -->
<!-- LT000123 : 收报行BIC -->
<!-- LT000235 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000235')"
prop=
"oftp.rel.revbak"
>
<c-input
v-model=
"model.oftp.rel.revbak"
maxlength=
"11"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000235')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000125 : 账户行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000227')"
prop=
"oftp.rel.actbic"
>
<c-input
v-model=
"model.oftp.rel.actbic"
maxlength=
"11"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000227')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000227 : : -->
<!-- LT000044 : 借 贷 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000228')"
prop=
"oftp.rel.dcflg"
>
<c-select
v-model=
"model.oftp.rel.dcflg"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000228')"
>
<el-option
v-for=
"item in codes.dcflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000228 : : -->
<!-- LT000223 : 币 种 -->
<!-- LT000229 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.LT000229')"
prop=
"oftp.rel.cur"
>
<c-select
v-model=
"model.oftp.rel.cur"
style=
"width:100%"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000229')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000056 : 金额下限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000230')"
prop=
"oftp.rel.amtd"
>
<c-input
v-model=
"model.oftp.rel.amtd"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000230')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000230 : : -->
<!-- LT000055 : 金额上限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000236')"
prop=
"oftp.rel.amtu"
>
<c-input
v-model=
"model.oftp.rel.amtu"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000236')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000236 : : -->
<!-- LT000007 : 20域编号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000237')"
prop=
"oftp.rel.ref"
>
<c-input
v-model=
"model.oftp.rel.ref"
maxlength=
"20"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000237')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000237 : : -->
<!-- LT000027 : 21域编号 -->
<!-- LT000238 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.LT000238')"
prop=
"oftp.rel.relref"
>
<c-input
v-model=
"model.oftp.rel.relref"
maxlength=
"20"
:placeholder=
"$t('other.please_enter')+$t('dotrep.LT000238')"
></c-input>
</c-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRelSer"
>
{{$t('dotrep.BT000034')}}
</c-button>
</c-col>
<c-col
:span=
"12"
>
<c-button
size=
"small"
type=
"primary"
@
click=
"onRelRes"
>
{{$t('dotrep.BT000076')}}
</c-button>
</c-col>
<c-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.oftgrp.dotrel.lst"
style=
"width: 100%"
>
<el-table-column
prop=
"mty"
label=
"报文种类"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"rsptim"
label=
"收发时间"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"sweflg"
label=
"G渠道"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"typ"
label=
"记账类型"
sortable
width=
"120"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
kpatyp
.
find
(
item
=>
item
.
value
==
scope
.
row
.
typ
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"dcflg"
label=
"收支"
sortable
width=
"120"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
dcflg
.
find
(
item
=>
item
.
value
==
scope
.
row
.
dcflg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"amt"
label=
"金额"
sortable
width=
"140"
>
</el-table-column>
<el-table-column
prop=
"cur"
label=
"币种"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
"关联状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
sta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
sta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"area"
label=
"处理状态"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
allmsgcod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
area
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"valdat"
label=
"起息日"
sortable
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"ownref"
label=
"20域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"othref"
label=
"21域编号"
sortable
width=
"125"
>
</el-table-column>
<el-table-column
prop=
"multimsg"
label=
"目标渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
multimsg
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"chk"
label=
"源渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
chk
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"kpatyp"
label=
"下一渠道"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
chncod
.
find
(
item
=>
item
.
value
==
scope
.
row
.
kpatyp
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"sedbak"
label=
"发报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"revbak"
label=
"收报行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"actbic"
label=
"账户行BIC"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"offsta"
label=
"勾销标识"
sortable
width=
"80"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
offsta
.
find
(
item
=>
item
.
value
==
scope
.
row
.
offsta
).
label
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"lstdat"
label=
"最后处理时间"
sortable
width=
"200"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"1"
>
</el-pagination>
</div>
</c-col>
<!-- LT000121 : 起始日期 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.起始日期')"
prop=
"oftp.rel.rsptims"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptims"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000226 : : -->
<!-- LT000122 : 截止日期 -->
<!-- LT000231 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.截止日期')"
prop=
"oftp.rel.rsptime"
>
<c-date-picker
type=
"date"
v-model=
"model.oftp.rel.rsptime"
style=
"width:100%"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000225 : 报文标准 -->
<!-- LT000232 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.报文标准')"
prop=
"oftp.rel.msgtyp"
>
<c-select
v-model=
"model.oftp.rel.msgtyp"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000120 : 报文类型 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.报文类型')"
prop=
"oftp.rel.mty"
>
<c-select
v-model=
"model.oftp.rel.mty"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000233 : : -->
<!-- LT000124 : 发报行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.发报行BIC')"
prop=
"oftp.rel.sedbak"
>
<c-input
v-model=
"model.oftp.rel.sedbak"
maxlength=
"11"
></c-input>
</c-form-item>
</c-col>
<!-- LT000234 : : -->
<!-- LT000123 : 收报行BIC -->
<!-- LT000235 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.收报行BIC')"
prop=
"oftp.rel.revbak"
>
<c-input
v-model=
"model.oftp.rel.revbak"
maxlength=
"11"
></c-input>
</c-form-item>
</c-col>
<!-- LT000125 : 账户行BIC -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.账户行BIC')"
prop=
"oftp.rel.actbic"
>
<c-input
v-model=
"model.oftp.rel.actbic"
maxlength=
"11"
></c-input>
</c-form-item>
</c-col>
<!-- LT000227 : : -->
<!-- LT000044 : 借 贷 -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.借贷')"
prop=
"oftp.rel.dcflg"
>
<c-select
v-model=
"model.oftp.rel.dcflg"
style=
"width:100%"
>
<el-option
v-for=
"item in codes.dcflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000228 : : -->
<!-- LT000223 : 币 种 -->
<!-- LT000229 : : -->
<c-col
:span=
"12"
>
<el-form-item
:label=
"$t('dotrep.币种')"
prop=
"oftp.rel.cur"
>
<c-select
v-model=
"model.oftp.rel.cur"
style=
"width:100%"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000056 : 金额下限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.金额下限')"
prop=
"oftp.rel.amtd"
>
<c-input
v-model=
"model.oftp.rel.amtd"
></c-input>
</c-form-item>
</c-col>
<!-- LT000230 : : -->
<!-- LT000055 : 金额上限 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.金额上限')"
prop=
"oftp.rel.amtu"
>
<c-input
v-model=
"model.oftp.rel.amtu"
></c-input>
</c-form-item>
</c-col>
<!-- LT000236 : : -->
<!-- LT000007 : 20域编号 -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.20域编号')"
prop=
"oftp.rel.ref"
>
<c-input
v-model=
"model.oftp.rel.ref"
maxlength=
"20"
></c-input>
</c-form-item>
</c-col>
<!-- LT000237 : : -->
<!-- LT000027 : 21域编号 -->
<!-- LT000238 : : -->
<c-col
:span=
"12"
>
<c-form-item
:label=
"$t('dotrep.21域编号')"
prop=
"oftp.rel.relref"
>
<c-input
v-model=
"model.oftp.rel.relref"
maxlength=
"20"
></c-input>
</c-form-item>
</c-col>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
commonProcess
from
"~/mixin/commonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"../model/Event"
import
Event
from
"../event"
export
default
{
inject
:
[
'root'
],
props
:[
"model"
,
"codes"
],
mixins
:
[
commonProcess
],
data
(){
return
{
}
},
methods
:{...
Event
},
created
:
function
(){
inject
:
[
'root'
],
props
:
[
"model"
,
"codes"
],
mixins
:
[],
data
()
{
return
{
}
},
methods
:
{
...
Event
},
created
:
function
()
{
}
}
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/page/Frontend/Oftsel/views/index.vue
View file @
25cd9e4a
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--oftp PD001804 已关联报文查询面板 -->
<el-tab-pane
:label=
"$t('oftp.PD001804')"
name=
"oftp01"
>
<m-oftp01
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-page
title=
"已关联报文查询"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"150px"
label-position=
"right"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"myTabClick"
>
<!--oftp PD001804 已关联报文查询面板 -->
<el-tab-pane
:label=
"$t('oftp.已关联报文查询面板')"
name=
"oftp01"
>
<m-oftp01
:model=
"model"
:codes=
"codes"
/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
:handleSubmit=
"handleSubmit"
@
handleSureWarning=
"handleSureWarning"
ref=
"commonBtn"
></c-function-btn>
</c-page>
</div>
</
template
>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
import
Oftsel
from
"../model"
import
commonProcess
from
"~/mixin/commonProcess"
import
Check
from
"../model/Check"
import
Default
from
"../model/Default"
import
Pattern
from
"../model/Pattern"
import
Check
from
"../model/check"
import
Oftp01
from
"./Oftp01"
import
operationFunc
from
"~/mixin/operationFunc"
;
import
commonDepend
from
"~/mixin/commonDepend"
;
import
event
from
"../event"
;
import
buildFn
from
"../event/buildCommons.js"
;
export
default
{
name
:
"Oftsel"
,
components
:{
"m-oftp01"
:
Oftp01
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
commonProcess
],
// 里面包含了Default、Check等的公共处理
data
(){
return
{
tabVal
:
"oftp01"
,
trnName
:
"oftsel"
,
trnType
:
""
,
model
:
new
Oftsel
().
data
,
checkRules
:
Check
,
defaultRules
:
Default
,
pattern
:
Pattern
,
rules
:
null
,
codes
:
{
kpatyp
:
CodeTable
.
kpatyp
,
cur
:
CodeTable
.
cur
,
sdcflg
:
CodeTable
.
sdcflg
,
gpicod
:
CodeTable
.
gpicod
,
offtyp
:
CodeTable
.
offtyp
,
fmssta
:
CodeTable
.
fmssta
,
clrsys
:
CodeTable
.
clrsys
,
stacod
:
CodeTable
.
stacod
,
dottyp
:
CodeTable
.
dottyp
,
recsta
:
CodeTable
.
recsta
,
bnksta
:
CodeTable
.
bnksta
,
gpista
:
CodeTable
.
gpista
,
kpadir
:
CodeTable
.
kpadir
,
area
:
CodeTable
.
area
,
cpsfxdtyp
:
CodeTable
.
cpsfxdtyp
,
rspsta
:
CodeTable
.
rspsta
,
sta
:
CodeTable
.
sta
,
actsta
:
CodeTable
.
actsta
,
offsta
:
CodeTable
.
offsta
,
batcharge
:
CodeTable
.
batcharge
,
msgmst
:
CodeTable
.
msgmst
,
yosflg
:
CodeTable
.
yosflg
,
filtyp
:
CodeTable
.
filtyp
,
dircod
:
CodeTable
.
dircod
,
kpstyp
:
CodeTable
.
kpstyp
,
allmsgcod
:
CodeTable
.
allmsgcod
,
dcflg
:
CodeTable
.
dcflg
,
msgtyp
:
CodeTable
.
msgtyp
,
chncod
:
CodeTable
.
chncod
,
msgsta
:
CodeTable
.
msgsta
,
usratr
:
CodeTable
.
usratr
,
msgchksta
:
CodeTable
.
msgchksta
,
setmth
:
CodeTable
.
setmth
,
chniptcod
:
CodeTable
.
chniptcod
,
dtlchg
:
CodeTable
.
dtlchg
,
},
}
},
methods
:{
myTabClick
(
tab
){
this
.
tabClick
(
tab
)
/**
* do it yourself
**/
}
},
created
:
async
function
(){
console
.
log
(
"进入oftsel交易"
);
let
rtnmsg
=
{};
// await this.init({})
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
)
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
name
:
"Oftsel"
,
components
:
{
"m-oftp01"
:
Oftp01
,
},
provide
()
{
return
{
root
:
this
}
},
mixins
:
[
operationFunc
,
commonDepend
,
event
,
buildFn
],
data
()
{
return
{
tabVal
:
"oftp01"
,
trnName
:
"oftsel"
,
trnType
:
""
,
model
:
new
Oftsel
().
data
,
rules
:
Check
,
codes
:
{
kpatyp
:
CodeTable
.
kpatyp
,
cur
:
CodeTable
.
cur
,
sdcflg
:
CodeTable
.
sdcflg
,
gpicod
:
CodeTable
.
gpicod
,
offtyp
:
CodeTable
.
offtyp
,
fmssta
:
CodeTable
.
fmssta
,
clrsys
:
CodeTable
.
clrsys
,
stacod
:
CodeTable
.
stacod
,
dottyp
:
CodeTable
.
dottyp
,
recsta
:
CodeTable
.
recsta
,
bnksta
:
CodeTable
.
bnksta
,
gpista
:
CodeTable
.
gpista
,
kpadir
:
CodeTable
.
kpadir
,
area
:
CodeTable
.
area
,
cpsfxdtyp
:
CodeTable
.
cpsfxdtyp
,
rspsta
:
CodeTable
.
rspsta
,
sta
:
CodeTable
.
sta
,
actsta
:
CodeTable
.
actsta
,
offsta
:
CodeTable
.
offsta
,
batcharge
:
CodeTable
.
batcharge
,
msgmst
:
CodeTable
.
msgmst
,
yosflg
:
CodeTable
.
yosflg
,
filtyp
:
CodeTable
.
filtyp
,
dircod
:
CodeTable
.
dircod
,
kpstyp
:
CodeTable
.
kpstyp
,
allmsgcod
:
CodeTable
.
allmsgcod
,
dcflg
:
CodeTable
.
dcflg
,
msgtyp
:
CodeTable
.
msgtyp
,
chncod
:
CodeTable
.
chncod
,
msgsta
:
CodeTable
.
msgsta
,
usratr
:
CodeTable
.
usratr
,
msgchksta
:
CodeTable
.
msgchksta
,
setmth
:
CodeTable
.
setmth
,
chniptcod
:
CodeTable
.
chniptcod
,
dtlchg
:
CodeTable
.
dtlchg
,
},
}
},
methods
:
{
myTabClick
(
tab
)
{
this
.
tabClick
(
tab
)
}
},
created
:
async
function
()
{
console
.
log
(
"进入oftsel交易"
);
let
params
=
{
transName
:
this
.
trnName
,
fxdgrp
:
{
rec
:
{
inr
:
this
.
$route
.
query
.
inr
||
""
,
},
},
};
this
.
init
(
params
)
}
}
</
script
>
<
style
>
</
style
>
<
style
></
style
>
src/page/Funds/Fxtssb/views/index.vue
View file @
25cd9e4a
...
...
@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc";
import
commonDepend
from
"~/mixin/commonDepend"
;
import
event
from
"../event"
;
import
buildFn
from
"../event/buildCommons.js"
;
import
Check
from
"../model/
C
heck.js"
;
import
Check
from
"../model/
c
heck.js"
;
export
default
{
name
:
"Fxtssb"
,
components
:
{
...
...
src/page/Funds/Fxtsss/views/index.vue
View file @
25cd9e4a
...
...
@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views";
import
operationFunc
from
"~/mixin/operationFunc"
;
import
commonDepend
from
"~/mixin/commonDepend"
;
import
event
from
"../event"
;
import
Check
from
"../model/
C
heck.js"
;
import
Check
from
"../model/
c
heck.js"
;
import
buildFn
from
"../event/buildCommons.js"
;
export
default
{
name
:
"Fxtsss"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment