From 80bdda9abcb08ccd00eea56bd9665e02c7394c6d Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Wed, 28 May 2025 16:45:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E4=BB=B6=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E3=80=81=E6=96=B0=E5=A2=9E=E9=A1=B9=E7=9B=AE=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 +- src/api/system-boot/csstatisticalset.ts | 8 + src/router/static.ts | 31 +- .../pqs/cockpit/setUp/components/popup.vue | 579 ++++++++++-------- .../pqs/cockpit/setUp/components/popup1.vue | 374 +++++++++++ src/views/pqs/cockpit/setUp/index.vue | 26 +- .../setting/dictionary/component/add.vue | 137 +++-- .../setting/dictionary/component/index.vue | 8 + 8 files changed, 845 insertions(+), 321 deletions(-) create mode 100644 src/views/pqs/cockpit/setUp/components/popup1.vue diff --git a/package.json b/package.json index f20bcbfb..a0646379 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "echarts-gl": "^2.0.9", "echarts-liquidfill": "^3.1.0", "echarts4": "npm:echarts@^4.9.0", - "element-plus": "^2.8.7", + "element-plus": "^2.9.11", "exceljs": "^4.4.0", "file-saver": "^2.0.5", "grid-layout-plus": "^1.1.0", @@ -63,6 +63,7 @@ "steady-xml": "0.1.0", "svg-pan-zoom": "^3.6.2", "use-element-plus-theme": "^0.0.5", + "vexip-ui": "^2.3.28", "vue": "^3.3.11", "vue-baidu-map-3x": "^1.0.35", "vue-baidu-map-offline": "^1.0.7", diff --git a/src/api/system-boot/csstatisticalset.ts b/src/api/system-boot/csstatisticalset.ts index 5385f0a5..259ab59a 100644 --- a/src/api/system-boot/csstatisticalset.ts +++ b/src/api/system-boot/csstatisticalset.ts @@ -60,3 +60,11 @@ export const queryActivatePage = () => { method: 'post' }) } +// 更具id 查询驾驶舱页面 +export const queryById = (params: any) => { + return createAxios({ + url: '/system-boot/dashboard/queryById', + method: 'post', + params + }) +} diff --git a/src/router/static.ts b/src/router/static.ts index 3afd44e5..43b2a0c7 100644 --- a/src/router/static.ts +++ b/src/router/static.ts @@ -172,12 +172,14 @@ export const adminBaseRoute = { children: [ { path: 'aListOfLoadData', - component: () => import('@/views/pqs/harmonicMonitoring/detailed/division/components/aListOfLoadData.vue'), + component: () => + import('@/views/pqs/harmonicMonitoring/detailed/division/components/aListOfLoadData.vue'), name: '负荷数据列表页面', meta: { title: pageTitle('router.aListOfLoadData') } - },{ + }, + { path: 'compute', component: () => import('@/views/pqs/harmonicMonitoring/detailed/division/components/compute.vue'), name: '贡献度计算页面', @@ -192,8 +194,7 @@ export const adminBaseRoute = { meta: { title: pageTitle('router.detail') } - }, - + } ] }, { @@ -212,8 +213,26 @@ export const adminBaseRoute = { meta: { title: pageTitle('router.addUser') } - }, - + } + ] + }, + { + path: 'cockpit', + name: '项目管理', + meta: { + title: pageTitle('runManage'), + icon: 'ep:management', + alwaysShow: true + }, + children: [ + { + path: 'popup', + component: () => import('@/views/pqs/cockpit/setUp/components/popup.vue'), + name: '新增项目', + meta: { + title: pageTitle('router.popup') + } + } ] }, { diff --git a/src/views/pqs/cockpit/setUp/components/popup.vue b/src/views/pqs/cockpit/setUp/components/popup.vue index d8a9d5f1..6026d619 100644 --- a/src/views/pqs/cockpit/setUp/components/popup.vue +++ b/src/views/pqs/cockpit/setUp/components/popup.vue @@ -1,14 +1,7 @@ diff --git a/src/views/pqs/cockpit/setUp/components/popup1.vue b/src/views/pqs/cockpit/setUp/components/popup1.vue new file mode 100644 index 00000000..d8a9d5f1 --- /dev/null +++ b/src/views/pqs/cockpit/setUp/components/popup1.vue @@ -0,0 +1,374 @@ + + + diff --git a/src/views/pqs/cockpit/setUp/index.vue b/src/views/pqs/cockpit/setUp/index.vue index 64d6060a..255cb5b3 100644 --- a/src/views/pqs/cockpit/setUp/index.vue +++ b/src/views/pqs/cockpit/setUp/index.vue @@ -80,8 +80,6 @@ @current-change="onTableCurrentChange" > - -