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
dcce5acb
authored
2023-08-30 10:36:58 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书预览
1 parent
891df849
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/dialog/zsdy.vue
View file @
dcce5ac
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-30 10:
11:42
* @LastEditTime: 2023-08-30 10:
36:11
-->
<
template
>
<div>
...
...
@@ -252,18 +252,18 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
48
5
+
(
26
*
(
i
-
1
))
+
5
*
num
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
129
,
48
0
+
(
26
*
(
i
-
1
))
+
5
*
num
+
(
index
*
13
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
48
5
+
(
26
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
129
,
48
0
+
(
26
*
(
i
-
1
))
+
(
index
*
13
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
49
5
+
5
*
num
+
(
30
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
49
0
+
4
*
num
+
(
24
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
49
5
+
(
30
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
49
0
+
(
24
*
(
i
-
1
)));
}
}
}
...
...
@@ -496,9 +496,9 @@
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
4
50
+
5
*
num
+
(
23
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
4
47
+
6
*
num
+
(
23
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
4
50
+
(
23
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
770
,
4
47
+
(
23
*
(
i
-
1
)));
}
}
}
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
dcce5ac
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-30 10:
10:45
* @LastEditTime: 2023-08-30 10:
33:52
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -223,18 +223,18 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
48
5
+
(
26
*
(
i
-
1
))
+
5
*
num
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
129
,
48
0
+
(
26
*
(
i
-
1
))
+
5
*
num
+
(
index
*
13
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
48
5
+
(
26
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
129
,
48
0
+
(
26
*
(
i
-
1
))
+
(
index
*
13
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
49
5
+
5
*
num
+
(
25
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
49
0
+
4
*
num
+
(
24
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
495
+
(
2
5
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
495
+
(
2
4
*
(
i
-
1
)));
}
}
}
...
...
@@ -461,11 +461,11 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
438
+
(
23
*
(
i
-
1
))
+
5
*
num
+
(
index
*
1
6
));
// 调整行高
context
.
fillText
(
line
,
770
,
438
+
(
23
*
(
i
-
1
))
+
5
*
num
+
(
index
*
1
8
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
438
+
(
23
*
(
i
-
1
))
+
(
index
*
1
6
));
// 调整行高
context
.
fillText
(
line
,
770
,
438
+
(
23
*
(
i
-
1
))
+
(
index
*
1
8
));
// 调整行高
})
}
}
else
{
...
...
Please
register
or
sign in
to post a comment