|
|
@ -190,6 +190,17 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
<el-form-item v-if="formData.trafficType==='5'" |
|
|
|
label="具体方式" |
|
|
|
style="display: block" |
|
|
|
prop="trafficTypeExplain"> |
|
|
|
<el-input class="item_width_4" |
|
|
|
placeholder="请输入具体方式" |
|
|
|
clearable |
|
|
|
v-model="formData.trafficTypeExplain"> |
|
|
|
</el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="7天内旅居史情况" |
|
|
@ -447,12 +458,15 @@ export default { |
|
|
|
presentAddress: [ |
|
|
|
{ required: true, message: '来曹居住地点不能为空', trigger: 'change' }, |
|
|
|
], |
|
|
|
// detailAddress: [ |
|
|
|
// { required: true, message: '来曹居住详细地址不能为空', trigger: 'change' }, |
|
|
|
// ], |
|
|
|
detailAddress: [ |
|
|
|
{ required: true, message: '来曹居住详细地址不能为空', trigger: 'change' }, |
|
|
|
], |
|
|
|
|
|
|
|
trafficType: [ |
|
|
|
{ required: true, message: '返回方式不能为空', trigger: 'change' }, |
|
|
|
], |
|
|
|
trafficTypeExplain: [ |
|
|
|
{ required: true, message: '具体方式不能为空', trigger: 'change' }, |
|
|
|
] |
|
|
|
}, |
|
|
|
areaProps: { |
|
|
@ -504,7 +518,7 @@ export default { |
|
|
|
|
|
|
|
} else { |
|
|
|
const { user } = this.$store.state |
|
|
|
this.nowAllCode = user.areaCodePath |
|
|
|
// this.nowAllCode = user.areaCodePath |
|
|
|
} |
|
|
|
// this.$refs['ref_form'].resetFields(); |
|
|
|
|
|
|
@ -526,7 +540,7 @@ export default { |
|
|
|
this.isFromResi = false |
|
|
|
this.formData.userType = 'input' |
|
|
|
const { user } = this.$store.state |
|
|
|
this.nowAllCode = user.areaCodePath |
|
|
|
// this.nowAllCode = user.areaCodePath |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -659,9 +673,10 @@ export default { |
|
|
|
console.log('deda-------', data) |
|
|
|
this.formData = { ...data, channel: [], content: '' } |
|
|
|
this.sourceAllCode = data.sourceAddressPathCode && data.sourceAddressPathCode.split(',') |
|
|
|
this.nowAllCode = data.presentAddressPathCode && data.presentAddressPathCode.split(',') |
|
|
|
|
|
|
|
if (data.userType == 'icresi') this.isFromResi = true |
|
|
|
else this.nowAllCode = data.presentAddressPathCode && data.presentAddressPathCode.split(',') |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg) |
|
|
|
} |
|
|
|