Browse Source

Merge branch 'dev-huji' into dev

test
13176889840 4 years ago
parent
commit
e0aeef51de
  1. 10
      src/views/modules/base/huji/immigration/edit.vue

10
src/views/modules/base/huji/immigration/edit.vue

@ -771,13 +771,13 @@ export default {
}, },
async handleComfirm() { async handleComfirm() {
this.btnDisable = true
// setTimeout(() => { // setTimeout(() => {
// this.btnDisable = false // this.btnDisable = false
// }, 10000) // }, 10000)
this.$refs['ref_form'].validate((valid, messageObj) => { this.$refs['ref_form'].validate((valid, messageObj) => {
if (!valid) { if (!valid) {
app.util.validateRule(messageObj) // app.util.validateRule(messageObj)
this.btnDisable = false this.btnDisable = false
} else { } else {
if (!formVltHelper.userOrMobile(this.fmData.mobile)) { if (!formVltHelper.userOrMobile(this.fmData.mobile)) {
@ -786,6 +786,7 @@ export default {
message: '手机号格式有误' message: '手机号格式有误'
}) })
} }
this.btnDisable = true
if (this.fmData.isCheck && this.userInfo && this.userInfo.resiHomeId) { if (this.fmData.isCheck && this.userInfo && this.userInfo.resiHomeId) {
const { user } = this.$store.state const { user } = this.$store.state
if (user.agencyId == this.userInfo.resiAgencyId) { if (user.agencyId == this.userInfo.resiAgencyId) {
@ -804,8 +805,8 @@ export default {
return return
} }
} }
}
} else this.submit() this.submit()
} }
}) })
@ -846,6 +847,7 @@ export default {
this.orgId = '' this.orgId = ''
this.nowAllCode = [] this.nowAllCode = []
this.btnDisable = false this.btnDisable = false
this.userInfo = {}
this.fmData = iniFmData() this.fmData = iniFmData()
} }
} }

Loading…
Cancel
Save