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
b3717622
authored
2023-11-02 16:23:09 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书预览
1 parent
393dbb3a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/dialog/zsdy.vue
View file @
b371762
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
0-25 13:55:42
* @LastEditTime: 2023-1
1-02 16:22:48
-->
<
template
>
<div>
...
...
@@ -302,16 +302,16 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
4
85
+
(
26
*
(
i
-
1
))
+
5
*
num
+
(
index
*
15
));
// 调整行高
context
.
fillText
(
line
,
129
,
4
90
+
(
29
*
(
i
-
1
))
+
4
*
num
+
(
index
*
14
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
4
95
+
(
26
*
(
i
-
1
))
+
(
index
*
13
));
// 调整行高
context
.
fillText
(
line
,
129
,
4
88
+
(
26
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
495
+
4
*
num
+
(
2
7
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
495
+
4
*
num
+
(
2
9
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
500
+
(
27
*
(
i
-
1
)));
}
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
b371762
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
0-25 13:57:1
4
* @LastEditTime: 2023-1
1-02 16:21:0
4
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -207,7 +207,7 @@
// 权利其他状态
let
lines
=
this
.
bdcqz
.
qlqtzk
?
this
.
bdcqz
.
qlqtzk
.
split
(
'\n'
)
:
[];
for
(
let
i
=
0
;
i
<
lines
.
length
;
i
++
)
{
let
num
=
Math
.
ceil
(
getByteLen
(
lines
[
i
])
/
3
7
)
let
num
=
Math
.
ceil
(
getByteLen
(
lines
[
i
])
/
3
8
)
if
(
getByteLen
(
lines
[
i
])
>
37
)
{
let
currentLine
=
''
;
let
arr
=
[];
...
...
@@ -224,16 +224,16 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
4
85
+
(
24
*
(
i
-
1
))
+
4
*
num
+
(
index
*
15
));
// 调整行高
context
.
fillText
(
line
,
129
,
4
90
+
(
29
*
(
i
-
1
))
+
4
*
num
+
(
index
*
14
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
129
,
4
95
+
(
26
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
129
,
4
88
+
(
26
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
495
+
4
*
num
+
(
2
7
*
(
i
-
1
)));
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
495
+
4
*
num
+
(
2
9
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines
[
i
]
?
lines
[
i
]
:
''
,
129
,
500
+
(
27
*
(
i
-
1
)));
}
...
...
Please
register
or
sign in
to post a comment