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
9dc1be45
authored
2023-11-08 13:27:31 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书预览打印
1 parent
daaa3ae5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/zsgl/zsrk/components/addDialog.vue
src/views/workflow/components/dialog/zsdy.vue
View file @
9dc1be4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-0
7 08:47:38
* @LastEditTime: 2023-11-0
8 13:27:03
-->
<
template
>
<div>
...
...
@@ -572,18 +572,18 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
5
*
num
+
(
index
*
15
));
// 调整行高
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
5
*
num
+
(
index
*
22
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
(
index
*
15
));
// 调整行高
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
(
index
*
22
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
5
*
num
+
(
2
3
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
5
*
num
+
(
2
4
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
(
2
3
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
(
2
4
*
(
i
-
1
)));
}
}
}
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
9dc1be4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-0
7 08:46:45
* @LastEditTime: 2023-11-0
8 13:25:20
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -497,18 +497,18 @@
arr
.
push
(
currentLine
);
if
(
i
>
0
)
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
5
*
num
+
(
index
*
15
));
// 调整行高
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
5
*
num
+
(
index
*
22
));
// 调整行高
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
(
index
*
15
));
// 调整行高
context
.
fillText
(
line
,
770
,
610
+
(
25
*
(
i
-
1
))
+
(
index
*
22
));
// 调整行高
})
}
}
else
{
if
(
i
>
0
)
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
5
*
num
+
(
2
3
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
5
*
num
+
(
2
4
*
(
i
-
1
)));
}
else
{
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
(
2
3
*
(
i
-
1
)));
context
.
fillText
(
lines1
[
i
]
?
lines1
[
i
]
:
''
,
770
,
610
+
(
2
4
*
(
i
-
1
)));
}
}
}
...
...
src/views/zsgl/zsrk/components/addDialog.vue
View file @
9dc1be4
...
...
@@ -166,14 +166,14 @@
that
.
$message
.
error
(
'本书必须大于0,请检查印刷序列号'
);
return
}
store
.
dispatch
(
"user/refreshPage"
,
tru
e
);
store
.
dispatch
(
"user/refreshPage"
,
fals
e
);
zsrk
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
that
.
$message
.
success
(
'保存成功'
)
that
.
$popupCacel
()
that
.
$refs
[
'ruleForm'
].
resetFields
()
that
.
resetTableFields
()
store
.
dispatch
(
"user/refreshPage"
,
fals
e
);
store
.
dispatch
(
"user/refreshPage"
,
tru
e
);
}
else
{
that
.
$message
.
error
(
res
.
message
);
}
...
...
Please
register
or
sign in
to post a comment