yangyin
2024-12-12 e0ed3e702352c1e55f50a056384ee81c65422bb8
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