Browse Source

dd

shibei_master
13176889840 4 years ago
parent
commit
fb1b9f1ffa
  1. 13
      src/views/modules/base/epidemic/travelForm.vue

13
src/views/modules/base/epidemic/travelForm.vue

@ -155,7 +155,7 @@
style="display: block">
<el-input class="item_width_1"
type="textarea"
maxlength="1000"
maxlength="500"
show-word-limit
:autosize="{ minRows: 4, maxRows: 10 }"
clearable
@ -182,7 +182,7 @@
style="display: block">
<el-input class="item_width_1"
type="textarea"
maxlength="1000"
maxlength="500"
show-word-limit
:autosize="{ minRows: 4, maxRows: 10 }"
clearable
@ -320,19 +320,18 @@ export default {
},
async initForm (type, row) {
console.log('row----', row)
this.formType = type
this.formData.agencyId = this.agencyId
if (type != 'add') {
this.formData = { ...row, channel: [], content: '' }
this.sourceAllCode = row.sourceAddressPathCode && row.sourceAddressPathCode.split(',')
if (row.userType == 'icresi') this.isFromResi = true
else this.nowAllCode = row.presentAddressPathCode.split(',')
else this.nowAllCode = row.presentAddressPathCode && row.presentAddressPathCode.split(',')
}
this.formData.agencyId = this.agencyId
// this.$refs['ref_form'].resetFields();
this.formType = type
console.log('formtype', type)
},

Loading…
Cancel
Save