Commit 05207984 authored by 胡占生's avatar 胡占生 🇨🇳

fix: 点位管理增加删除限制操作

parent 5c77a1bc
File deleted
...@@ -630,6 +630,6 @@ function submitForm() { ...@@ -630,6 +630,6 @@ function submitForm() {
}); });
}; };
// getDeptTree(); getDeptTree();
getList(); getList();
</script> </script>
...@@ -168,6 +168,7 @@ ...@@ -168,6 +168,7 @@
> >
<el-button <el-button
link link
v-if="scope.row.runningState=='1'"
type="primary" type="primary"
icon="Delete" icon="Delete"
@click="algorithmManage.toDel(scope.row)" @click="algorithmManage.toDel(scope.row)"
...@@ -474,6 +475,7 @@ function changeState(data, e) { ...@@ -474,6 +475,7 @@ function changeState(data, e) {
runningState: e, runningState: e,
}, },
}).then(() => { }).then(() => {
proxy.$modal.msgSuccess("操作成功!");
algorithmManage.getList({ regionalId: data.regionalId }); algorithmManage.getList({ regionalId: data.regionalId });
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment