test
This commit is contained in:
@@ -102,10 +102,10 @@ export default {
|
|||||||
this.getDetail()
|
this.getDetail()
|
||||||
}
|
}
|
||||||
this.$dict.load(['clapEventStatus'])
|
this.$dict.load(['clapEventStatus'])
|
||||||
this.injectJWeixin(['scanQRCode'])
|
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '积分代申请'
|
document.title = '积分代申请'
|
||||||
|
this.injectJWeixin(['scanQRCode'])
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
...mapActions(['injectJWeixin']),
|
...mapActions(['injectJWeixin']),
|
||||||
@@ -198,10 +198,7 @@ export default {
|
|||||||
needResult: 1, // 默认为0,扫描结果由企业微信处理,1则直接返回扫描结果,
|
needResult: 1, // 默认为0,扫描结果由企业微信处理,1则直接返回扫描结果,
|
||||||
scanType: ["qrCode",], // 可以指定扫二维码还是条形码(一维码),默认二者都有
|
scanType: ["qrCode",], // 可以指定扫二维码还是条形码(一维码),默认二者都有
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
alert(JSON.stringify(res.resultStr))
|
var userList = [{...JSON.parse(res.resultStr), realName: JSON.parse(res.resultStr).name}]
|
||||||
alert(res.resultStr)
|
|
||||||
alert(res.resultStr.name)
|
|
||||||
var userList = [{...JSON.parse(res.resultStr), realName: res.resultStr.name}]
|
|
||||||
this.handleSelectUser(userList)
|
this.handleSelectUser(userList)
|
||||||
},
|
},
|
||||||
error: (res) => {
|
error: (res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user