update 完成设备信息

This commit is contained in:
lb
2023-08-24 15:36:38 +08:00
parent 54d22292c1
commit 3d24159743
5 changed files with 40 additions and 33 deletions

View File

@@ -36,7 +36,12 @@
@close="cancel"
@cancel="cancel"
@confirm="submitForm">
<DialogForm v-if="open" ref="form" :dataForm="form" :rows="rows" />
<DialogForm
v-if="open"
key="index-dialog-form"
ref="form"
:dataForm="form"
:rows="rows" />
</base-dialog>
<!-- 设备 详情 - 编辑 -->
@@ -186,7 +191,7 @@ export default {
type: 'input',
label: '编码',
placeholder: '请输入设备编码',
param: 'codes',
param: 'code',
},
{
type: 'button',
@@ -358,7 +363,6 @@ export default {
// some async request
return [];
},
style: 'overflow-x: auto;',
},
],
],
@@ -431,16 +435,6 @@ export default {
};
this.resetForm('form');
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNo = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm('queryForm');
this.handleQuery();
},
/** 新增按钮操作 */
handleAdd() {
this.reset();