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
3d92380f
authored
2024-01-17 10:33:45 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:不动产证明
1 parent
6b62fe64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/dialog/zsdy.vue
View file @
3d92380
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 10:
13:32
* @LastEditTime: 2024-01-17 10:
33:10
-->
<
template
>
<div>
...
...
@@ -644,7 +644,14 @@
// bdcdyh
this
.
bdcdyh
=
this
.
bdcqz
.
bdcdyh
.
slice
(
0
,
6
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
6
,
12
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
12
,
19
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
19
,
this
.
bdcqz
.
bdcdyh
.
length
)
// 保存当前字体设置
const
originalFont
=
context
.
font
;
// 设置新的字体大小
context
.
font
=
'16px 楷体'
;
// 替换为你想要的字体和大小
// 绘制 bdcdyh
context
.
fillText
(
this
.
bdcdyh
?
this
.
bdcdyh
:
''
,
775
,
373
);
// 恢复原始字体设置
context
.
font
=
originalFont
;
// qlqtzk
const
maxWidth
=
290
;
// 最大宽度限制
let
lines
=
this
.
bdcqz
.
qlqtzk
?
this
.
bdcqz
.
qlqtzk
.
split
(
'\n'
).
filter
(
i
=>
i
&&
i
.
trim
())
:
[];
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
3d92380
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-17 10:
17
:29
* @LastEditTime: 2024-01-17 10:
32
:29
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"text-align: center;"
>
...
...
@@ -568,11 +568,18 @@
})
}
// bdcdyh
this
.
bdcdyh
=
this
.
bdcqz
.
bdcdyh
.
slice
(
0
,
6
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
6
,
12
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
12
,
19
)
+
' '
+
this
.
bdcqz
.
bdcdyh
.
slice
(
19
,
this
.
bdcqz
.
bdcdyh
.
length
)
// context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373);
// 保存当前字体设置
const
originalFont
=
context
.
font
;
// 设置新的字体大小
context
.
font
=
'16px 楷体'
;
// 替换为你想要的字体和大小
// 绘制 bdcdyh
context
.
fillText
(
this
.
bdcdyh
?
this
.
bdcdyh
:
''
,
775
,
373
);
// 恢复原始字体设置
context
.
font
=
originalFont
;
// qlqtzk
const
maxWidth
=
295
;
// 最大宽度限制
let
lines
=
this
.
bdcqz
.
qlqtzk
?
this
.
bdcqz
.
qlqtzk
.
split
(
'\n'
).
filter
(
i
=>
i
&&
i
.
trim
())
:
[];
...
...
Please
register
or
sign in
to post a comment