|
@@ -237,12 +237,13 @@ export default {
|
|
light: '#ffffff'
|
|
light: '#ffffff'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- const url = 'officialPartnerNo=' + item.officialPartnerNo + '&codeType=hexiao'
|
|
|
|
- _this.shName = item.name
|
|
|
|
|
|
+ const url = 'officialPartnerNo=' + item.encryptedPartnerNo + '&codeType=hexiao'
|
|
|
|
+ _this.shName = item.name
|
|
|
|
+ console.log(item.encryptedPartnerNo)
|
|
if (url) {
|
|
if (url) {
|
|
QRCode.toDataURL(url, opts, function (err, url) {
|
|
QRCode.toDataURL(url, opts, function (err, url) {
|
|
_this.qrCode = url
|
|
_this.qrCode = url
|
|
- _this.isQrCodeModal = true
|
|
|
|
|
|
+ _this.isQrCodeModal = true
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -259,10 +260,10 @@ export default {
|
|
// },
|
|
// },
|
|
// 下载二维码
|
|
// 下载二维码
|
|
downloadCode (item) {
|
|
downloadCode (item) {
|
|
- const link = document.createElement('a')
|
|
|
|
- link.href = this.qrCode
|
|
|
|
- link.download = this.shName + '.png'
|
|
|
|
- link.click()
|
|
|
|
|
|
+ const link = document.createElement('a')
|
|
|
|
+ link.href = this.qrCode
|
|
|
|
+ link.download = this.shName + '.png'
|
|
|
|
+ link.click()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|