Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
connector-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sunshine.wang@elitesland.com
connector-admin
Commits
e5066b83
Commit
e5066b83
authored
Jun 17, 2022
by
sunshine.wang@elitesland.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
条码生成页面完善
parent
02909b64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
49 deletions
+17
-49
QrCodeDemo.vue
src/views/components/QrCodeDemo.vue
+17
-49
No files found.
src/views/components/QrCodeDemo.vue
View file @
e5066b83
...
...
@@ -34,39 +34,11 @@
type=
"primary"
@
click=
"firstButton"
>
点击生成二维码
</el-button>
<!--
<el-button
style=
"float: right; padding: 3px 0"
type=
"text"
>
打印二维码
</el-button
>
-->
<el-button
type=
"text"
style=
"float: right; padding: 3px 0"
@
click=
"dialogTableVisibleOne = true"
>
打印二维码
</el-button>
<el-dialog
title=
""
:visible
.
sync=
"dialogTableVisibleOne"
width=
"50%"
>
<div
style=
"margin-left:180px"
>
<qrcode-vue
:value=
"qrCode"
:size=
"size"
level=
"H"
/>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogTableVisibleOne = false"
>
取 消
</el-button>
<el-button
type=
"danger"
>
打印二维码
</el-button>
<el-button
type=
"primary"
@
click=
"dialogTableVisibleOne = false"
>
确 定
</el-button>
</span>
</el-dialog>
<!--
<el-dialog
:visible
.
sync=
"dialogTableVisibleOne"
width=
"500px"
>
<qrcode-vue
:value=
"qrCode"
:size=
"size"
level=
"H"
/>
</el-dialog>
-->
</div>
<div
class=
"item1"
>
<div>
...
...
@@ -87,32 +59,11 @@
type=
"primary"
@
click=
"SecButton"
>
点击生成条形码
</el-button>
<el-button
type=
"text"
style=
"float: right; padding: 3px 0"
@
click=
"dialogTableVisibleTwo = true"
>
打印条形码
</el-button>
<el-dialog
title=
""
:visible
.
sync=
"dialogTableVisibleTwo"
width=
"60%"
>
<div
style=
"margin-left:100px"
>
<barcode
:value=
"maBarCode"
:format=
"barcodeFormat"
/>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogTableVisibleTwo = false"
>
取 消
</el-button>
<el-button
type=
"danger"
>
打印条形码
</el-button>
<el-button
type=
"primary"
@
click=
"dialogTableVisibleTwo = false"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
<div
class=
"item2"
>
<div>
...
...
@@ -124,6 +75,23 @@
</el-col>
</el-row>
</div>
<el-dialog
title=
""
:visible
.
sync=
"dialogTableVisibleOne"
width=
"50%"
>
<div
style=
"margin-left:180px"
>
<qrcode-vue
:value=
"qrCode"
:size=
"size"
level=
"H"
/>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"danger"
>
打印二维码
</el-button>
</span>
</el-dialog>
<el-dialog
title=
""
:visible
.
sync=
"dialogTableVisibleTwo"
width=
"60%"
>
<div
style=
"margin-left:100px"
>
<barcode
:value=
"maBarCode"
:format=
"barcodeFormat"
/>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"danger"
>
打印条形码
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment