浏览代码

撤回全实现

dengyu 5 月之前
父节点
当前提交
201e049167

+ 1 - 3
src/hooks/vueflowHooks.ts

@@ -1,5 +1,3 @@
-import { MessagePlugin } from "tdesign-vue-next";
-
 export const isStraightFlow = (nodes: any[], edges: any[]) => {
   let isSerial = false;
   let message = "非标准直线型流程图";
@@ -61,7 +59,7 @@ export const useSnakeLayoutHook = (
 ) => {
   let [isStraight, msg] = isStraightFlow(nodes, edges);
   if (!isStraight) {
-    MessagePlugin.warning(msg);
+    ElMessage.warning(msg);
     return nodes; //这里要返回nodes, 因为外面要用到
   }
 

+ 8 - 8
src/views/base/craftManagement/route/components/configs.ts

@@ -407,14 +407,14 @@ export const comTypes: comType[] = [
     compentName: "设备记录",
     compentType: "shebeijilu",
   },
-  {
-    compentName: "紧固",
-    compentType: "jingu",
-  },
-  {
-    compentName: "调试配对",
-    compentType: "tiaoshipipei",
-  },
+  // {
+  //   compentName: "紧固",
+  //   compentType: "jingu",
+  // },
+  // {
+  //   compentName: "调试配对",
+  //   compentType: "tiaoshipipei",
+  // },
   /*{
 		compentName: "铭牌绑定",
 		compentType: "mingpai",

+ 1 - 1
src/views/base/craftManagement/route/components/processComponent.vue

@@ -85,7 +85,7 @@
       <div v-else>
         <div class="tipTitle">{{ tipTitle }}</div>
         <SetExcel />
-      </div>
+      </div>fder
     </div>
   </div>
 </template>