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
5ab9d491
authored
2023-09-06 15:48:38 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书预览
1 parent
12a05c3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/dialog/zsyl.vue
View file @
5ab9d49
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-06 15:4
1:50
* @LastEditTime: 2023-09-06 15:4
7:54
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -463,20 +463,19 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
428
+
(
2
3
*
(
i
-
1
))
+
5
*
num
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
770
,
428
+
(
2
5
*
(
i
-
1
))
+
5
*
num
+
(
index
*
15
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
435
+
(
2
3
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
770
,
435
+
(
2
5
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
})
}
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
440
+
5
*
num
+
(
22
*
(
i
-
1
)));
// if (i > 0) {
// context.fillText(lines[i] ? lines[i] : '', 770, 440 + 5 * num + (23 * (i - 1)));
// } else {
// context.fillText(lines[i] ? lines[i] : '', 770, 440 + (23 * (i - 1)));
// }
if
(
i
>
0
)
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
440
+
5
*
num
+
(
24
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
440
+
(
24
*
(
i
-
1
)));
}
}
}
// fj
...
...
Please
register
or
sign in
to post a comment