|
|
@ -74,6 +74,15 @@ |
|
|
|
</el-select> |
|
|
|
|
|
|
|
<!-- 文本框 --> |
|
|
|
<!-- <el-input |
|
|
|
v-else |
|
|
|
type="textarea" |
|
|
|
autosize |
|
|
|
resize="none" |
|
|
|
v-model="formData[item.prop]" |
|
|
|
:placeholder="item.placeholder || '请输入' + item.label" |
|
|
|
:disabled="Boolean(item.disabled)" |
|
|
|
></el-input> --> |
|
|
|
<el-input |
|
|
|
v-else |
|
|
|
v-model="formData[item.prop]" |
|
|
@ -185,7 +194,9 @@ export default { |
|
|
|
this.formItemData = JSON.parse(JSON.stringify(_dtoList)) |
|
|
|
// 编辑格式:特殊处理默认值 |
|
|
|
if(this.handleType == 'edit' && this.editRowData){ |
|
|
|
|
|
|
|
this.formData = JSON.parse(JSON.stringify(this.editRowData)) |
|
|
|
}else{ |
|
|
|
this.formData = {} |
|
|
|
} |
|
|
|
// 表单验证格式化 |
|
|
|
this.formRules={} |
|
|
|