Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fe5df734
authored
2023-06-30 14:37:00 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书类型判断
1 parent
e5412641
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/dialog/zsyl.vue
View file @
fe5df73
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-30 1
0:41:06
* @LastEditTime: 2023-06-30 1
4:32:40
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -12,8 +12,8 @@
</el-tab-pane>
</el-tabs>
<div
class=
"no-data"
v-if=
"headTabBdcqz.length == 0"
>
暂无数据
</div>
<canvas
ref=
"zs"
width=
"1000"
v-show=
"
activeName=='1'
"
height=
"700"
></canvas>
<canvas
ref=
"zm"
width=
"1180"
v-show=
"
activeName!='1'
"
height=
"780"
></canvas>
<canvas
ref=
"zs"
width=
"1000"
v-show=
"
headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1
"
height=
"700"
></canvas>
<canvas
ref=
"zm"
width=
"1180"
v-show=
"
headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1
"
height=
"780"
></canvas>
</div>
</
template
>
...
...
@@ -57,6 +57,7 @@
}
},
mounted
()
{
debugger
this
.
columns
=
datas
.
columns
();
if
(
this
.
formData
.
bdcqz
)
{
//从缮证进入
...
...
@@ -81,7 +82,7 @@
this
.
activeName
=
res
.
result
[
0
].
bsmBdcqz
this
.
bdcqz
=
res
.
result
[
0
]
this
.
headTabBdcqz
=
res
.
result
if
(
this
.
activeName
==
1
)
{
if
(
res
.
result
[
0
].
bdcqzlx
==
1
)
{
this
.
drawTextOnImage
()
}
else
{
this
.
drawTextzmImage
()
...
...
@@ -161,12 +162,12 @@
// ysxlh
context
.
fillText
(
this
.
bdcqz
.
ysxlh
?
this
.
bdcqz
.
ysxlh
:
''
,
280
,
712
);
// djsj
let
djsjList
=
this
.
bdcqz
.
djsj
.
split
(
' '
)[
0
].
split
(
'/'
)
context
.
fillText
(
djsjList
[
0
]
?
djsjList
[
0
]
:
''
,
327
,
580
);
context
.
fillText
(
djsjList
[
1
]
?
djsjList
[
1
]
:
''
,
393
,
580
);
context
.
fillText
(
djsjList
[
2
]
?
djsjList
[
2
]
:
''
,
443
,
580
);
if
(
this
.
bdcqz
.
djsj
)
{
let
djsjList
=
this
.
bdcqz
.
djsj
.
split
(
' '
)[
0
].
split
(
'/'
)
context
.
fillText
(
djsjList
[
0
]
?
djsjList
[
0
]
:
''
,
327
,
580
);
context
.
fillText
(
djsjList
[
1
]
?
djsjList
[
1
]
:
''
,
393
,
580
);
context
.
fillText
(
djsjList
[
2
]
?
djsjList
[
2
]
:
''
,
443
,
580
);
}
context
.
fillText
(
this
.
bdcqz
.
sjjc
?
this
.
bdcqz
.
sjjc
:
''
,
620
,
125
);
context
.
fillText
(
this
.
bdcqz
.
djnd
?
this
.
bdcqz
.
djnd
:
''
,
665
,
125
);
context
.
fillText
(
this
.
bdcqz
.
sxqc
?
this
.
bdcqz
.
sxqc
:
''
,
750
,
125
);
...
...
Please
register
or
sign in
to post a comment