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
f12714bd
authored
2023-06-28 14:53:05 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:家庭房产
1 parent
4127271a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
src/views/sqcx/jtfc/components/printView.vue
src/views/sqcx/jtfc/components/printView.vue
View file @
f12714b
...
...
@@ -99,18 +99,20 @@
newDatez
:
getNewDate
(
2
)
}
},
mounted
()
{
this
.
generateQRCode
()
},
methods
:
{
generateQRCode
()
{
QRCode
.
toDataURL
(
this
.
form
.
djSqcxDO
.
cxbh
)
.
then
(
url
=>
{
this
.
qrcodeImage
=
url
})
.
catch
(
error
=>
{
console
.
error
(
error
);
})
watch
:
{
"form.djSqcxDO.cxbh"
:
{
handler
:
function
(
val
)
{
if
(
val
)
{
QRCode
.
toDataURL
(
val
)
.
then
(
url
=>
{
this
.
qrcodeImage
=
url
})
.
catch
(
error
=>
{
console
.
error
(
error
);
})
}
},
immediate
:
true
}
}
}
...
...
Please
register
or
sign in
to post a comment