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
aaf88a0c
authored
2024-01-22 16:34:35 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书预览
1 parent
8663e166
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/dialog/zsdy.vue
View file @
aaf88a0
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
18 11:04:53
* @LastEditTime: 2024-01-
22 16:34:15
-->
<
template
>
<div>
...
...
@@ -279,6 +279,8 @@
context
.
fillText
(
this
.
bdcqz
.
sxqc
?
this
.
bdcqz
.
sxqc
:
''
,
165
,
56
);
// 恢复原始字体设置
context
.
font
=
originalFont
;
}
else
{
context
.
fillText
(
this
.
bdcqz
.
sxqc
?
this
.
bdcqz
.
sxqc
:
''
,
170
,
56
);
}
context
.
fillText
(
this
.
bdcqz
.
sxh
?
this
.
bdcqz
.
sxh
:
''
,
370
,
56
);
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
aaf88a0
...
...
@@ -198,7 +198,6 @@
context
.
fillStyle
=
'#000000'
;
context
.
fillText
(
this
.
bdcqz
.
sjjc
?
this
.
bdcqz
.
sjjc
:
''
,
60
,
56
);
context
.
fillText
(
this
.
bdcqz
.
djnd
?
this
.
bdcqz
.
djnd
:
''
,
113
,
56
);
// context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56);
if
(
getByteLen
(
this
.
bdcqz
.
sxqc
)
>
14
)
{
const
originalFont
=
context
.
font
;
// 设置新的字体大小
...
...
@@ -207,6 +206,8 @@
context
.
fillText
(
this
.
bdcqz
.
sxqc
?
this
.
bdcqz
.
sxqc
:
''
,
165
,
56
);
// 恢复原始字体设置
context
.
font
=
originalFont
;
}
else
{
context
.
fillText
(
this
.
bdcqz
.
sxqc
?
this
.
bdcqz
.
sxqc
:
''
,
170
,
56
);
}
context
.
fillText
(
this
.
bdcqz
.
sxh
?
this
.
bdcqz
.
sxh
:
''
,
370
,
56
);
context
.
fillText
(
this
.
bdcqz
.
qlr
?
this
.
bdcqz
.
qlr
:
''
,
129
,
97
);
...
...
Please
register
or
sign in
to post a comment