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
4960f1d2
authored
2024-01-23 11:11:15 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:预览
1 parent
4e002d60
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
src/api/workflow/fwsyqFlow.js
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/api/workflow/fwsyqFlow.js
View file @
4960f1d
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-2
2 17:12:09
* @LastEditTime: 2024-01-2
3 10:59:37
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
src/views/workflow/components/dialog/zsdy.vue
View file @
4960f1d
...
...
@@ -677,18 +677,18 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
6
10
+
(
25
*
(
i
-
1
))
+
5
*
num
+
(
index
*
22
));
// 调整行高
context
.
fillText
(
line
,
770
,
6
05
+
(
24
*
(
i
-
1
))
+
5
*
num
+
(
index
*
17
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
6
10
+
(
25
*
(
i
-
1
))
+
(
index
*
22
));
// 调整行高
context
.
fillText
(
line
,
770
,
6
05
+
(
24
*
(
i
-
1
))
+
(
index
*
17
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
0
+
5
*
num
+
(
24
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
6
+
6
*
num
+
(
25
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
0
+
(
24
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
6
+
(
25
*
(
i
-
1
)));
}
}
}
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
4960f1d
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
18 11:25:39
* @LastEditTime: 2024-01-
23 11:07:58
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"text-align: center;"
>
...
...
@@ -606,18 +606,18 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
6
10
+
(
25
*
(
i
-
1
))
+
5
*
num
+
(
index
*
22
));
// 调整行高
context
.
fillText
(
line
,
770
,
6
05
+
(
24
*
(
i
-
1
))
+
5
*
num
+
(
index
*
17
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
6
10
+
(
25
*
(
i
-
1
))
+
(
index
*
22
));
// 调整行高
context
.
fillText
(
line
,
770
,
6
05
+
(
24
*
(
i
-
1
))
+
(
index
*
17
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
0
+
5
*
num
+
(
24
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
6
+
6
*
num
+
(
25
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
0
+
(
24
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
61
6
+
(
25
*
(
i
-
1
)));
}
}
}
...
...
Please
register
or
sign in
to post a comment