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
cae4eb96
Commit
cae4eb96
authored
Jan 11, 2022
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bugs
parent
54479695
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
28 deletions
+25
-28
index.vue
src/views/Business/Bdtdcr/index.vue
+0
-2
index.vue
src/views/Business/Bdtset/index.vue
+0
-2
index.vue
src/views/Business/Bdtudp/index.vue
+0
-2
index.vue
src/views/Business/Bttdcr/index.vue
+0
-2
index.vue
src/views/Business/Bttdrv/index.vue
+0
-2
index.vue
src/views/Business/Bttsnd/index.vue
+0
-2
index.vue
src/views/Business/Ditopn/index.vue
+0
-2
Docpan.vue
src/views/Public/Docpan.vue
+25
-14
No files found.
src/views/Business/Bdtdcr/index.vue
View file @
cae4eb96
...
...
@@ -7,8 +7,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Business/Bdtset/index.vue
View file @
cae4eb96
...
...
@@ -6,8 +6,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Business/Bdtudp/index.vue
View file @
cae4eb96
...
...
@@ -6,8 +6,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Business/Bttdcr/index.vue
View file @
cae4eb96
...
...
@@ -6,8 +6,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Business/Bttdrv/index.vue
View file @
cae4eb96
...
...
@@ -6,8 +6,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Business/Bttsnd/index.vue
View file @
cae4eb96
...
...
@@ -6,8 +6,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Business/Ditopn/index.vue
View file @
cae4eb96
...
...
@@ -7,8 +7,6 @@
:handleCheck=
"handleCheck"
:handleStash=
"handleStash"
>
<el-button
size=
"small"
>
流程附言
</el-button>
<el-button
size=
"small"
>
交易历史
</el-button>
<el-button
size=
"small"
>
备忘录
</el-button>
<el-button
size=
"small"
>
影像信息
</el-button>
<!--
<el-button
size=
"small"
>
保存模板
</el-button>
-->
...
...
src/views/Public/Docpan.vue
View file @
cae4eb96
...
...
@@ -136,7 +136,7 @@
.pandsc == 'MT799' &&
model.didgrp.rec.elcflg == 'Y'
"
@
click=
"handleDisplay(scope.row.index, scope.row)"
@
click=
"handleDisplay(scope.row.index, scope.row
,model.trnmod.trndoc.doceot[scope.row.index]
)"
icon=
"el-icon-search"
style=
"margin-left:0"
></el-button
...
...
@@ -454,9 +454,11 @@ export default {
}
})
},
async
handleDisplay
(
index
,
row
){
async
handleDisplay
(
index
,
row
,
doceot
){
//后续要根据快照模式切换请求方式
let
cortyp
=
row
.
cortyp
let
docnam
=
doceot
.
docnam
||
''
;
docnam
=
docnam
.
substr
(
docnam
.
lastIndexOf
(
"
\
\"
)+1).toLowerCase();
let rtnmsg
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
this.model.setmod.msgmod.doccod = row.id
...
...
@@ -465,7 +467,8 @@ export default {
this.model.trnmod.trndoc.doccod = row.id
this.model.trnmod.trndoc.cortyp = cortyp
const params = {
index
:
index
index: index,
docnam: docnam
}
rtnmsg = await Api.post(`${this.declareParams.trnName}/executeDocpan`, this.wrapper(params))
}
...
...
@@ -480,7 +483,6 @@ export default {
Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["
\\
trnmod
\\
trndoc
\\
docinf
"]} /></div>,
width: 1000,
})
}
else {
...
...
@@ -488,26 +490,24 @@ export default {
this.title = "
面函
"
let viewurl = "
/
#
/
docpan
/
show
";
let XMLdata;
if
(
row
.
pandsc
==
"国内信用证"
)
{
window
.
sessionStorage
.
docTXT
=
''
window
.
sessionStorage
.
docXML
=
rtnmsg
.
data
.
litbenl1blk
;
}
else
if
(
row
.
pandsc
==
"开立国内信用证备查表"
)
{
window
.
sessionStorage
.
docTXT
=
''
window
.
sessionStorage
.
docXML
=
rtnmsg
.
data
.
litapll1blk
}
else
if
(
row
.
pandsc
.
startsWith
(
"elcs."
))
{
if (row.pandsc.startsWith("
elcs
.
")) {
window.sessionStorage.docXML = ''
window.sessionStorage.docTXT = ''
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => {
window.sessionStorage.docTXT += element + "
\
r
\
n
"
});
}
else if (row.pandsc == "
MT799
") {
window.sessionStorage.docTXT = ''
XMLdata = rtnmsg.data.litbenl1blk
}
else{
//参考后台Doceot.butshw order=1000
let execution = 'P', structure = 'l'
let attr = this.getDocAttribute(docnam,structure,execution)
window.sessionStorage.docTXT = ''
window.sessionStorage.docXML = rtnmsg.data[attr];
}
// console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
...
...
@@ -530,6 +530,17 @@ export default {
this.index = index
}
},
//此用于获取返回的面函模板所在vo属性,参考后台Doceot.getDocRul实现。
getDocAttribute(docnam,structure,execution){
let pfx = docnam.substring(0,docnam.length-1);
let idx = docnam.substr(docnam.length-1);
let attr = '';
switch(execution){
case 'P':
attr = pfx + structure + idx;
}
return attr+'blk';
}
},
created: function () {},
};
...
...
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