From be1fb382ff11ea1b0809c786b74844cc2b79e9d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=99=BD=E8=8F=9C?=
<43331987+JiaLiBai@users.noreply.github.com>
Date: Sun, 13 Jul 2025 00:29:19 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AD=96=E7=95=A5=E8=BF=90=E8=A1=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ems/dzjk.js | 9 +--
src/router/ems.js | 2 +
src/views/ems/dzjk/clpz/ClContainer.vue | 34 +++++----
src/views/ems/dzjk/clpz/Setting.vue | 91 ++++++++++++++++++-------
src/views/ems/dzjk/clpz/clyx/index.vue | 76 +++++++++++++++------
src/views/ems/dzjk/clpz/index.vue | 2 +-
6 files changed, 150 insertions(+), 64 deletions(-)
diff --git a/src/api/ems/dzjk.js b/src/api/ems/dzjk.js
index 0d768b8..711f2c1 100644
--- a/src/api/ems/dzjk.js
+++ b/src/api/ems/dzjk.js
@@ -183,16 +183,16 @@ export function strategyRunningList(siteId) {
})
}
//停止策略
-export function stopStrategyRunning(siteId) {
+export function stopStrategyRunning(id) {
return request({
- url: `/system/strategyRunning/stop?siteId=${siteId}`,
+ url: `/system/strategyRunning/stop?id=${id}`,
method: 'get'
})
}
// 获取所有主策略
-export function getMainStrategyList(siteId) {
+export function getMainStrategyList() {
return request({
- url: `/system/strategyRunning/getMainStrategyList?siteId=${siteId}`,
+ url: `/system/strategyRunning/getMainStrategyList`,
method: 'get'
})
}
@@ -211,3 +211,4 @@ export function configStrategy(data) {
data
})
}
+
diff --git a/src/router/ems.js b/src/router/ems.js
index a84640d..bcce906 100644
--- a/src/router/ems.js
+++ b/src/router/ems.js
@@ -167,6 +167,8 @@ export const dzjk=[
{
path: 'xftg',
component: () => import('@/views/ems/dzjk/clpz/xftg/index.vue'),
+ hidden:true,
+ breadcrumb: false,
name: 'DzjkClpzXftg',
meta: { title: '削峰填谷',breadcrumb: false,activeMenu: '/dzjk',activeSecondMenuName:'DzjkClpz'},
}
diff --git a/src/views/ems/dzjk/clpz/ClContainer.vue b/src/views/ems/dzjk/clpz/ClContainer.vue
index 0dbe484..d683f54 100644
--- a/src/views/ems/dzjk/clpz/ClContainer.vue
+++ b/src/views/ems/dzjk/clpz/ClContainer.vue
@@ -1,32 +1,41 @@
-