|
|
@ -40,6 +40,14 @@ |
|
|
|
label-width="150px" |
|
|
|
style="display: block" |
|
|
|
> |
|
|
|
<el-input |
|
|
|
v-if="formType == 'detail'" |
|
|
|
class="item_width_2" |
|
|
|
placeholder="请输入来源地" |
|
|
|
disabled |
|
|
|
v-model="fmData.allName" |
|
|
|
/> |
|
|
|
<template v-else> |
|
|
|
<el-select |
|
|
|
v-model.trim="fmData.villageId" |
|
|
|
placeholder="请选择小区" |
|
|
@ -115,6 +123,7 @@ |
|
|
|
> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</template> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item |
|
|
@ -256,16 +265,17 @@ |
|
|
|
label-width="150px" |
|
|
|
style="display: block" |
|
|
|
> |
|
|
|
<el-cascader ref="nowArea" class="item_width_1" :props="areaProps" |
|
|
|
v-model="nowAllCode" clearable @change="handleNowArea"></el-cascader> |
|
|
|
<!-- <el-input |
|
|
|
class="item_width_1" |
|
|
|
<el-input |
|
|
|
v-if="formType == 'detail'" |
|
|
|
class="item_width_2" |
|
|
|
placeholder="请输入来源地" |
|
|
|
disabled |
|
|
|
v-model="fmData.sourceAddress" |
|
|
|
> --> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
/> |
|
|
|
<el-cascader v-else ref="nowArea" class="item_width_1" :props="areaProps" |
|
|
|
v-model="nowAllCode" clearable @change="handleNowArea"></el-cascader> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
<el-form-item |
|
|
|
label="详细地址" |
|
|
|
prop="address" |
|
|
@ -500,7 +510,7 @@ export default { |
|
|
|
message: `请联系${data.resiAgencyName}迁出该居民后操作` |
|
|
|
}) |
|
|
|
this.btnDisable = true |
|
|
|
} |
|
|
|
} else this.btnDisable = false |
|
|
|
this.userInfo = { ...data } |
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
@ -771,13 +781,13 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async handleComfirm() { |
|
|
|
this.btnDisable = true |
|
|
|
|
|
|
|
// setTimeout(() => { |
|
|
|
// this.btnDisable = false |
|
|
|
// }, 10000) |
|
|
|
this.$refs['ref_form'].validate((valid, messageObj) => { |
|
|
|
if (!valid) { |
|
|
|
app.util.validateRule(messageObj) |
|
|
|
// app.util.validateRule(messageObj) |
|
|
|
this.btnDisable = false |
|
|
|
} else { |
|
|
|
if (!formVltHelper.userOrMobile(this.fmData.mobile)) { |
|
|
@ -786,6 +796,7 @@ export default { |
|
|
|
message: '手机号格式有误' |
|
|
|
}) |
|
|
|
} |
|
|
|
this.btnDisable = true |
|
|
|
if (this.fmData.isCheck && this.userInfo && this.userInfo.resiHomeId) { |
|
|
|
const { user } = this.$store.state |
|
|
|
if (user.agencyId == this.userInfo.resiAgencyId) { |
|
|
@ -804,8 +815,8 @@ export default { |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else this.submit() |
|
|
|
} |
|
|
|
this.submit() |
|
|
|
|
|
|
|
} |
|
|
|
}) |
|
|
@ -846,6 +857,7 @@ export default { |
|
|
|
this.orgId = '' |
|
|
|
this.nowAllCode = [] |
|
|
|
this.btnDisable = false |
|
|
|
this.userInfo = {} |
|
|
|
this.fmData = iniFmData() |
|
|
|
} |
|
|
|
} |
|
|
|