From e0ed3e702352c1e55f50a056384ee81c65422bb8 Mon Sep 17 00:00:00 2001
From: yangyin <18723093654@163.com>
Date: 星期四, 12 十二月 2024 17:17:54 +0800
Subject: [PATCH] 提交代码

---
 src/views/project/yw/dataManage/workFlowMgr/WorkFlowIndex.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/views/project/yw/dataManage/workFlowMgr/WorkFlowIndex.vue b/src/views/project/yw/dataManage/workFlowMgr/WorkFlowIndex.vue
index c46d38a..bea9012 100644
--- a/src/views/project/yw/dataManage/workFlowMgr/WorkFlowIndex.vue
+++ b/src/views/project/yw/dataManage/workFlowMgr/WorkFlowIndex.vue
@@ -74,9 +74,12 @@
 									<i class="ywifont ywicon-ceshi !text-[20px] text-blue-400 cursor-pointer" @click="openChatTest(scope.row)"></i>
 								</el-tooltip>
 								<el-tooltip effect="dark" content="宸ヤ綔娴佽璁�" placement="top">
-									<i class="ywifont ywicon-jiegousheji !text-[15px] text-blue-400 cursor-pointer" @click="gotoFlowDesign(scope.row)"></i>
+									<i
+										class="ywifont ywicon-jiegousheji !text-[15px] text-blue-400 cursor-pointer"
+										@click="gotoFlowDesign(scope.row)"
+									></i>
 								</el-tooltip>
-								
+
 								<el-tooltip effect="dark" content="鍒犻櫎" placement="top">
 									<i
 										class="ywifont ywicon-shanchu !text-[17px] text-red-400 cursor-pointer"
@@ -129,12 +132,11 @@
 import AHMContainer from '/@/components/layout/AHMContainer.vue';
 import LeftTreeByMgr from '/@/components/tree/leftTreeByMgr.vue';
 import { useQueryTable } from '/@/hooks/useQueryTable';
+import router from '/@/router';
 import { useCompRef } from '/@/utils/types';
 import { convertListToTree, debounce, travelTree } from '/@/utils/util';
 import { SupervisorPublished, supervisorPublishedMap } from '/@/views/project/yw/lowCode/sqlAmis/types';
 import { OptClassificationMap, classificationEnum } from '/@/views/types/metrics';
-import { gotoRoute } from '/@/utils/route';
-import router from '/@/router';
 //#region ====================== 宸︿晶鏍戞暟鎹紝tree init ======================
 const leftTreeRef = useCompRef(LeftTreeByMgr);
 const treeLoading = ref(false);
@@ -252,9 +254,8 @@
 };
 
 const updateOpt = (formValue) => {
-	console.log('馃殌 ~ formValue:', formValue);
 	travelTree(tableData.value, (value, index, array) => {
-		if (value.group_id === formValue.group_id) {
+		if (value.id === formValue.id) {
 			array[index] = {
 				...array[index],
 				...formValue,
@@ -317,9 +318,9 @@
 const gotoFlowDesign = (row) => {
 	router.push({
 		name: 'FlowApp',
-		query:{
-			id:row.id
-		}
+		query: {
+			id: row.id,
+		},
 	});
 };
 //#endregion

--
Gitblit v1.9.3