假数据

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

@@ -143,6 +143,26 @@ export default {
});
}
},
deleteHandle(id, name, index, data) {
this.$confirm(`确认要删除序号为${index}的数据项?`, "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.urlOptions.deleteURL(id).then(({ data }) => {
this.$message({
message: "操作成功",
type: "success",
duration: 1500,
onClose: () => {
this.getDataList();
},
});
});
})
.catch(() => { });
},
// 获取数据列表
getDict() {
getWorkOrderList().then((res) => {