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
2b8a6d08
Commit
2b8a6d08
authored
Jan 11, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待复核已完成详情页修改
parent
b5c0d7fa
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
220 additions
and
121 deletions
+220
-121
Event.js
src/model/Trnrel/Event.js
+17
-3
BusRouter.js
src/views/Business/BusRouter.js
+0
-1
Inftrnps.vue
src/views/Business/Trnrel/Inftrnps.vue
+2
-3
InftrnpsDetail.vue
src/views/Business/Trnrel/InftrnpsDetail.vue
+19
-16
Inftrnps.vue
src/views/Business/Trnrel/Trnfnd/Inftrnps.vue
+2
-3
TrnfndsDetail.vue
src/views/Business/Trnrel/Trnfnd/TrnfndsDetail.vue
+180
-95
No files found.
src/model/Trnrel/Event.js
View file @
2b8a6d08
...
...
@@ -99,13 +99,27 @@ export default {
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{
trn
:
row
[
'INR'
],
operateId
:
operateId
}
});
},
async
onDetail
(
idx
,
row
)
{
async
onWaitDetail
(
idx
,
row
)
{
let
viewurl
=
"business/inftrnpsDetail"
;
const
selIds
=
[
idx
+
1
];
const
selDst
=
"trncorco.trnstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
,
selIds
};
this
.
executeRule
(
"dsp"
,
params
).
then
((
res
)
=>
{
this
.
executeRule
(
"dsp,reldsp"
,
params
).
then
((
res
)
=>
{
if
((
res
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
sessionStorage
.
setItem
(
'InftrnpsDetail'
,
JSON
.
stringify
(
this
.
model
));
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{}
});
}
});
},
async
onFinishDetail
(
idx
,
row
)
{
let
viewurl
=
"business/trnfndsDetail"
;
const
selIds
=
[
idx
+
1
];
const
selDst
=
"trncorco.trnstm"
//列表对应后台模型中的stream
let
params
=
{
selDst
,
selIds
};
this
.
executeRule
(
"dsp,reldsp"
,
params
).
then
((
res
)
=>
{
if
((
res
.
respCode
=
SUCCESS
))
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
sessionStorage
.
setItem
(
'InftrnpsDetail'
,
JSON
.
stringify
(
this
.
model
));
...
...
src/views/Business/BusRouter.js
View file @
2b8a6d08
...
...
@@ -103,7 +103,6 @@ import Sptpopup from "./Sptsel/Sptpopup"
* 带有name的才会被添加进顶部的标签页里
*/
const
BusRouter
=
[
{
path
:
'inftrnpsDetail'
,
component
:
InftrnpsDetail
,
name
:
'InftrnpsDetail'
,
meta
:
{
title
:
'详情'
}
},
{
path
:
'sptpopup'
,
component
:
Sptpopup
,
name
:
'Sptpopup'
,
meta
:
{
title
:
'详情'
}
},
{
path
:
'trnfndsDetail'
,
component
:
TrnfndsDetail
,
name
:
'TrnfndsDetail'
,
meta
:
{
title
:
'已完成详情'
}
},
{
path
:
'inftrnpsDetail'
,
component
:
InftrnpsDetail
,
name
:
'InftrnpsDetail'
,
meta
:
{
title
:
'待复核详情'
}
},
...
...
src/views/Business/Trnrel/Inftrnps.vue
View file @
2b8a6d08
...
...
@@ -401,7 +401,7 @@
fixed=
"right"
prop=
"display"
label=
"操作"
width=
"
140px
"
width=
"
auto
"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
...
...
@@ -424,8 +424,7 @@
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onDetail(scope.$index,scope.row)"
@
click=
"onWaitDetail(scope.$index,scope.row)"
>
详情
</c-button>
...
...
src/views/Business/Trnrel/InftrnpsDetail.vue
View file @
2b8a6d08
...
...
@@ -27,7 +27,6 @@
<c-content>
<!-- -------------------基础信息------------------- -->
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"Reference"
>
...
...
@@ -213,12 +212,13 @@
</c-col>
<c-col
:span=
"12"
>
<el-form-item>
<span
style=
"text-align:center;display:block;"
v-text=
"model.recpan.cpltxt"
data-path=
".recpan.cpltxt"
>
</span>
<el-form-item
label-width=
"40%"
label=
"Completion text"
>
<c-input
style=
"font-weight:bold"
v-model=
"model.recpan.cpltxt"
disabled
placeholder=
"请输入Based on Ident No."
></c-input>
<!--
<span
style=
"text-align:center;display:block;"
v-text=
"model.recpan.cpltxt"
data-path=
".recpan.cpltxt"
>
</span>
-->
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px;margin-bottom:10px"
>
<el-divider></el-divider>
</c-col>
-->
...
...
@@ -254,13 +254,16 @@
Pending Item
</c-button>
</c-col>
-->
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px
"
>
<
el-divider></el-divider
>
<c-col
:span=
"23"
>
<div
style=
"border-bottom: 10px solid rgb(232, 232, 232);
"
>
<
/div
>
</c-col>
<!--
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px"
>
<el-divider></el-divider>
</c-col>
-->
<!-- -------------------document------------------- -->
<c-col
:span=
"23"
style=
"height:14px;"
>
<c-col
:span=
"23"
style=
"height:14px;
margin-top:5px
"
>
<el-form-item
class=
"formItemLabel"
label=
"Documents:"
>
</el-form-item>
</c-col>
...
...
@@ -448,15 +451,15 @@
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"23"
>
<c-col
:span=
"23"
>
<c-col
:span=
"24"
>
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:paginationShow=
"false"
style=
"width:100%"
>
<el-table-column
<
!-- <
el-table-column
fixed="right"
prop="display"
label="操作"
width=
"
auto
"
width="
150px
"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
...
...
@@ -480,10 +483,10 @@
处理
</c-button>
</template>
</el-table-column>
</el-table-column>
-->
</c-istream-table>
</c-col>
</c-col>
</c-col>
</c-content>
</el-form>
...
...
@@ -519,7 +522,7 @@ export default {
columns
:
[
'1 2:1 "User" 200'
,
'2 3:1 "Date / Time" 200'
,
'3 5:1 "Action"
2
00'
,
'3 5:1 "Action"
4
00'
,
'4 1:1 "Type" 200'
],
data
:
[],
...
...
@@ -531,8 +534,8 @@ export default {
'3 3 "Status" 80 1 0:0 1 WFE:STA'
,
'4 4 "Last Update" 102'
,
'5 5 "Retries" 100 1 0:1'
,
'6 6 "Text"
3
00'
,
'7 7 "Contrary Text"
2
00'
,
'6 6 "Text"
5
00'
,
'7 7 "Contrary Text"
5
00'
,
'8 8 "Target Time" 200'
],
data
:
[],
...
...
src/views/Business/Trnrel/Trnfnd/Inftrnps.vue
View file @
2b8a6d08
...
...
@@ -390,7 +390,7 @@
fixed=
"right"
prop=
"display"
label=
"操作"
width=
"
140px
"
width=
"
auto
"
>
<
template
slot=
"header"
>
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
...
...
@@ -400,8 +400,7 @@
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onDetail(scope.$index,scope.row)"
@
click=
"onFinishDetail(scope.$index,scope.row)"
>
详情
</c-button>
...
...
src/views/Business/Trnrel/Trnfnd/TrnfndsDetail.vue
View file @
2b8a6d08
...
...
@@ -2,11 +2,14 @@
<c-page
title=
""
>
<div
class=
"eContainer"
>
<div
class=
"eibs-tab"
>
<c-function-btn
:hideFuncBtn=
"true"
:handleStash=
"true"
>
<el-button
size=
"small"
>
交易快照
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
</c-function-btn>
<c-col
:span=
"23"
>
<div
style=
"float:right;margin-bottom:10px"
>
<el-button
size=
"small"
>
交易快照
</el-button>
<el-button
size=
"small"
>
智能提示
</el-button>
<el-button
size=
"small"
@
click=
"exit"
>
退出
</el-button>
</div>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Drag Drop Sender"
>
<c-input
v-model=
"model.recpan.recget.sdamod.dadsnd"
placeholder=
"请输入Drag Drop Sender"
></c-input>
...
...
@@ -19,8 +22,11 @@
:validate-on-rule-change=
"false"
label-width=
"150px"
size=
"small"
style=
"margin-left:15px"
>
<c-content>
<!-- -------------------基础信息------------------- -->
<c-col
:span=
"23"
>
<c-col
:span=
"8"
>
<el-form-item
label=
"Reference"
>
...
...
@@ -28,10 +34,14 @@
</el-form-item>
</c-col>
<c-col
:span=
"1"
>
<c-button
size=
"small"
type=
"primary"
>
i
<c-button
style=
"margin:0 10px 0 10px;padding: 0 12px;"
size=
"small"
type=
"primary"
>
<span
style=
"font-size:15px;font-family:'宋体';font-weight:bold"
>
i
</span>
</c-button>
</c-col>
</c-col>
<!--
<c-col
:span=
"12"
>
<el-form-item
label=
"Reference"
>
<c-input
v-model=
"model.recpan.con"
placeholder=
"请输入Reference"
></c-input>
...
...
@@ -55,12 +65,16 @@
</c-col>
<c-col
:span=
"1"
>
<c-button
size=
"small"
type=
"primary"
>
i
<c-button
style=
"margin:0 10px 0 10px;padding: 0 12px;"
size=
"small"
type=
"primary"
>
<span
style=
"font-size:15px;font-family:'宋体';font-weight:bold"
>
i
</span>
</c-button>
</c-col>
</c-col>
<c-col
:span=
"
6
"
>
<c-col
:span=
"
7
"
>
<c-input
v-model=
"model.trn.objnam"
maxlength=
"40"
placeholder=
"请输入External Readable Object Identification"
></c-input>
</c-col>
</c-col>
...
...
@@ -92,9 +106,17 @@
</c-col>
-->
<c-col
:span=
"1"
>
<c-button
size=
"small"
type=
"primary"
>
i
<c-button
style=
"margin:0 10px 0 10px;padding: 0 12px;"
size=
"small"
type=
"primary"
>
<span
style=
"font-size:15px;font-family:'宋体';font-weight:bold"
>
i
</span>
</c-button>
</c-col>
<c-col
:span=
"1"
>
</c-col>
<c-col
:span=
"14"
>
...
...
@@ -115,7 +137,10 @@
<c-input
v-model=
"model.trn.reloricur"
maxlength=
"3"
placeholder=
"请输入Relevant Amount"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"12"
>
<c-col
:span=
"1"
>
</c-col>
<c-col
:span=
"11"
>
<c-input
v-model=
"model.trn.reloriamt"
placeholder=
"请输入Relevant Amount for Release in Original Currency"
></c-input>
</c-col>
</c-row>
...
...
@@ -187,12 +212,18 @@
</c-col>
<c-col
:span=
"12"
>
<el-form-item>
<span
style=
"text-align:center;display:block;"
v-text=
"model.recpan.cpltxt"
data-path=
".recpan.cpltxt"
>
</span>
<el-form-item
label-width=
"40%"
label=
"Completion text"
>
<c-input
style=
"font-weight:bold"
v-model=
"model.recpan.cpltxt"
disabled
placeholder=
"请输入Based on Ident No."
></c-input>
<!--
<span
style=
"text-align:center;display:block;"
v-text=
"model.recpan.cpltxt"
data-path=
".recpan.cpltxt"
>
</span>
-->
</el-form-item>
</c-col>
</c-col>
<!--
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px;margin-bottom:10px"
>
<el-divider></el-divider>
</c-col>
-->
<!-- -------------------Entered by------------------- -->
<c-col
:span=
"23"
>
<c-col
:span=
"6"
>
<el-form-item
label=
"Entered by"
>
...
...
@@ -223,11 +254,23 @@
Pending Item
</c-button>
</c-col>
-->
<c-col
:span=
"23"
>
<el-form-item
label=
"Documents"
>
<div
style=
"border-bottom: 10px solid rgb(232, 232, 232);"
>
</div>
</c-col>
<!--
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px"
>
<el-divider></el-divider>
</c-col>
-->
<!-- -------------------document------------------- -->
<c-col
:span=
"23"
style=
"height:14px;margin-top:5px"
>
<el-form-item
class=
"formItemLabel"
label=
"Documents:"
>
</el-form-item>
</c-col>
<c-col
:span=
"23"
>
<!--
<c-input
v-model=
"model.recpan.smhstm"
placeholder=
"请输入Documents"
></c-input>
-->
<c-istream-table
:list=
"documentsData.data"
:columns=
"documentsData.columns"
style=
"width:100%"
>
<c-col
:span=
"24"
>
<c-istream-table
:list=
"documentsData.data"
:columns=
"documentsData.columns"
:paginationShow=
"false"
style=
"width:100%"
>
<el-table-column
fixed=
"right"
prop=
"display"
...
...
@@ -238,27 +281,23 @@
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
<c-col
:span=
"12"
style=
"text-align:right"
><c-button
icon=
"el-icon-s-tools"
></c-button></c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onHandle(scope.$index,scope.row)"
>
处理
</c-button>
<
template
>
<c-button
style=
"margin-left: 0"
size=
"small"
>
Show
</c-button>
<c-button
style=
"margin-left: 0"
size=
"small"
>
生成PDF
</c-button>
</
template
>
</el-table-column>
</c-istream-table>
</
el-form-item
>
</
c-col
>
</c-col>
<!-- <c-col :span="12">
...
...
@@ -289,22 +328,49 @@
</c-button>
</c-col> -->
<c-col
:span=
"23"
>
<c-col
:span=
"16"
>
<el-form-item
label=
"Infotext"
>
<c-input
type=
"textarea"
v-model=
"model.trn.inftxt"
maxlength=
"65"
show-word-limit
placeholder=
"请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"1"
>
<c-button
size=
"small"
type=
"primary"
>
...
</c-button>
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px"
>
<el-divider></el-divider>
</c-col>
<!-- -------------------Infotext------------------- -->
<c-col
:span=
"23"
style=
"margin-top:10px"
>
<c-col
:span=
"17"
>
<c-col
:span=
"22"
>
<el-form-item
label=
"Infotext"
>
<c-input
type=
"textarea"
v-model=
"model.trn.inftxt"
maxlength=
"65"
:rows=
"3"
show-word-limit
placeholder=
"请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"2"
>
<c-button
style=
"margin:0 10px 0 10px;padding: 0 10px;"
size=
"small"
icon=
"el-icon-search"
type=
"primary"
></c-button>
</c-col>
</c-col>
<c-col
:span=
"6"
>
<el-form-item
label-width=
"20%"
label=
"Infoflag"
>
<c-input
v-model=
"model.trn.infdsp"
style=
"width:100%"
placeholder=
"请选择Infoflag"
>
</c-input>
</el-form-item>
<c-col
:span=
"7"
>
<c-col
:span=
"24"
>
<el-form-item
label-width=
"40%"
>
<!-- <c-input v-model="model.trn.infdsp" style="width:100%" placeholder="请选择Infoflag">
</c-input> -->
<el-select
v-model=
"model.trn.infdsp"
style=
"width: 100%"
>
<el-option
v-for=
"item in codes.infdsp"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
</c-col>
<c-col
:span=
"24"
>
<el-form-item
label-width=
"40%"
label=
"Send for Repair to"
>
<c-input
v-model=
"model.recpan.usr.extkey"
disabled
style=
"width:100%"
placeholder=
"请选择extkey"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
...
...
@@ -320,11 +386,14 @@
</el-form-item>
</c-col>
-->
<c-col
:span=
"23"
style=
"height:14px;"
>
<el-form-item
class=
"formItemLabel"
label=
"Signatures:"
>
</el-form-item>
</c-col>
<c-col
:span=
"23"
>
<c-col
:span=
"18"
>
<el-form-item
label=
"Signatures"
>
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-istream-table
:list=
"SignaturesData.data"
:columns=
"SignaturesData.columns"
style=
"width:100%"
>
<!-- <c-input v-model="model.recpan.trsstm" placeholder="请输入Signatures"></c-input> -->
<c-col
:span=
"24"
>
<c-istream-table
:list=
"SignaturesData.data"
:columns=
"SignaturesData.columns"
:paginationShow=
"false"
style=
"width:100%"
>
<el-table-column
fixed=
"right"
prop=
"display"
...
...
@@ -335,30 +404,35 @@
<c-col
:span=
"11"
style=
"text-align:left"
><span>
操作
</span></c-col>
<c-col
:span=
"12"
style=
"text-align:right"
><c-button
icon=
"el-icon-s-tools"
></c-button></c-col>
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style=
"margin-left: 0"
size=
"small"
type=
"primary"
@
click=
"onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</
template
>
<
!-- <
template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onDetail(scope.$index,scope.row)"
>
详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理
</c-button>
</template>
-->
</el-table-column>
</c-istream-table>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col
:span=
"23"
style=
"margin-left:9px;height:25px;margin-bottom:10px"
>
<el-divider></el-divider>
</c-col>
<!-- -------------------workflow------------------- -->
<c-col
:span=
"23"
>
<c-col
:span=
"12"
>
<el-form-item
label=
"Object"
>
...
...
@@ -377,16 +451,15 @@
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"23"
>
<el-form-item>
<c-col
:span=
"23"
>
<c-col
:span=
"24"
>
<!-- <c-input v-model="model.recpan.wfestm" placeholder="请输入WFEs for transaction for display"></c-input> -->
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
style=
"width:100%"
>
<el-table-column
<c-istream-table
:list=
"stmData.data"
:columns=
"stmData.columns"
:paginationShow=
"false"
style=
"width:100%"
>
<
!-- <
el-table-column
fixed="right"
prop="display"
label="操作"
width=
"
auto
"
width="
150px
"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
...
...
@@ -410,10 +483,10 @@
处理
</c-button>
</template>
</el-table-column>
</el-table-column>
-->
</c-istream-table>
</
el-form-item
>
</c-col>
</
c-col
>
</c-col>
</c-content>
</el-form>
...
...
@@ -447,10 +520,10 @@ export default {
},
SignaturesData
:
{
columns
:
[
'1 2:1 "User"
70 5
0'
,
'1 2:1 "User"
20
0'
,
'2 3:1 "Date / Time" 200'
,
'3 5:1 "Action"
12
0'
,
'4 1:1 "Type"
15
0'
'3 5:1 "Action"
40
0'
,
'4 1:1 "Type"
20
0'
],
data
:
[],
},
...
...
@@ -461,15 +534,15 @@ export default {
'3 3 "Status" 80 1 0:0 1 WFE:STA'
,
'4 4 "Last Update" 102'
,
'5 5 "Retries" 100 1 0:1'
,
'6 6 "Text"
3
00'
,
'7 7 "Contrary Text"
2
00'
,
'6 6 "Text"
5
00'
,
'7 7 "Contrary Text"
5
00'
,
'8 8 "Target Time" 200'
],
data
:
[],
},
codes
:
{
infdsp
:
CodeTable
.
infdsp
},
}
},
methods
:{...
Event
},
mounted
()
{
this
.
loadData
()
},
...
...
@@ -480,10 +553,21 @@ export default {
this
.
documentsData
.
data
=
this
.
model
.
recpan
.
smhstm
.
rows
;
this
.
SignaturesData
.
data
=
this
.
model
.
recpan
.
trsstm
.
rows
;
this
.
stmData
.
data
=
this
.
model
.
recpan
.
wfestm
.
rows
;
}
},
exit
(){
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
)
this
.
$router
.
history
.
push
(
"/taskList"
);
},
...
Event
}
}
</
script
>
<
style
>
<
style
scoped
>
.el-col
>>>
.el-divider--horizontal
{
margin-top
:
10px
;
}
.formItemLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
}
</
style
>
\ No newline at end of file
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