From 8527939eb1a5dbaa0fcfb3320b79c51d3e73ef59 Mon Sep 17 00:00:00 2001 From: guanj Date: Thu, 18 Jun 2026 16:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/cs-system-boot/device.ts | 8 + src/api/systerm.ts | 90 ++-- src/components/CnDialog/CnDialog.vue | 81 +++ .../components/overLimitDetails.vue | 2 +- src/components/echarts/rmsboxi.vue | 34 +- src/components/echarts/shushiboxi.vue | 30 +- src/components/wangEditor/index.vue | 210 +++++--- src/config/dialog.ts | 125 +++++ src/main.ts | 8 +- src/styles/app.scss | 6 - src/styles/dialog.scss | 53 ++ src/styles/index.scss | 11 +- src/template/dialog.vue | 2 +- src/utils/chartAxisHelper.ts | 75 ++- src/utils/request.ts | 13 +- src/views/auth/menu/popupApi.vue | 2 +- src/views/auth/menu/popupMenu.vue | 2 +- src/views/auth/userList/popupEdit.vue | 2 +- src/views/govern/alarm/multiCondition.vue | 2 +- src/views/govern/alarm/scopeConfig/form.vue | 2 +- .../govern/alarm/steadyStateEvent/index.vue | 6 +- .../components/monitoring.vue | 461 +++++++++--------- src/views/govern/device/control/index.vue | 50 +- .../device/control/nearRealTimeData.vue | 8 +- .../supplementaryRecruitment/history.vue | 2 +- .../tabs/components/harmonicSpectrum.vue | 5 +- .../control/tabs/components/realtrend.vue | 38 +- .../govern/device/control/testItemRecords.vue | 422 ++++++++-------- src/views/govern/device/disposition/index.vue | 1 + src/views/govern/device/fileService/index.vue | 2 +- src/views/govern/device/fileService/popup.vue | 2 +- src/views/govern/device/manage/popup.vue | 2 +- .../govern/device/officialUser/index.vue | 1 + .../device/planData/components/popup.vue | 33 +- .../govern/manage/basic/popupDictionary.vue | 2 +- .../manage/engineering/components/itemAdd.vue | 99 ++-- src/views/govern/manage/factory.vue | 233 ++++----- src/views/govern/manage/gplot/popupEdit.vue | 2 +- src/views/govern/setting/app/index.vue | 134 ++--- .../govern/setting/statisticalType/add.vue | 2 +- .../setting/statisticalType/binding.vue | 2 +- .../setting/dictionary/component/add.vue | 4 +- .../setting/dictionary/list/popupEdit.vue | 9 +- .../setting/dictionary/version/index.vue | 4 +- 44 files changed, 1329 insertions(+), 953 deletions(-) create mode 100644 src/components/CnDialog/CnDialog.vue create mode 100644 src/config/dialog.ts create mode 100644 src/styles/dialog.scss diff --git a/src/api/cs-system-boot/device.ts b/src/api/cs-system-boot/device.ts index fa59ec2..84b1e17 100644 --- a/src/api/cs-system-boot/device.ts +++ b/src/api/cs-system-boot/device.ts @@ -119,3 +119,11 @@ export function resetFactory(data: any) { params: data }) } +//修改mac后接入 +export function accessByUpdateMac(data: any) { + return createAxios({ + url: '/access-boot/device/accessByUpdateMac', + method: 'post', + params: data + }) +} diff --git a/src/api/systerm.ts b/src/api/systerm.ts index 14d2b7e..84d6041 100644 --- a/src/api/systerm.ts +++ b/src/api/systerm.ts @@ -1,45 +1,45 @@ -import createAxios from '@/utils/request' - -// 菜单修改 -export function updateMenu(params: anyObj) { - return createAxios({ - url: '/user-boot/function/update', - method: 'PUT', - data: params - }) -} - -export function addMenu(params: anyObj) { - return createAxios({ - url: '/user-boot/function/add', - method: 'POST', - data: params - }) -} - -export function delMenu(id: string) { - return createAxios({ - url: '/user-boot/function/delete?id=' + id, - method: 'delete' - }) -} -export function getTheme() { - return createAxios({ - url: '/system-boot/theme/getTheme', - method: 'get' - }) -} -export function addVersion(data:any) { - return createAxios({ - url: '/cs-system-boot/appVersion/add', - method: 'post', - data - }) -} -export function getLastData(data:any) { - return createAxios({ - url: '/cs-system-boot/appVersion/getLastData', - method: 'post', - params:data - }) -} +import createAxios from '@/utils/request' + +// 菜单修改 +export function updateMenu(params: anyObj) { + return createAxios({ + url: '/user-boot/function/update', + method: 'PUT', + data: params + }) +} + +export function addMenu(params: anyObj) { + return createAxios({ + url: '/user-boot/function/add', + method: 'POST', + data: params + }) +} + +export function delMenu(id: string) { + return createAxios({ + url: '/user-boot/function/delete?id=' + id, + method: 'delete' + }) +} +export function getTheme() { + return createAxios({ + url: '/system-boot/theme/getTheme', + method: 'get' + }) +} +export function addVersion(data:any) { + return createAxios({ + url: '/cs-system-boot/appVersion/add', + method: 'post', + data + }) +} +export function getLastData(data:any) { + return createAxios({ + url: '/cs-system-boot/appVersion/getLastData', + method: 'post', + params:data + }) +} diff --git a/src/components/CnDialog/CnDialog.vue b/src/components/CnDialog/CnDialog.vue new file mode 100644 index 0000000..082c845 --- /dev/null +++ b/src/components/CnDialog/CnDialog.vue @@ -0,0 +1,81 @@ + + + diff --git a/src/components/cockpit/overLimitStatistics/components/overLimitDetails.vue b/src/components/cockpit/overLimitStatistics/components/overLimitDetails.vue index bfffc34..4d92dc3 100644 --- a/src/components/cockpit/overLimitStatistics/components/overLimitDetails.vue +++ b/src/components/cockpit/overLimitStatistics/components/overLimitDetails.vue @@ -1,7 +1,7 @@