deltask(record) {
const that = this;
this.$confirm({
title: "确认删除",
content: "确定删除任务吗?删除之后不可恢复",
okText: "确认",
cancelText: "取消",
onOk() {
that.$axios.get(api.delTask(record.id,that.xxwybs)).then((res) => {
that.$notification.success({ message: "删除任务成功",description: "操作提示" });
that.taskByXxwybs = res.data;
});
},
});
},
是否删除提示框
最新推荐文章于 2022-09-16 12:01:45 发布