From 9c11fd4d1e30fc121c30afa62b5e2d0670222195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com> Date: Tue, 10 Sep 2024 02:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=8F=B0=E6=B5=81=E7=A8=8B=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E9=A1=B5=E9=9D=A2=E5=88=9D=E7=89=88=E5=AE=8C=E6=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/task/antvX6.vue | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/views/task/task/antvX6.vue b/src/views/task/task/antvX6.vue index b598cb7..c829004 100644 --- a/src/views/task/task/antvX6.vue +++ b/src/views/task/task/antvX6.vue @@ -37,6 +37,13 @@ :taskId="taskId"> + + + + + @@ -48,6 +55,7 @@ import { findByNodeId } from '@/api/task/task' import formData from '/src/views/components/task/formData.vue' import formJoin from '/src/views/components/task/formJoin.vue' import dataOutInput from '/src/views/components/task/formDataOut.vue' +import ruleForm from "@/views/components/task/rule/index"; export default { name: "antvX6", @@ -55,11 +63,13 @@ export default { formData, formJoin, dataOutInput, + ruleForm, }, data() { return { //数据输出弹窗界面 taskDataOutPut:false, + ruleOpen: false, //任务设计添加表弹窗 taskInputAdd:false, //联查界面 @@ -102,7 +112,7 @@ export default { data:{} }, { - id: 4, + id: 5, name: "规则", image: require("@/assets/img/5.png"), data:{} @@ -118,6 +128,7 @@ export default { taskInputForm:false, formData:false, formJoin:false, + ruleDestroy:false, formOut:false, taskId:this.$route.params.id, }; @@ -127,6 +138,12 @@ export default { this.initGraph(); }, methods: { + + ruleDestroyValue(data) { + this.ruleDestroy = data; + this.ruleOpen = data; + }, + findFormValue(){ this.formData=false; this.taskInputForm=false; @@ -194,6 +211,10 @@ export default { this.taskDataOutPut = true; this.formOut = true; } + if (thisData == "规则") { + this.ruleOpen = true; + this.ruleDestroy = true; + } });