|
@@ -406,7 +406,7 @@ export default {
|
|
let appid = '?appId='+this.$appId
|
|
let appid = '?appId='+this.$appId
|
|
let corpId = '&corpId='+localStorage.getItem('corpId')
|
|
let corpId = '&corpId='+localStorage.getItem('corpId')
|
|
// let corpId = '&corpId=ding011f57ab048cf202ffe93478753d9884'
|
|
// let corpId = '&corpId=ding011f57ab048cf202ffe93478753d9884'
|
|
- let page = '&page='+encodeURIComponent(`pages/workbench/apply/apply?id=${encodeURIComponent(row)}`)//encodeURIComponent('小米')
|
|
|
|
|
|
+ let page = '&page='+encodeURIComponent(`pages/workbench/apply/apply?item=${encodeURIComponent(row)}`)//encodeURIComponent('小米')
|
|
let urls = url+appid+corpId+page
|
|
let urls = url+appid+corpId+page
|
|
var qrcode = new QRCode('qrcode', {
|
|
var qrcode = new QRCode('qrcode', {
|
|
text: urls, // 二维码内容
|
|
text: urls, // 二维码内容
|
|
@@ -425,7 +425,7 @@ export default {
|
|
this.innerVisible = true
|
|
this.innerVisible = true
|
|
// 使用$nextTick确保数据渲染
|
|
// 使用$nextTick确保数据渲染
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.payOrder(row.id)
|
|
|
|
|
|
+ this.payOrder(row)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 关闭弹框,清除已经生成的二维码
|
|
// 关闭弹框,清除已经生成的二维码
|