积分申请

This commit is contained in:
liuye
2023-07-06 09:55:44 +08:00
parent e715e6976c
commit 6618b5600b

View File

@@ -106,9 +106,10 @@ export default {
}, },
onShow() { onShow() {
document.title = '积分代申请' document.title = '积分代申请'
this.agentSign()
}, },
methods: { methods: {
...mapActions(['injectJWeixin']), ...mapActions(['injectJWeixin', 'agentSign']),
submit() { submit() {
if(this.flag) return if(this.flag) return
@@ -193,7 +194,6 @@ export default {
this.getType() this.getType()
}, },
scan() { scan() {
this.$loading()
this.injectJWeixin('scanQRCode').then(() => { this.injectJWeixin('scanQRCode').then(() => {
wx.scanQRCode({ wx.scanQRCode({
desc: '扫描居民信息', desc: '扫描居民信息',
@@ -205,7 +205,6 @@ export default {
info.realName = info.name info.realName = info.name
var userList = [{...info}] var userList = [{...info}]
this.handleSelectUser(userList) this.handleSelectUser(userList)
uni.hideLoading()
}, },
error: (res) => { error: (res) => {
console.log(res) console.log(res)