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
d39a1b5e
authored
2022-11-30 15:07:25 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改证书打印内容
1 parent
7c93ae9d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
21 deletions
src/views/workflow/components/zsdy.vue
src/views/workflow/components/zsdy.vue
View file @
d39a1b5
...
...
@@ -2,7 +2,6 @@
<dialogBox
title=
"不动产权证书"
width=
"60%"
isMain
v-model=
"myValue"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
...
...
@@ -28,7 +27,13 @@
</el-form-item>
</el-form>
</div>
<div
class=
"aaaa"
v-if=
"bdcqz.bdcqzlx==1"
:style=
"
{backgroundImage: 'url(' + require('@/image/bdcqz/bdcqzs2.jpg') + ')',}">
<div
class=
"aaaa"
v-if=
"bdcqz.bdcqzlx == 1"
:style=
"
{
backgroundImage: 'url(' + require('@/image/bdcqz/bdcqzs2.jpg') + ')',
}"
>
<div
class=
"bdcqzh"
>
<span>
{{
bdcqz
.
sjjc
}}
</span>
<span>
{{
bdcqz
.
djnd
}}
</span>
<span>
{{
bdcqz
.
sxqc
}}
</span>
<span>
{{
bdcqz
.
sxh
}}
</span>
...
...
@@ -71,7 +76,13 @@
</div>
</div>
</div>
<div
class=
"bdcdjzm"
v-else
:style=
"
{backgroundImage: 'url(' + require('@/image/bdcqz/bdcdjzm.jpg') + ')',}">
<div
class=
"bdcdjzm"
v-else
:style=
"
{
backgroundImage: 'url(' + require('@/image/bdcqz/bdcdjzm.jpg') + ')',
}"
>
<div
class=
"bdcqzh"
>
<span>
{{
bdcqz
.
sjjc
}}
</span>
<span>
{{
bdcqz
.
djnd
}}
</span>
<span>
{{
bdcqz
.
sxqc
}}
</span>
<span>
{{
bdcqz
.
sxh
}}
</span>
...
...
@@ -116,12 +127,12 @@
<
script
>
import
{
datas
}
from
"../javascript/zsyl.js"
;
import
{
readYsxlh
,
certificate
,
getSlsqBdcqzList
,
bdcqzPreview
}
from
"@/api/bdcqz.js"
;
import
{
readYsxlh
,
certificate
,
bdcqzPreview
}
from
"@/api/bdcqz.js"
;
export
default
{
components
:
{},
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bdcqz
:
{
type
:
Object
,
default
:
{}
},
bdcqz
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
data
()
{
return
{
...
...
@@ -130,8 +141,6 @@ export default {
ysxlh
:
[],
//列名称对象
columns
:
[],
//选择的不动产权证文件
bdcqz
:
this
.
bdcqz
,
ruleForm
:
{
bsmBdcqz
:
""
,
szmc
:
"不动产权证书"
,
...
...
@@ -149,21 +158,18 @@ export default {
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
;
if
(
val
)
{
this
.
columns
=
datas
.
columns
();
},
},
created
()
{
this
.
ysxlhList
();
}
},
},
methods
:
{
//获取印刷序列号列表
ysxlhList
()
{
console
.
log
(
this
.
bdcqz
);
readYsxlh
({
zslx
:
this
.
bdcqz
.
bdcqzlx
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
ysxlh
=
res
.
result
;
console
.
log
(
this
.
ysxlh
);
//this.bdcqz.ysxlh= this.ysxlh[0];
}
});
},
...
...
@@ -171,25 +177,24 @@ export default {
this
.
$emit
(
"input"
,
false
);
},
handleSubmit
()
{
this
.
$emit
(
"input"
,
false
);
this
.
savePrintRecord
();
},
//获取证书内容
getRowValue
(
code
)
{
var
value
=
this
.
bdcqz
[
code
];
return
value
;
},
getBdcqzPreview
(){
bdcqzPreview
(
this
.
bdcqz
).
then
(
res
=>
{
})
getBdcqzPreview
()
{
bdcqzPreview
(
this
.
bdcqz
).
then
((
res
)
=>
{});
},
//
打印证书
childFn
()
{
//
保存打印记录
savePrintRecord
()
{
this
.
ruleForm
.
bsmBdcqz
=
this
.
bdcqz
.
bsmBdcqz
;
this
.
ruleForm
.
bdcqzlx
=
this
.
bdcqz
.
bdcqzlx
;
this
.
ruleForm
.
szzh
=
this
.
bdcqz
.
bdcqzh
;
certificate
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$
message
.
success
(
"打印成功"
);
this
.
$
emit
(
"input"
,
false
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
@@ -215,7 +220,7 @@ export default {
}
.zmyl-box
{
//
position
:
relative
;
position
:
absolute
;
position
:
absolute
;
height
:
600px
;
width
:
280px
;
margin-left
:
775px
;
...
...
Please
register
or
sign in
to post a comment