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
8382ff03
Commit
8382ff03
authored
Oct 19, 2022
by
“yanyuxin”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报文显示BUG
parent
9421ce5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
3 deletions
+57
-3
DocRouter.js
src/views/Docpan/DocRouter.js
+3
-0
Swift.vue
src/views/Docpan/Swift.vue
+47
-0
Docpan.vue
src/views/Public/Docpan.vue
+7
-3
No files found.
src/views/Docpan/DocRouter.js
View file @
8382ff03
import
Show
from
"./Show"
import
Detail
from
"./Detail"
import
Swift
from
"./Swift"
const
BusRouter
=
[
{
path
:
'show'
,
component
:
Show
},
{
path
:
'detail'
,
component
:
Detail
},
{
path
:
'swift'
,
component
:
Swift
},
]
export
default
BusRouter
\ No newline at end of file
src/views/Docpan/Swift.vue
0 → 100644
View file @
8382ff03
<
template
>
<div>
<div
style=
"height: 800px; overflow: auto;padding: 20px;"
>
<!--
{{
data
}}
-->
<c-row
v-if=
"!this.model.docXML"
>
<c-col
v-for=
"(item, index) in model.docTXT"
:key=
"index"
>
<div>
{{
item
}}
</div>
</c-col>
</c-row>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
model
:
{
docTXT
:
""
,
docXML
:
""
,
},
};
},
created
()
{
let
doclang
=
window
.
sessionStorage
.
doclang
||
""
;
this
.
model
.
docXML
=
window
.
sessionStorage
.
docXML
;
this
.
model
.
docTXT
=
window
.
sessionStorage
.
docTXT
.
split
(
"
\
n"
)
// .filter((item) => item)
// .map((item) => {
// let idx = item.indexOf(":");
// return [
// item.substring(0, idx).trim(),
// item.substring(idx + 1).trim(),
// ];
// });
},
};
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
src/views/Public/Docpan.vue
View file @
8382ff03
...
...
@@ -587,10 +587,14 @@ export default {
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params))
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl
// let viewurl = rtnmsg.data.setmod_msgmod_docpth;
let viewurl = "
/
#
/
docpan
/
swift
";
// this.viewurl = viewurl
// window.sessionStorage.docTXT = rtnmsg.data.lidgrp_blk_feetxt + rtnmsg.data.lidgrp_blk_insbnk ;
let doctxt = rtnmsg.data.trnmod_trndoc_doceot[index]['doctxt']
window.sessionStorage.docTXT = doctxt.rows.filter(d => d != '').join('
\
n')
this.title = "
报文
"
//
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
else if (cortyp == 'ELC') {
Modal.info({
...
...
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