参数收集清单 法规工程师选择增加删除按钮
This commit is contained in:
@@ -92,6 +92,8 @@
|
||||
<PersonnelSelection
|
||||
:query="{db_field_name:'lawEngineer',db_field_txt:$t('regulatoryEngineer')}"
|
||||
:personneQuery="formInline"
|
||||
:isDelete='true'
|
||||
@deleteData='deleteData'
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="formInline.lawEngineerName"/>
|
||||
</a-form-model-item>
|
||||
@@ -110,6 +112,8 @@
|
||||
<PersonnelSelection
|
||||
:query="{db_field_name:'engineeringInterfacePerson',db_field_txt:$t('engineeringInterfacePerson')}"
|
||||
:personneQuery="formInline"
|
||||
:isDelete='true'
|
||||
@deleteData='deleteData'
|
||||
@change="PersonnelSelectionChange"
|
||||
v-model="formInline.engineeringInterfacePersonName"/>
|
||||
</a-form-model-item>
|
||||
@@ -317,6 +321,10 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
deleteData(name){
|
||||
this.formInline[name] = ''
|
||||
this.formInline = {...this.formInline}
|
||||
},
|
||||
getData() {
|
||||
this.visible = true
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user