修改bug

This commit is contained in:
‘937886381’
2024-03-20 15:54:57 +08:00
parent 75309dd9ea
commit 6adbdac0a4
17 changed files with 254 additions and 137 deletions

View File

@@ -93,6 +93,8 @@ export default {
labelField: 'name',
valueField: 'id',
param: 'equipmentId',
filterable: true
// filter
},
{
type: 'input',
@@ -158,6 +160,26 @@ export default {
})
})
},
deleteHandle(id, name, index) {
this.$confirm(`是否确认删除设备参数bom${ name}`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.urlOptions.deleteURL(id).then(({ data }) => {
this.$message({
message: "操作成功",
type: "success",
duration: 1500,
onClose: () => {
this.getDataList();
},
});
});
})
.catch(() => { });
},
// 获取数据列表
getDataList() {
this.dataListLoading = true;