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 @@