Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
f42718eb
Commit
f42718eb
authored
Aug 07, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是
parent
f8e8e954
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
ElectronicContract.vue
src/components/Contract/ElectronicContract.vue
+21
-21
No files found.
src/components/Contract/ElectronicContract.vue
View file @
f42718eb
...
...
@@ -988,23 +988,23 @@
</div>
<div
class=
"EC_floatdiv"
>
<input
type=
"button"
class=
"normalBtn"
@
click=
"getinvalid()"
value=
"作废"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"isShowFade=true
,qrcode()
"
value=
"客户签字"
/>
<input
type=
"button"
class=
"normalBtn"
@
click=
"isShowFade=true"
value=
"客户签字"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
/>
</div>
</div>
<div
class=
"fade"
v-show=
"isShowFade"
@
click=
"disQrCode"
></div>
<div
class=
"fade"
v-show=
"isShowFade"
></div>
<div
class=
"qrCodeDiv"
v-show=
"isShowFade"
>
<div
style=
"margin-top:15px;"
>
请扫码签字
</div>
<div
id=
"qrcode"
style=
"margin:25px;"
ref=
"qrcode"
>
</div>
<i
class=
"iconfont icon-cha Ec_cha"
@
click=
"disQrCode"
></i>
<i
class=
"iconfont icon-cha Ec_cha"
></i>
</div>
</div>
</template>
<
script
>
import
moment
from
'moment'
import
QRCode
from
'qrcodejs2'
// 引入qrcode
//
import QRCode from 'qrcodejs2' // 引入qrcode
export
default
{
data
()
{
return
{
...
...
@@ -1021,24 +1021,24 @@
};
},
methods
:
{
qrcode
()
{
let
qrcode
=
new
QRCode
(
'qrcode'
,
{
width
:
150
,
height
:
150
,
// text: "http://test.erp.viitto.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// text: "http://www.test.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
// text: "192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
//text: "https://baidu.com", // 二维码地址
text
:
"http://192.168.0.119:8080/#/clientConfirm?"
+
'TCID='
+
this
.
msg
.
TCID
+
'&'
+
'orderID='
+
this
.
msg
.
orderID
,
// 二维码地址
//
qrcode () {
//
let qrcode = new QRCode('qrcode', {
//
width: 150,
//
height: 150,
//
// text: "http://test.erp.viitto.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
//
// text: "http://www.test.com/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
//
// text: "192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
//
//text: "https://baidu.com", // 二维码地址
//
text: "http://192.168.0.119:8080/#/clientConfirm?"+'TCID='+this.msg.TCID+'&'+'orderID='+this.msg.orderID, // 二维码地址
colorDark
:
"#000"
,
colorLight
:
"#fff"
,
})
},
disQrCode
(){
this
.
isShowFade
=
false
;
this
.
$refs
.
qrcode
.
innerHTML
=
''
;
},
//
colorDark : "#000",
//
colorLight : "#fff",
//
})
//
},
//
disQrCode(){
//
this.isShowFade=false;
//
this.$refs.qrcode.innerHTML='';
//
},
//获取数据
getList
(){
this
.
apiJavaPost
(
"/api/contract/getContractInfo"
,
this
.
msg
,
res
=>
{
...
...
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