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
e0bd1cbc
authored
2023-08-29 09:57:32 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书预览
1 parent
df0bc1ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
src/views/system/dymbgl/components/editDialog.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/system/dymbgl/components/editDialog.vue
View file @
e0bd1cb
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-29 09:
22:33
* @LastEditTime: 2023-08-29 09:
50:32
-->
<
template
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
...
...
@@ -185,15 +185,16 @@
that
.
ruleForm
.
tmpcontent
=
document
.
getElementById
(
"S1"
).
value
;
if
(
that
.
ruleForm
.
tmpno
==
'zsdy'
)
{
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='0' src='http://192.168.2.38:9000/bdcdj/zhengshu_image/bdcqzs2.jpg'>"
);
LODOP
.
SET_SHOW_MODE
(
"BKIMG_PRINT"
,
1
);
//打印包含背景图
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"B4"
,
1
);
}
else
if
(
that
.
ruleForm
.
tmpno
==
'zmdy'
)
{
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='0' src='http://192.168.2.38:9000/bdcdj/zhengshu_image/bdcdjzm.jpg'>"
);
LODOP
.
SET_SHOW_MODE
(
"BKIMG_PRINT"
,
1
);
//打印包含背景图
}
LODOP
.
SET_SHOW_MODE
(
"BKIMG_PRINT"
,
1
);
//打印包含背景图
that
.
loadStatus
=
'2'
;
},
1000
);
};
if
([
'zsdy'
,
'zmdy'
].
includes
(
that
.
ruleForm
.
tmpno
))
{
LODOP
.
SET_PRINT_MODE
(
"RESELECT_ORIENT"
,
true
);
// 设置为横向打印
}
LODOP
.
PRINT_DESIGN
();
//打印设计或者打印维护需要放到最后
}
}
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
e0bd1cb
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-2
8 17:18:19
* @LastEditTime: 2023-08-2
9 09:56:47
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -124,6 +124,7 @@
drawTextOnImage
()
{
function
getByteLen
(
val
)
{
var
len
=
0
;
if
(
!
val
)
return
len
;
for
(
var
i
=
0
;
i
<
val
.
length
;
i
++
)
{
var
length
=
val
.
charCodeAt
(
i
);
if
(
length
>=
0
&&
length
<=
128
)
{
...
...
Please
register
or
sign in
to post a comment