From 694b7632ed5cc966689a218a43a8e4b586bf6655 Mon Sep 17 00:00:00 2001 From: zzb <3086529947@qq.com> Date: Mon, 16 Nov 2026 16:59:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(plants):=20=E6=96=B0=E5=A2=9E=E7=94=B5?= =?UTF-8?q?=E5=8E=82=E9=80=89=E6=8B=A9=E5=BA=95=E9=83=A8=E5=81=9C=E9=9D=A0?= =?UTF-8?q?=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重构选厂页面布局,替换原有认证信息展示区域,新增已选电厂信息展示和进入功能,优化用户选厂操作流程。 --- src/mock/index.js | 4 +- src/views/plants/index.vue | 121 ++++++++++++++++++++++++++++--------- 2 files changed, 95 insertions(+), 30 deletions(-) diff --git a/src/mock/index.js b/src/mock/index.js index 0ef72be..3e6605f 100644 --- a/src/mock/index.js +++ b/src/mock/index.js @@ -18,7 +18,7 @@ const PRESENTATION_IDS = ["csg-jj", "sg-jj"]; export const MOCK_PLANTS = [ { id: "csg-jj", - name: "南网讲解", + name: "南网案例", operator: "南网", region: "讲解", code: "NJ", @@ -30,7 +30,7 @@ export const MOCK_PLANTS = [ }, { id: "sg-jj", - name: "国网讲解", + name: "国网案例", operator: "国网", region: "讲解", code: "GJ", diff --git a/src/views/plants/index.vue b/src/views/plants/index.vue index 00d525b..0fc125b 100644 --- a/src/views/plants/index.vue +++ b/src/views/plants/index.vue @@ -45,20 +45,9 @@
-
-
- - 电厂统一接入 -
-

选择虚拟电厂

-

您的账号已获得多个平台的访问权限,选择一个电厂开始工作。

-
-
- - - 统一认证已通过 - {{ authSummary }} - +
+ + 电厂统一接入
@@ -89,7 +78,7 @@
+ + +
+
+ + + +
+ 当前选择 + {{ selectedPlant ? selectedPlant.name : "尚未选择虚拟电厂" }} +
+
+ +