Commit 06c3c266 by 潘建波

修改删除资源限制

1 parent c862e7e1
No preview for this file type
No preview for this file type
export let config = {
"logstatus":true, //是否开启日志收集
"hadertitle":"郑州高新区数智治理AI视频分析平台",//系统标题
"logintitle":"郑州高新区数智治理AI视频分析平台"//展示标题
"hadertitle":"AI视频分析平台",//系统标题
"logintitle":"AI视频分析平台"//展示标题
}
\ No newline at end of file
{"commit":"be2a32402ea665ed65bd621aa8acc1b6e4ce81ab","commitDate":"2020-10-26 11:4","buildDate":"2020-10-26 11:32","version":"2.0.8","info":"提交标题修改"}
\ No newline at end of file
{"commit":"c862e7e1e924d49cb22b704c04321d2ecd3e2724","commitDate":"2020-10-26 11:41","buildDate":"2020-10-27 14:9","version":"2.0.8","info":"增加标题配置"}
\ No newline at end of file
......@@ -193,6 +193,14 @@ export default {
this.$emit("clickHandle", data, "camera");
},
nodeDelClick(node, data) {
if(data.children.length > 0) {
this.$message({
type: "warning",
message: "该组织下存在子节点,不允许直接删除!"
});
return false;
}
this.$confirm("此操作将永久删除该选项, 是否继续?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
......@@ -297,7 +305,6 @@ export default {
});
},
delTreenode(data){
debugger
this.$refs.catree.remove(data.vchan_refid)
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!