Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -52,7 +52,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
if(this.flag) return
|
if(this.flag) return
|
||||||
|
|
||||||
if(!this.form.applyItem) {
|
if(!this.form.applyItem) {
|
||||||
return this.$u.toast('请输入申请事项')
|
return this.$u.toast('请输入申请事项')
|
||||||
@@ -67,15 +67,15 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.flag = true
|
this.flag = true
|
||||||
|
|
||||||
this.$http.post(`/app/appintegralmemberapply/addOrUpdate`,{...this.form}).then(res=> {
|
this.$http.post(`/app/appintegralmemberapply/addOrUpdate`,{...this.form}).then(res=> {
|
||||||
if(res.code == 0) {
|
if(res.code == 0) {
|
||||||
this.flag = false
|
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
}, 600)
|
}, 400)
|
||||||
}
|
}
|
||||||
|
}).catch(err=> {
|
||||||
|
this.$u.toast(err.message)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user