Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
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
zhouqian
vue-gjjs
Commits
2d904106
Commit
2d904106
authored
Jul 13, 2020
by
liuyunfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交trnrel交易
parent
9fd7e00c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
932 additions
and
616 deletions
+932
-616
BusRouter.js
src/views/Business/BusRouter.js
+3
-0
index.vue
src/views/Business/Trnrel/Trndtl/index.vue
+594
-0
index.vue
src/views/Business/Trnrel/index.vue
+331
-616
SideMenu.vue
src/views/Layout/SideMenu.vue
+4
-0
No files found.
src/views/Business/BusRouter.js
View file @
2d904106
...
...
@@ -5,6 +5,7 @@ import Office from "./Office"
import
Sptsel
from
"./Sptsel"
import
Trnrel
from
"./Trnrel"
import
Tstopn
from
"./Tstopn"
import
Trndtl
from
"./Trnrel/Trndtl"
const
BusRouter
=
[
{
path
:
'cptopn'
,
component
:
Cptopn
},
...
...
@@ -13,6 +14,7 @@ const BusRouter = [
{
path
:
'office'
,
component
:
Office
},
{
path
:
'sptsel'
,
component
:
Sptsel
},
{
path
:
'trnrel'
,
component
:
Trnrel
},
{
path
:
'trndtl'
,
query
:
'inr'
,
component
:
Trndtl
},
{
path
:
'tstopn'
,
component
:
Tstopn
},
]
export
default
BusRouter
\ No newline at end of file
src/views/Business/Trnrel/Trndtl/index.vue
0 → 100644
View file @
2d904106
<
template
>
<div
class=
"eContainer"
style=
"height:100%"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
>
<el-col
:span=
"2"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onDsp"
>
明细
</el-button>
</el-col>
<el-col
:span=
"2"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRelrow"
>
复核
</el-button>
</el-col>
<el-col
:span=
"2"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onReprow"
>
退回更正
</el-button>
</el-col>
<el-col
:span=
"18"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onExi"
>
退出
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"业务参考号"
>
<el-input
v-model=
"model.trn.ownref"
maxlength=
"16"
placeholder=
"请输入业务参考号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"索引"
>
<el-input
v-model=
"model.trn.inr"
maxlength=
"8"
placeholder=
"请输入索引"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易描述"
>
<el-input
v-model=
"model.trn.objnam"
maxlength=
"40"
placeholder=
"请输入交易描述"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanDet"
>
明细
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易编码"
>
<el-input
v-model=
"model.trn.inifrm"
maxlength=
"6"
placeholder=
"请输入交易编码"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"业务币种金额"
>
<el-select
v-model=
"model.trn.reloricur"
style=
"width:100%"
placeholder=
"请选择业务币种金额"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"换算金额"
>
<el-input
v-model=
"model.trn.reloriamt"
placeholder=
"请输入换算金额"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易状态"
>
<el-select
v-model=
"model.trn.relflg"
style=
"width:100%"
placeholder=
"请选择交易状态"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"经办柜员"
>
<el-input
v-model=
"model.trn.usr"
maxlength=
"8"
placeholder=
"请输入经办柜员"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"用户组"
>
<el-input
v-model=
"model.trn.usg"
maxlength=
"6"
placeholder=
"请输入用户组"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButshw"
>
面函展示
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"前手流水号"
>
<el-input
v-model=
"model.trn.cortrninr"
maxlength=
"8"
placeholder=
"请输入前手流水号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"执行日期"
>
<el-date-picker
type=
"date"
v-model=
"model.trn.exedat"
style=
"width:100%"
placeholder=
"请选择执行日期"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"提交柜员"
>
<el-input
v-model=
"model.recpan.cretrs.usr"
maxlength=
"8"
placeholder=
"请输入提交柜员"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"提交时间"
>
<el-input
v-model=
"model.recpan.cretrs.dattim"
placeholder=
"请输入提交时间"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanInc"
>
来报
</el-button>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.smhlst"
style=
"width: 100%"
>
<el-table-column
prop=
"cortyp"
label=
"传送方式"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"extkey"
label=
"面函/报文"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"nam"
label=
"面函/报文名称"
sortable
width=
"200"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_smhlst.total"
>
</el-pagination>
</div>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanIncall"
>
Show all inc
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButord"
>
订单信息
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButspt"
>
Pending item
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"意见"
>
<el-input
type=
"textarea"
v-model=
"model.trn.inftxt"
maxlength=
"65"
show-word-limit
placeholder=
"请输入意见"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.trslst"
style=
"width: 100%"
>
<el-table-column
prop=
"sigidx"
label=
"签名顺序"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"usr"
label=
"柜员"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"dattim"
label=
"日期/时间"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"flg"
label=
"操作"
sortable
width=
"100"
>
<template
slot-scope=
"scope"
>
<span>
{{
findCodeLabel
(
codes
.
oratyp
,
scope
.
row
.
typ
)
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_trslst.total"
>
</el-pagination>
</div>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"报文信息"
>
<el-input
type=
"textarea"
v-model=
"model.recpan.docinf"
maxlength=
"200"
show-word-limit
placeholder=
"请输入报文信息"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.wfelst"
style=
"width: 100%"
>
<el-table-column
prop=
"srv"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"srvsub"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"sta"
label=
""
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
findCodeLabel
(
codes
.
oratyp
,
scope
.
row
.
typ
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"srvnam"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"rtycnt"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"lev"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
""
sortable
width=
"100"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_wfelst.total"
>
</el-pagination>
</div>
</el-col>
</el-form>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
export
default
{
data
(){
return
{
codes
:{
dsp
:
CodeTable
.
dsp
,
busflg
:
CodeTable
.
busflg
,
actiontype
:
CodeTable
.
actiontype
,
cur
:
CodeTable
.
cur
,
ptytyp
:
CodeTable
.
ptytyp
,
staflg
:
CodeTable
.
staflg
,
paytyp
:
CodeTable
.
paytyp
,
payattr
:
CodeTable
.
payattr
,
balancemode
:
CodeTable
.
balancemode
,
bopcustype
:
CodeTable
.
bopcustype
,
payeeattr
:
CodeTable
.
payeeattr
,
boppaytype
:
CodeTable
.
boppaytype
,
debcdtflg
:
CodeTable
.
debcdtflg
,
acttyp
:
CodeTable
.
acttyp
,
payflg
:
CodeTable
.
payflg
,
sptsta
:
CodeTable
.
sptsta
,
buscod
:
CodeTable
.
buscod
,
datsrc
:
CodeTable
.
datsrc
,
sndselflg
:
CodeTable
.
sndselflg
,
flg
:
CodeTable
.
flg
,
sta
:
CodeTable
.
sta
,
relflg
:
CodeTable
.
relflg
,
payacttyp
:
CodeTable
.
payacttyp
,
curtxt
:
CodeTable
.
curtxt
,
dbfmethod
:
CodeTable
.
dbfmethod
,
bustyp
:
CodeTable
.
bustyp
,
todo
:
CodeTable
.
todo
,
swftyp
:
CodeTable
.
swftyp
,
payeraccttype
:
CodeTable
.
payeraccttype
,
oratyp
:
CodeTable
.
oratyp
,
chato
:
CodeTable
.
chato
,
opertype
:
CodeTable
.
opertype
,
bopyesno
:
CodeTable
.
bopyesno
,
custyp
:
CodeTable
.
custyp
,
selten
:
CodeTable
.
selten
,
dsp2
:
CodeTable
.
dsp2
,
liqtyp
:
CodeTable
.
liqtyp
,
},
model
:{
trncorco
:{
inidatfro
:
""
,
// 查询区间 .trncorco.inidatfro
inidattil
:
""
,
// Date of entry of Transaction until .trncorco.inidattil
ownref
:
""
,
// 业务编号 .trncorco.ownref
relflg
:
""
,
// 复核状态 .trncorco.relflg
iniusr
:
""
,
// Userid entering the Transaction .trncorco.iniusr
},
atp
:{
cod
:
""
,
// Transaction ID .atp.cod
},
atptxt
:
""
,
// 交易名 .atptxt
recpan
:{
trnlst
:[],
// .recpan.trnlst
cretrs
:{
usr
:
""
,
// 提交柜员 .recpan.cretrs.usr
dattim
:
""
,
// 提交时间 .recpan.cretrs.dattim
},
smhlst
:[],
// .recpan.smhlst
trslst
:[],
// .recpan.trslst
wfelst
:[],
// .recpan.wfelst
docinf
:
""
,
// 报文信息 .recpan.docinf
},
trn
:{
ownref
:
""
,
// 业务参考号 .trn.ownref
inr
:
""
,
// 索引 .trn.inr
objnam
:
""
,
// 交易描述 .trn.objnam
reloricur
:
""
,
// 业务币种金额 .trn.reloricur
reloriamt
:
""
,
// 换算金额 .trn.reloriamt
relflg
:
""
,
// 交易状态 .trn.relflg
usr
:
""
,
// 经办柜员 .trn.usr
usg
:
""
,
// 用户组 .trn.usg
cortrninr
:
""
,
// 前手流水号 .trn.cortrninr
exedat
:
""
,
// 执行日期 .trn.exedat
inftxt
:
""
,
// 意见 .trn.inftxt
inifrm
:
""
,
// 交易编码 .trn.inifrm
},
},
pager
:{
"recpan_trnlst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_smhlst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_trslst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_wfelst"
:{
total
:
0
,
curIdx
:
0
},
},
rules
:{
"trncorco.iniusr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trncorco.ownref"
:[{
type
:
"string"
,
required
:
false
,
len
:
16
,
message
:
"输入不合法"
}],
"atp.cod"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"atptxt"
:[{
type
:
"string"
,
required
:
false
,
len
:
37
,
message
:
"输入不合法"
}],
"trncorco.inidatfro"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"trncorco.inidattil"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"trn.ownref"
:[{
type
:
"string"
,
required
:
false
,
len
:
16
,
message
:
"输入不合法"
}],
"trn.inr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.objnam"
:[{
type
:
"string"
,
required
:
false
,
len
:
40
,
message
:
"输入不合法"
}],
"trn.inifrm"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"trn.reloriamt"
:[{
type
:
"number"
,
required
:
false
,
message
:
"输入不合法"
}],
"trn.usr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.usg"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"trn.cortrninr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.exedat"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"recpan.cretrs.usr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"recpan.cretrs.dattim"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.inftxt"
:[{
type
:
"string"
,
required
:
true
,
len
:
65
,
message
:
"输入超长"
}],
"recpan.docinf"
:[{
type
:
"string"
,
required
:
true
,
len
:
200
,
message
:
"输入超长"
}],
}
}
},
methods
:{
onDsp
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/dsp"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRelrow
(){
alert
(
this
.
$route
.
query
.
ownref
);
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onReprow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/reprow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onExi
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/exi"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButshw
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butshw"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanInc
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_inc"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanIncall
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_incall"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButord
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butord"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButspt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butspt"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
},
created
:
async
function
(){
console
.
log
(
"进入trndtl交易"
);
console
.
log
(
"param:"
+
this
.
$route
.
query
.
ownref
);
var
trninr
=
this
.
$route
.
query
.
inr
let
rtnmsg
=
await
Api
.
post
(
"trnrel/init"
,{
params
:{
trninr
}})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
recpan
.
trn
=
rtnmsg
.
data
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
src/views/Business/Trnrel/index.vue
View file @
2d904106
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onSearow"
>
查询
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Userid entering the Transaction"
>
<el-input
v-model=
"model.trncorco.iniusr"
maxlength=
"8"
placeholder=
"请输入Userid entering the Transaction"
></el-input>
<
template
>
<div
class=
"eContainer"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"100px"
size=
"small"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"经办"
>
<el-input
v-model=
"model.trncorco.iniusr"
maxlength=
"8"
placeholder=
""
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"业务编号"
>
<el-input
v-model=
"model.trncorco.ownref"
maxlength=
"16"
placeholder=
"
请输入业务编号
"
></el-input>
<el-input
v-model=
"model.trncorco.ownref"
maxlength=
"16"
placeholder=
""
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onDsp"
>
明细
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"Transaction ID"
>
<el-input
v-model=
"model.atp.cod"
maxlength=
"6"
placeholder=
"请输入Transaction ID"
></el-input>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易码"
>
<el-input
v-model=
"model.atp.cod"
maxlength=
"6"
></el-input>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易名"
>
<el-input
v-model=
"model.atptxt"
maxlength=
"37"
placeholder=
"请输入交易名"
></el-input>
<el-input
v-model=
"model.atptxt"
maxlength=
"37"
></el-input>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12"
>
<el-col
:span=
"
6"
>
<el-form-item
label=
"查询区间"
>
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidatfro"
style=
"width:100%"
placeholder=
"请选择查询区间"
></el-date-picker>
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidatfro"
style=
"width:100%"
></el-date-picker>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12"
>
<el-form-item
label=
"
Date of entry of Transaction until
"
>
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidattil"
style=
"width:100%"
placeholder=
"请选择Date of entry of Transaction until"
></el-date-picker>
<el-col
:span=
"
6"
>
<el-form-item
label=
"
至
"
>
<el-date-picker
type=
"date"
v-model=
"model.trncorco.inidattil"
style=
"width:100%"
></el-date-picker>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"复核状态"
>
<el-select
v-model=
"model.trncorco.relflg"
style=
"width:100%"
placeholder=
"请选择复核状态"
>
<el-select
v-model=
"model.trncorco.relflg"
style=
"width:100%"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
...
...
@@ -66,8 +51,15 @@
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
</el-col>
<el-col
:span=
"24"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onSearow"
>
查询
</el-button>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.trnlst"
...
...
@@ -80,6 +72,13 @@
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"inr"
label=
"索引"
v-if=
"show"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"ownref"
label=
"业务编号"
sortable
...
...
@@ -127,358 +126,74 @@
sortable
width=
"100"
>
<template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
relflg
.
find
(
item
=>
item
.
value
==
scope
.
row
.
relflg
).
label
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_trnlst.total"
>
</el-pagination>
</div>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRelrow"
>
复核
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onReprow"
>
退回更正
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onExi"
>
退出
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"业务参考号"
>
<el-input
v-model=
"model.trn.ownref"
maxlength=
"16"
placeholder=
"请输入业务参考号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"索引"
>
<el-input
v-model=
"model.trn.inr"
maxlength=
"8"
placeholder=
"请输入索引"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易描述"
>
<el-input
v-model=
"model.trn.objnam"
maxlength=
"40"
placeholder=
"请输入交易描述"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanDet"
>
明细
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易编码"
>
<el-input
v-model=
"model.trn.inifrm"
maxlength=
"6"
placeholder=
"请输入交易编码"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"业务币种金额"
>
<el-select
v-model=
"model.trn.reloricur"
style=
"width:100%"
placeholder=
"请选择业务币种金额"
>
<el-option
v-for=
"item in codes.curtxt"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"换算金额"
>
<el-input
v-model=
"model.trn.reloriamt"
placeholder=
"请输入换算金额"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"交易状态"
>
<el-select
v-model=
"model.trn.relflg"
style=
"width:100%"
placeholder=
"请选择交易状态"
>
<el-option
v-for=
"item in codes.relflg"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"经办柜员"
>
<el-input
v-model=
"model.trn.usr"
maxlength=
"8"
placeholder=
"请输入经办柜员"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"用户组"
>
<el-input
v-model=
"model.trn.usg"
maxlength=
"6"
placeholder=
"请输入用户组"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButshw"
>
面函展示
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"前手流水号"
>
<el-input
v-model=
"model.trn.cortrninr"
maxlength=
"8"
placeholder=
"请输入前手流水号"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"执行日期"
>
<el-date-picker
type=
"date"
v-model=
"model.trn.exedat"
style=
"width:100%"
placeholder=
"请选择执行日期"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"提交柜员"
>
<el-input
v-model=
"model.recpan.cretrs.usr"
maxlength=
"8"
placeholder=
"请输入提交柜员"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"提交时间"
>
<el-input
v-model=
"model.recpan.cretrs.dattim"
placeholder=
"请输入提交时间"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanInc"
>
来报
</el-button>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.smhlst"
style=
"width: 100%"
>
<el-table-column
prop=
"cortyp"
label=
"传送方式"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"extkey"
label=
"面函/报文"
sortable
width=
"120"
>
</el-table-column>
<el-table-column
prop=
"nam"
label=
"面函/报文名称"
sortable
width=
"200"
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_smhlst.total"
>
</el-pagination>
</div>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanIncall"
>
Show all inc
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButord"
>
订单信息
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"onRecpanButspt"
>
Pending item
</el-button>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"意见"
>
<el-input
type=
"textarea"
v-model=
"model.trn.inftxt"
maxlength=
"65"
show-word-limit
placeholder=
"请输入意见"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.trslst"
style=
"width: 100%"
>
<el-table-column
prop=
"sigidx"
label=
"签名顺序"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"usr"
label=
"柜员"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"dattim"
label=
"日期/时间"
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"flg"
label=
"操作"
sortable
width=
"100"
>
<
template
slot-scope=
"scope"
>
<span>
{{
this
.
codes
.
flg
.
find
(
item
=>
item
.
value
==
scope
.
row
.
flg
).
label
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_trslst.total"
>
</el-pagination>
</div>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"报文信息"
>
<el-input
type=
"textarea"
v-model=
"model.recpan.docinf"
maxlength=
"200"
show-word-limit
placeholder=
"请输入报文信息"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<div
class=
"e-table-wrapper"
>
<el-table
:data=
"model.recpan.wfelst"
style=
"width: 100%"
>
<el-table-column
prop=
"srv"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"srvsub"
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>
<span>
{{
findCodeLabel
(
codes
.
oratyp
,
scope
.
row
.
relflg
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"srvnam"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"rtycnt"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"lev"
label=
""
sortable
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"txt"
label=
""
sortable
width=
"100"
>
<el-table-column
label=
"操作"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<!--
<el-button
size=
"small"
type=
"primary"
@
click=
"handleDelete(scope.$index, scope.row)"
>
明细
</el-button>
-->
<router-link
:to=
"
{path: 'trndtl',query:{'inr':scope.row.inr}}">明细
</router-link>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"prev, pager, next"
:total=
"pager.recpan_
wfe
lst.total"
>
:total=
"pager.recpan_
trn
lst.total"
>
</el-pagination>
</div>
</el-col>
</el-form>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
export
default
{
data
(){
return
{
codes
:{
dsp
:
CodeTable
.
dsp
,
busflg
:
CodeTable
.
busflg
,
actiontype
:
CodeTable
.
actiontype
,
cur
:
CodeTable
.
cur
,
ptytyp
:
CodeTable
.
ptytyp
,
staflg
:
CodeTable
.
staflg
,
paytyp
:
CodeTable
.
paytyp
,
payattr
:
CodeTable
.
payattr
,
balancemode
:
CodeTable
.
balancemode
,
bopcustype
:
CodeTable
.
bopcustype
,
payeeattr
:
CodeTable
.
payeeattr
,
boppaytype
:
CodeTable
.
boppaytype
,
debcdtflg
:
CodeTable
.
debcdtflg
,
acttyp
:
CodeTable
.
acttyp
,
payflg
:
CodeTable
.
payflg
,
sptsta
:
CodeTable
.
sptsta
,
buscod
:
CodeTable
.
buscod
,
datsrc
:
CodeTable
.
datsrc
,
sndselflg
:
CodeTable
.
sndselflg
,
flg
:
CodeTable
.
flg
,
sta
:
CodeTable
.
sta
,
relflg
:
CodeTable
.
relflg
,
payacttyp
:
CodeTable
.
payacttyp
,
curtxt
:
CodeTable
.
curtxt
,
dbfmethod
:
CodeTable
.
dbfmethod
,
bustyp
:
CodeTable
.
bustyp
,
todo
:
CodeTable
.
todo
,
swftyp
:
CodeTable
.
swftyp
,
payeraccttype
:
CodeTable
.
payeraccttype
,
oratyp
:
CodeTable
.
oratyp
,
chato
:
CodeTable
.
chato
,
opertype
:
CodeTable
.
opertype
,
bopyesno
:
CodeTable
.
bopyesno
,
custyp
:
CodeTable
.
custyp
,
selten
:
CodeTable
.
selten
,
dsp2
:
CodeTable
.
dsp2
,
liqtyp
:
CodeTable
.
liqtyp
,
},
</el-col>
</el-form>
</div>
</template>
<
script
>
import
Api
from
"~/service/Api"
import
CodeTable
from
"~/config/CodeTable"
export
default
{
data
(){
return
{
codes
:{
dsp
:
CodeTable
.
dsp
,
busflg
:
CodeTable
.
busflg
,
actiontype
:
CodeTable
.
actiontype
,
cur
:
CodeTable
.
cur
,
ptytyp
:
CodeTable
.
ptytyp
,
staflg
:
CodeTable
.
staflg
,
paytyp
:
CodeTable
.
paytyp
,
payattr
:
CodeTable
.
payattr
,
balancemode
:
CodeTable
.
balancemode
,
bopcustype
:
CodeTable
.
bopcustype
,
payeeattr
:
CodeTable
.
payeeattr
,
boppaytype
:
CodeTable
.
boppaytype
,
debcdtflg
:
CodeTable
.
debcdtflg
,
acttyp
:
CodeTable
.
acttyp
,
payflg
:
CodeTable
.
payflg
,
sptsta
:
CodeTable
.
sptsta
,
buscod
:
CodeTable
.
buscod
,
datsrc
:
CodeTable
.
datsrc
,
sndselflg
:
CodeTable
.
sndselflg
,
flg
:
CodeTable
.
flg
,
sta
:
CodeTable
.
sta
,
relflg
:
CodeTable
.
relflg
,
payacttyp
:
CodeTable
.
payacttyp
,
curtxt
:
CodeTable
.
curtxt
,
dbfmethod
:
CodeTable
.
dbfmethod
,
bustyp
:
CodeTable
.
bustyp
,
todo
:
CodeTable
.
todo
,
swftyp
:
CodeTable
.
swftyp
,
payeraccttype
:
CodeTable
.
payeraccttype
,
oratyp
:
CodeTable
.
oratyp
,
chato
:
CodeTable
.
chato
,
opertype
:
CodeTable
.
opertype
,
bopyesno
:
CodeTable
.
bopyesno
,
custyp
:
CodeTable
.
custyp
,
selten
:
CodeTable
.
selten
,
dsp2
:
CodeTable
.
dsp2
,
liqtyp
:
CodeTable
.
liqtyp
,
},
model
:{
trncorco
:{
inidatfro
:
""
,
// 查询区间 .trncorco.inidatfro
...
...
@@ -516,229 +231,229 @@ export default {
inftxt
:
""
,
// 意见 .trn.inftxt
inifrm
:
""
,
// 交易编码 .trn.inifrm
},
},
pager
:{
"recpan_trnlst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_smhlst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_trslst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_wfelst"
:{
total
:
0
,
curIdx
:
0
},
},
rules
:{
"trncorco.iniusr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trncorco.ownref"
:[{
type
:
"string"
,
required
:
false
,
len
:
16
,
message
:
"输入不合法"
}],
"atp.cod"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"atptxt"
:[{
type
:
"string"
,
required
:
false
,
len
:
37
,
message
:
"输入不合法"
}],
"trncorco.inidatfro"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"trncorco.inidattil"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"trn.ownref"
:[{
type
:
"string"
,
required
:
false
,
len
:
16
,
message
:
"输入不合法"
}],
"trn.inr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.objnam"
:[{
type
:
"string"
,
required
:
false
,
len
:
40
,
message
:
"输入不合法"
}],
"trn.inifrm"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"trn.reloriamt"
:[{
type
:
"number"
,
required
:
false
,
message
:
"输入不合法"
}],
"trn.usr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.usg"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"trn.cortrninr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.exedat"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"recpan.cretrs.usr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"recpan.cretrs.dattim"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.inftxt"
:[{
type
:
"string"
,
required
:
true
,
len
:
65
,
message
:
"输入超长"
}],
"recpan.docinf"
:[{
type
:
"string"
,
required
:
true
,
len
:
200
,
message
:
"输入超长"
}],
}
}
},
methods
:{
onSearow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onDsp
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/dsp"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRelrow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onReprow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/reprow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onExi
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/exi"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButshw
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butshw"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanInc
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_inc"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanIncall
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_incall"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButord
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butord"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButspt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butspt"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
},
created
:
async
function
(){
console
.
log
(
"进入trnrel交易"
);
let
rtnmsg
=
await
Api
.
post
(
"trnrel/init"
,{
params
:{}})
if
(
rtnmsg
.
retcod
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
</
style
>
},
pager
:{
"recpan_trnlst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_smhlst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_trslst"
:{
total
:
0
,
curIdx
:
0
},
"recpan_wfelst"
:{
total
:
0
,
curIdx
:
0
},
},
rules
:{
"trncorco.iniusr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trncorco.ownref"
:[{
type
:
"string"
,
required
:
false
,
len
:
16
,
message
:
"输入不合法"
}],
"atp.cod"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"atptxt"
:[{
type
:
"string"
,
required
:
false
,
len
:
37
,
message
:
"输入不合法"
}],
"trncorco.inidatfro"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"trncorco.inidattil"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"trn.ownref"
:[{
type
:
"string"
,
required
:
false
,
len
:
16
,
message
:
"输入不合法"
}],
"trn.inr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.objnam"
:[{
type
:
"string"
,
required
:
false
,
len
:
40
,
message
:
"输入不合法"
}],
"trn.inifrm"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"trn.reloriamt"
:[{
type
:
"number"
,
required
:
false
,
message
:
"输入不合法"
}],
"trn.usr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.usg"
:[{
type
:
"string"
,
required
:
false
,
len
:
6
,
message
:
"输入不合法"
}],
"trn.cortrninr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.exedat"
:[{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}],
"recpan.cretrs.usr"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"recpan.cretrs.dattim"
:[{
type
:
"string"
,
required
:
false
,
len
:
8
,
message
:
"输入不合法"
}],
"trn.inftxt"
:[{
type
:
"string"
,
required
:
true
,
len
:
65
,
message
:
"输入超长"
}],
"recpan.docinf"
:[{
type
:
"string"
,
required
:
true
,
len
:
200
,
message
:
"输入超长"
}],
}
}
},
methods
:{
onSearow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/searow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
this
.
model
.
recpan
.
trnlst
=
rtnmsg
.
data
.
recpan_trnlst
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onDsp
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/dsp"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRelrow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/relrow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onReprow
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/reprow"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onExi
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/exi"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanDet
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_det"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButshw
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butshw"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanInc
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_inc"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanIncall
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_incall"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButord
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butord"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
onRecpanButspt
(){
this
.
$refs
.
modelForm
.
validate
(
async
valid
=>
{
if
(
!
valid
)
return
;
let
rtnmsg
=
await
Api
.
post
(
"trnrel/recpan_butspt"
,{
data
:
this
.
model
})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
},
created
:
async
function
(){
console
.
log
(
"进入trnrel交易"
);
let
rtnmsg
=
await
Api
.
post
(
"trnrel/init"
,{
params
:{}})
if
(
rtnmsg
.
code
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
}
}
</
script
>
<
style
>
</
style
>
src/views/Layout/SideMenu.vue
View file @
2d904106
...
...
@@ -25,6 +25,10 @@
<i
class=
"el-icon-document"
></i>
<span
slot=
"title"
>
待办任务
</span>
</el-menu-item>
<el-menu-item
index=
"/business/trnrel"
>
<i
class=
"el-icon-document"
></i>
<span
slot=
"title"
>
复核任务
</span>
</el-menu-item>
<el-submenu
index=
"1"
>
<template
slot=
"title"
>
...
...
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