|
|
@ -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) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|