Browse Source

1. 更新模板
2. 更新业务流程

xujunjie 1 year ago
parent
commit
4c85baead7
2 changed files with 2 additions and 49 deletions
  1. 0 48
      src/pages/Flow/FlowDetail.json
  2. 2 1
      src/utils/uploadExcelByUrl.js

+ 0 - 48
src/pages/Flow/FlowDetail.json

@@ -530,54 +530,6 @@
       "flow_id": 48,
       "node_type_psr": 2,
       "count": 0
-    },
-    {
-      "id": "node-d825c5a0-6077-4d64-a63c-5b3cde59211b",
-      "renderKey": "custom-rect",
-      "name": "custom-rect",
-      "label": "现金流",
-      "width": 120,
-      "height": 50,
-      "ports": {
-        "items": [
-          { "group": "top", "id": "3816dfce-c9a4-4655-9ecb-ecdc6f05fe53" },
-          { "group": "right", "id": "eab92693-4051-449f-b76c-b90587d47f70" },
-          { "group": "bottom", "id": "bb9edb5b-212e-491f-ac79-2bd9096739aa" },
-          { "group": "left", "id": "f65c9954-8273-4f77-9cae-a37cbafe147e" }
-        ]
-      },
-      "isCustom": true,
-      "parentKey": "custom",
-      "x": -789,
-      "y": 129,
-      "zIndex": 10,
-      "flow_id": 0,
-      "node_type_psr": 0,
-      "count": 0
-    },
-    {
-      "id": "node-050b15a7-5bc8-4091-bcc3-d48013eacadd",
-      "renderKey": "custom-rect",
-      "name": "custom-rect",
-      "label": "过程/终版PSR",
-      "width": 120,
-      "height": 50,
-      "ports": {
-        "items": [
-          { "group": "top", "id": "c52f65b7-3fb9-4e68-b039-05ab37414983" },
-          { "group": "right", "id": "fbba2fdc-f26d-488f-aaaf-f7ead51460a9" },
-          { "group": "bottom", "id": "37d3ccbf-3b3d-4e65-bd5a-cdafc81685b8" },
-          { "group": "left", "id": "8751b4b6-25ff-4843-9db0-a6ae4b7258e4" }
-        ]
-      },
-      "isCustom": true,
-      "parentKey": "custom",
-      "x": -789,
-      "y": 232,
-      "zIndex": 10,
-      "flow_id": 0,
-      "node_type_psr": 0,
-      "count": 0
     }
   ],
   "edges": [

+ 2 - 1
src/utils/uploadExcelByUrl.js

@@ -6,7 +6,8 @@ window.moment = moment
 
 const uploadExcelByUrl = (nodeType, versionId, project) => {
   const TEMPLATE_URL =
-    'https://gt-digitization.oss-cn-hangzhou.aliyuncs.com/public/bom/psr0913.xlsx';
+    'https://water-service-test.oss-cn-hangzhou.aliyuncs.com/public/bom/psr1008.xlsx';
+    // 'https://gt-digitization.oss-cn-hangzhou.aliyuncs.com/public/bom/psr0913.xlsx';
 
   return new Promise((resolve, reject) => {
     LuckyExcel.transformExcelToLuckyByUrl(