Browse Source

addEditFromApiPop

noToken
安虹睿 1 year ago
parent
commit
359a9cd340
  1. 13
      PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue
  2. 1
      PC/InterFace.Dash/src/components/umyTable/index.vue

13
PC/InterFace.Dash/src/components/addEditFromApiPop/index.vue

@ -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={}

1
PC/InterFace.Dash/src/components/umyTable/index.vue

@ -215,6 +215,7 @@
stripe
:border="true"
style="width: 100%"
height="500"
>
<el-table-column
v-for="(head) in showJsonHeader"

Loading…
Cancel
Save