|
|
@ -767,12 +767,6 @@ export default { |
|
|
|
message: '手机号格式有误' |
|
|
|
}) |
|
|
|
} |
|
|
|
this.submit() |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
async submit() { |
|
|
|
if (this.fmData.isCHeck && this.userInfo && this.userInfo.resiHomeId) { |
|
|
|
const { user } = this.$store.state |
|
|
|
if (user.agencyId == this.userInfo.resiAgencyId) { |
|
|
@ -783,14 +777,23 @@ export default { |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.fmData.isReplace = '1' |
|
|
|
this.submit() |
|
|
|
}).catch(() => { |
|
|
|
this.fmData.isReplace = '0' |
|
|
|
this.submit() |
|
|
|
}); |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else this.submit() |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
async submit() { |
|
|
|
|
|
|
|
let url = '' |
|
|
|
if (this.formType === 'add') { |
|
|
|
url = '/epmetuser/icMoveIn/add' |
|
|
|