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
c5b51508
Commit
c5b51508
authored
Nov 01, 2023
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面函预览增加iso报文功能
parent
6a21666e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
6 deletions
+34
-6
index.vue
src/components/business/docpan/views/index.vue
+34
-6
No files found.
src/components/business/docpan/views/index.vue
View file @
c5b51508
...
...
@@ -491,7 +491,7 @@
<el-button
@
click=
"print"
style=
"float:right;position:relative;z-index:99"
type=
"primary"
>
打印
</el-button>
<el-tabs
type=
"card"
v-model=
"tabName"
>
<el-tab-pane
v-for=
"(item,index) in formatData"
:key=
"'F'+index"
:label=
"`MT ${item.mt} 格式化文本`"
:name=
"`format${index}`"
>
<div
class=
"printEm"
:ref=
"`format${index}Div`"
style=
"line-height:2em"
>
<div
class=
"printEm"
:ref=
"`format${index}Div`"
style=
"line-height:2em
;font-family: math;font-size: 14px;
"
>
<el-divider><b>
Message Header
</b></el-divider>
<el-row>
<el-col
:offset=
"5"
:span=
"6"
>
Correspondents BIC / TID
</el-col>
...
...
@@ -530,16 +530,16 @@
</el-col>
</el-row>
<el-divider><b>
Message Body
</b></el-divider>
<el-row
:key=
"index"
v-for=
"(tagDesp,index) in item.tagDespList"
>
<el-row
:key=
"index"
v-for=
"(tagDesp,index) in item.tagDespList"
>
<el-col
:offset=
"5"
:span=
"6"
>
<pre
v-html=
"tagDesp.desp"
></pre>
<pre
style=
"font-family: math;font-size: 14px;"
v-html=
"tagDesp.desp"
></pre>
</el-col>
<el-col
:span=
"2"
>
<pre>
:{{tagDesp.tag}}:
</pre>
<pre
style=
"font-family: math;font-size: 14px;"
>
:{{tagDesp.tag}}:
</pre>
</el-col>
<el-col
:span=
"11"
>
<div>
<pre><b>
{{tagDesp.value || " "}}
</b></pre>
<pre><b
style=
"font-family: math;font-size: 14px;"
>
{{tagDesp.value || " "}}
</b></pre>
</div>
</el-col>
</el-row>
...
...
@@ -548,7 +548,25 @@
<el-tab-pane
v-for=
"(item,index) in formatData"
:key=
"'S'+index"
:label=
"`MT ${item.mt} 原报`"
:name=
"`source${index}`"
>
<div
:ref=
"`source${index}Div`"
style=
"line-height:2em"
>
<pre
v-html=
"item.message"
></pre>
<!-- <pre v-html="item.message"></pre> -->
<c-input
class=
"preMessage"
type=
"textarea"
:autosize=
true
v-model=
"item.message"
:readonly=
true
></c-input>
</div>
</el-tab-pane>
<el-tab-pane
v-if=
"isoData != null && isoData != ''"
:label=
"`ISO MX ${isoType} 报文`"
:name=
"`iso`"
>
<div
:ref=
"`isoDiv`"
style=
"line-height:2em"
>
<c-input
class=
"preMessage"
type=
"textarea"
:autosize=
true
v-model=
"isoData"
:readonly=
true
></c-input>
</div>
</el-tab-pane>
</el-tabs>
...
...
@@ -586,6 +604,8 @@ export default {
textContext
:
''
,
viewPdfurl
:
''
,
formatData
:
[],
isoData
:
''
,
isoType
:
''
,
tabName
:
"format0"
,
dialogVisible
:
true
...
...
@@ -672,6 +692,10 @@ export default {
this
.
previewType
=
""
;
this
.
textContext
=
res
.
data
.
data
;
this
.
formatData
=
res
.
data
.
formatData
;
this
.
isoData
=
res
.
data
.
isoData
;
if
(
this
.
formatData
.
length
>
0
){
this
.
isoType
=
this
.
formatData
[
0
].
mt
;
}
}
}
...
...
@@ -822,4 +846,8 @@ export default {
.preview
/
deep
/
.el-dialog--center
.el-dialog_body
div
{
height
:
100%
;
}
.preMessage
/
deep
/
.el-textarea__inner
{
font-size
:
14px
!important
;
font-family
:
math
!important
;
}
</
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