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
5797fb7c
Commit
5797fb7c
authored
Jul 29, 2021
by
SunJie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面函
parent
6671cb66
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
17 deletions
+37
-17
Event.js
src/model/Ditopn/Event.js
+25
-10
Detp.vue
src/views/Business/Ditopn/Detp.vue
+3
-2
Show.vue
src/views/Docpan/Show.vue
+9
-5
No files found.
src/model/Ditopn/Event.js
View file @
5797fb7c
...
...
@@ -346,16 +346,31 @@ export default {
this
.
title
=
"面函"
let
viewurl
=
"/#/docpan/show"
;
let
XMLdata
;
if
(
row
.
pandsc
==
"国内信用证"
)
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
else
if
(
row
.
pandsc
==
"开立国内信用证备查表"
)
XMLdata
=
rtnmsg
.
data
.
litapll1blk
else
if
(
row
.
pandsc
==
""
)
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
else
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
var
newXml
=
Utils
.
showXml
(
XMLdata
)
window
.
sessionStorage
.
docXML
=
newXml
;
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
==
"elcs.101.001.01"
){
console
.
log
(
rtnmsg
.
data
.
trnmod_trndoc_doceot
[
index
].
doctxt
);
window
.
sessionStorage
.
docXML
=
''
window
.
sessionStorage
.
docTXT
=
''
rtnmsg
.
data
.
trnmod_trndoc_doceot
[
index
].
doctxt
.
rows
.
forEach
(
element
=>
{
window
.
sessionStorage
.
docTXT
+=
element
+
"
\
r
\
n"
});
console
.
log
(
window
.
sessionStorage
.
docTXT
);
}
else
if
(
row
.
pandsc
==
"MT799"
){
window
.
sessionStorage
.
docTXT
=
''
XMLdata
=
rtnmsg
.
data
.
litbenl1blk
}
window
.
open
(
viewurl
,
'newwindow'
,
'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'
);
}
this
.
dialogOpen
=
true
...
...
src/views/Business/Ditopn/Detp.vue
View file @
5797fb7c
...
...
@@ -143,10 +143,11 @@ export default {
this
.
model
.
didgrp
.
rec
.
tenmaxday
=
0
;
this
.
model
.
didgrp
.
blk
.
defdet
=
""
;
}
Api
.
post
(
"ditopn/
executeDefault/didgrp.rec.tenmaxday"
,
data
).
then
(
Api
.
post
(
"ditopn/
default/didgrp.rec.tenmaxday"
,
this
.
model
).
then
(
(
res
)
=>
{
if
(
res
.
respCode
=
"AAAAAA"
){
const
data
=
res
.
data
;
const
data
=
res
.
data
;
this
.
model
.
didgrp
.
blk
.
defdet
=
data
.
didgrp_blk_defdet
;
}
...
...
src/views/Docpan/Show.vue
View file @
5797fb7c
<
template
>
<div>
<div
class=
"title"
>
面函列表
</div>
<div
style=
"height:800px;overflow:auto"
>
<embed
:src=
"pdf"
type=
"application/pdf"
height=
"100%"
width=
"100%"
/>
<embed
v-if=
"this.model.docXML!=''"
:src=
"pdf"
type=
"application/pdf"
height=
"100%"
width=
"100%"
/>
<el-col
:offset=
"4"
><pre
>
{{
this
.
model
.
docTXT
}}
</pre></el-col>
</div>
</div>
</
template
>
...
...
@@ -14,18 +16,20 @@ export default {
data
(){
return
{
model
:
{
docXML
:
""
},
pdf
:
"data:application/pdf;base64,"
pdf
:
"data:application/pdf;base64,"
,
}
},
moun
ted
()
{
crea
ted
()
{
this
.
model
.
docXML
=
window
.
sessionStorage
.
docXML
this
.
model
.
docTXT
=
window
.
sessionStorage
.
docTXT
if
(
this
.
model
.
docXML
!=
""
)
Api
.
post
(
"pdf"
,{
"xml"
:
this
.
model
.
docXML
}).
then
(
res
=>
{
if
(
res
.
respCode
==
"AAAAAA"
)
{
this
.
pdf
+=
res
.
data
}
})
}
}
</
script
>
...
...
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