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
fukai
vue-gjjs
Commits
a274fe29
Commit
a274fe29
authored
Jan 11, 2022
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待经办详情
parent
b5c0d7fa
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
121 additions
and
22 deletions
+121
-22
index.js
src/config/CodeTable/index.js
+3
-0
Event.js
src/model/Sptsel/Event.js
+16
-6
BusRouter.js
src/views/Business/BusRouter.js
+2
-2
Menu.vue
src/views/Business/Sptsel/Menu.vue
+1
-1
Sptpopup.vue
src/views/Business/Sptsel/Sptpopup.vue
+99
-13
No files found.
src/config/CodeTable/index.js
View file @
a274fe29
...
...
@@ -3246,6 +3246,9 @@ const CodeTable = {
{
label
:
"Waiting for SRVCOM"
,
value
:
"R"
},
{
label
:
"Waiting for ReDo in SPTREL"
,
value
:
"S"
},
],
frm
:
[
{
label
:
"Advising / Confirming"
,
value
:
"LETOPN"
},
],
hndtyp
:
[
{
label
:
"Receive to issue"
,
value
:
"FR"
},
{
label
:
"Transfer"
,
value
:
"OT"
},
...
...
src/model/Sptsel/Event.js
View file @
a274fe29
...
...
@@ -53,17 +53,27 @@ export default {
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onDetails
()
{
this
.
$router
.
push
({
path
:
"business/sptpopup"
,
query
:
{
inr
:
'111'
}});
this
.
detailDialog
=
true
;
let
rtnmsg
=
await
this
.
executeRule
(
"details"
)
async
onDetails
(
idx
,
row
)
{
let
viewurl
=
"business/sptpopup"
;
const
selIds
=
[
idx
+
1
];
const
selDst
=
"sptstm"
;
let
params
=
{
selIds
,
selDst
};
this
.
executeRule
(
"sptstm,butspt"
,
params
).
then
((
res
)
=>
{
if
(
res
.
respCode
==
SUCCESS
)
{
Utils
.
copyValueFromVO
(
this
.
model
,
res
.
data
);
sessionStorage
.
setItem
(
'Sptpopup'
,
JSON
.
stringify
(
this
.
model
));
this
.
$router
.
push
({
path
:
viewurl
,
query
:
{}});
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
/* let rtnmsg = await this.executeRule("details")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
*/
},
async
continueEdit
(
row
)
{
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
...
...
src/views/Business/BusRouter.js
View file @
a274fe29
...
...
@@ -103,8 +103,8 @@ 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: '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
:
'待复核详情'
}
},
{
path
:
'cltdav'
,
component
:
Cltdav
,
name
:
'Cltdav'
,
meta
:
{
title
:
'打包托收开立'
}
},
...
...
src/views/Business/Sptsel/Menu.vue
View file @
a274fe29
...
...
@@ -311,7 +311,7 @@
></c-col>
-->
</
template
>
<
template
slot-scope=
"scope"
>
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"onDetails"
<c-button
style=
"margin-left: 0"
size=
"small"
@
click=
"onDetails
(scope.$index,scope.row)
"
>
详情
</c-button>
<c-button
...
...
src/views/Business/Sptsel/Sptpopup.vue
View file @
a274fe29
<
template
>
<c-page
title=
""
>
<c-page
title=
""
>
<c-content
:height=
"120"
>
<div
class=
"eibs-tab"
>
<el-form
:model=
"model"
...
...
@@ -9,12 +10,26 @@
label-width=
"150px"
size=
"small"
>
<c-col
:span=
"21"
style=
"height:24px"
>
<el-form-item
label=
"基本信息"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<c-col
:span=
"2"
style=
"text-align:right"
>
<c-button
size=
"small"
@
click=
"exit"
>
返回
</c-button>
</c-col>
<c-col
:span=
"24"
style=
"height: 10px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
"Type"
prop=
"spt.sta"
style=
"width: 100%"
>
<c-select
v-model=
"model.spt.sta"
style=
"width: 100%"
placeholder=
"请选择Type"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -26,6 +41,8 @@
v-model=
"model.spt.hldflg"
style=
"width: 100%"
placeholder=
"请选择Hold Flag"
:code=
"codes.hldflg"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -38,6 +55,7 @@
maxlength=
"40"
style=
"width: 100%"
placeholder=
"请输入Reference"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -49,6 +67,7 @@
maxlength=
"8"
style=
"width: 100%"
placeholder=
"请输入Internal Unique ID of Pending Transaction"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -61,6 +80,7 @@
maxlength=
"40"
style=
"width: 100%"
placeholder=
"请输入Name"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -75,16 +95,20 @@
maxlength=
"6"
style=
"width: 95%"
placeholder=
"请输入Transaction "
disabled
></c-input>
</el-form-item>
</c-col>
<c-col
:span=
"11"
>
<el-form-item
label=
""
prop=
"spt.frm"
label-width=
"0"
>
<c-inpu
t
<c-selec
t
v-model=
"model.spt.frm"
maxlength=
"16"
placeholder=
"请输入Transaction "
></c-input>
:code=
"codes.frm"
style=
"width:100%"
disabled
></c-select>
</el-form-item>
</c-col>
</c-col>
...
...
@@ -96,6 +120,7 @@
v-model=
"model.spt.ownusr"
maxlength=
"8"
placeholder=
"请输入Responsible User "
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -106,6 +131,7 @@
v-model=
"model.spt.ownusg"
style=
"width: 100%"
placeholder=
"请选择Responsible Group"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -121,6 +147,7 @@
style=
"width: 100%"
show-word-limit
placeholder=
"请输入Infotext"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -130,6 +157,8 @@
v-model=
"model.spt.infdsp"
style=
"width: 100%; padding-left: 0px"
placeholder=
"请选择Infotext"
:code=
"codes.infdsp"
disabled
>
</c-select>
</el-form-item>
...
...
@@ -143,6 +172,7 @@
v-model=
"model.spt.usr"
maxlength=
"8"
placeholder=
"请输入Entered by"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -152,6 +182,7 @@
<c-input
v-model=
"model.spt.dattim"
placeholder=
"请输入Time of Creation"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -162,6 +193,7 @@
v-model=
"model.spt.cretrn"
maxlength=
"6"
placeholder=
"请输入Creating Transaction ID"
disabled
></c-input>
</el-form-item>
</c-col>
...
...
@@ -169,12 +201,20 @@
<c-col
:span=
"24"
>
<c-col
:span=
"11"
>
<el-form-item
label=
"Target for Completion"
prop=
"spt.tardattim"
>
<c-input
v-model=
"model.spt.tardattim"
placeholder=
"请输入Target for Completion"
></c-input>
<c-input
v-model=
"model.spt.tardattim"
placeholder=
"请输入Target for Completion"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
style=
"height:20px"
>
<c-col
:span=
"24"
style=
"height:24px;margin-top:8px"
>
<el-form-item
label=
"报文信息表"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
...
...
@@ -215,7 +255,7 @@
&
Close
</c-button>
</c-col>
-->
<c-col
:span=
"23"
style=
"height:24px;margin-left:
9px"
>
<c-col
:span=
"23"
style=
"margin-left:
9px"
>
<!--
<el-form-item
label-width=
"500px"
>
-->
<c-table
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
...
...
@@ -311,21 +351,34 @@
</c-table>
<!--
</el-form-item>
-->
</c-col>
<c-col
:span=
"23"
style=
"height:24px;margin-left:9px"
>
<c-col
:span=
"24"
style=
"height:24px;margin-top:20px"
>
<el-form-item
label=
"接口信息表"
class=
"messageLabel"
>
</el-form-item>
</c-col>
<c-col
:span=
"24"
style=
"height: 0px"
>
<el-divider></el-divider>
</c-col>
<c-col
:span=
"23"
style=
"margin-left: 9px"
>
<!--
<el-form-item
label-width=
"500px"
>
-->
<c-table
:paginationShow=
"false"
:border=
"true"
>
<
!--
<
c-table
:paginationShow=
"false"
:border=
"true"
>
<el-table-column
label=
"Start"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Type"
width=
"auto"
></el-table-column>
<el-table-column
label=
"User"
width=
"auto"
></el-table-column>
<el-table-column
label=
"TRN"
width=
"auto"
></el-table-column>
<el-table-column
label=
"End"
width=
"auto"
></el-table-column>
<el-table-column
label=
"Text"
width=
"auto"
></el-table-column>
</c-table>
</c-table>
-->
<!--
</el-form-item>
-->
<c-istream-table
:list=
"stmData2.data"
:columns=
"stmData2.columns"
:paginationShow=
"false"
style=
"width:100%"
>
</c-istream-table>
</c-col>
</el-form>
</div>
</c-page>
</c-content>
</c-page>
</
template
>
<
script
>
import
Sptsel
from
"~/Model/Sptsel"
;
...
...
@@ -341,15 +394,48 @@ export default {
data
()
{
return
{
model
:
new
Sptsel
().
data
,
codes
:
{
...
CodeTable
},
codes
:
{
hldflg
:
CodeTable
.
hldflg
,...
CodeTable
},
trnName
:
"sptsel"
,
stmData2
:{
columns
:[
"7 1
\"
Start
\"
0"
,
"1 2
\"
Type
\"
0"
,
"8 3
\"
User
\"
0"
,
"4 4
\"
TRN
\"
0"
,
"7 5
\"
End
\"
0"
,
"6 6
\"
Text
\"
0"
,
],
data
:[],
}
};
},
methods
:
{
...
Event
},
mounted
()
{
this
.
loadData
();
},
methods
:
{
...
Event
,
loadData
()
{
this
.
model
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"Sptpopup"
));
this
.
executeRule
(
"sptp.ordp0.butore"
).
then
((
res
)
=>
{
this
.
stmData2
.
data
=
res
.
data
.
sptstm
.
rows
;
});
},
exit
()
{
this
.
$store
.
dispatch
(
"TagsView/delView"
,
this
.
$route
);
this
.
$router
.
history
.
push
(
"/taskList"
);
},
},
created
:
function
()
{},
};
</
script
>
<
style
scoped
>
.el-col
>>>
.el-divider--horizontal
{
margin-top
:
1px
;
margin-top
:
5px
;
}
.messageLabel
>>>
.el-form-item__label
{
text-align
:
left
;
font-weight
:
bold
;
font-size
:
12px
;
}
</
style
>
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