From 5e3b8b3597504932bd92f1508a519539c7f62345 Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Mon, 30 Jun 2025 18:51:31 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E6=89=B9=E6=AC=A1=E8=A7=84=E5=88=99?=
=?UTF-8?q?=E5=9B=BE=E7=AC=AC=E4=B8=80=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 1 +
src/api/emis/emisTransPlanRule.js | 13 +
.../emis/emisTransPlanRuleTopoGraph/index.vue | 265 ++++++++++++++++++
3 files changed, 279 insertions(+)
create mode 100644 src/views/emis/emisTransPlanRuleTopoGraph/index.vue
diff --git a/package.json b/package.json
index b7ae8df5..c8bb2a54 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
+ "@antv/g6": "^4.8.25",
"@fingerprintjs/fingerprintjs": "^4.3.0",
"@riophae/vue-treeselect": "0.4.0",
"axios": "0.24.0",
diff --git a/src/api/emis/emisTransPlanRule.js b/src/api/emis/emisTransPlanRule.js
index c4af6642..9fc09f49 100644
--- a/src/api/emis/emisTransPlanRule.js
+++ b/src/api/emis/emisTransPlanRule.js
@@ -59,3 +59,16 @@ export function delEmisTransPlanRule(id) {
method: 'delete'
})
}
+
+//获取组批次规则图数据
+export function emisTransPlanRuleTree(data) {
+ console.log('data',data);
+ return request({
+ url: '/emis/emisTransPlanRule/tree',
+ params: {
+ lineCode: data.lineCode,
+ productType: data.productType,
+ },
+ method: 'get'
+ })
+}
diff --git a/src/views/emis/emisTransPlanRuleTopoGraph/index.vue b/src/views/emis/emisTransPlanRuleTopoGraph/index.vue
new file mode 100644
index 00000000..e2c04f7a
--- /dev/null
+++ b/src/views/emis/emisTransPlanRuleTopoGraph/index.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+