假数据

This commit is contained in:
‘937886381’
2024-01-12 10:00:17 +08:00
parent 95b70b2415
commit 44ca0595ec
13 changed files with 224 additions and 46 deletions

View File

@@ -156,6 +156,26 @@ export default {
};
this.resetForm('form');
},
deleteHandle(id, name, index, data) {
this.$confirm(`确认要删除产线名为${data.productionLineName}的数据项?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.urlOptions.deleteURL(id).then(({ data }) => {
this.$message({
message: "操作成功",
type: "success",
duration: 1500,
onClose: () => {
this.getDataList();
},
});
});
})
.catch(() => { });
},
buttonClick(val) {
switch (val.btnName) {
case 'search':