From e9d7231a755edb58a211369184f860fb71e3f81c Mon Sep 17 00:00:00 2001 From: guanj Date: Mon, 12 Jan 2026 11:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/cs-system-boot/manage.ts | 48 +- src/components/tree/select.vue | 7 +- src/views/auth/role/popupForm.vue | 2 +- src/views/govern/cloudDeviceEntry/index.vue | 20 +- .../device/planData/components/popup.vue | 1090 ++++++++--------- src/views/govern/manage/basic/dictionary.vue | 19 +- .../govern/manage/basic/popupDictionary.vue | 24 +- .../govern/manage/basic/popupVersion.vue | 18 +- src/views/govern/manage/basic/version.vue | 33 +- .../govern/monitorRecall/steadyRecall.vue | 37 +- src/views/govern/mxgraph/graphList/index.vue | 12 +- .../homePage/components/routingConfig.vue | 3 +- src/views/pqs/cockpit/homePage/index.vue | 3 +- .../pqs/cockpit/setUp/components/popup.vue | 4 +- src/views/system/scheduledTasks/form.vue | 11 +- src/views/system/scheduledTasks/index.vue | 414 +++---- 16 files changed, 923 insertions(+), 822 deletions(-) diff --git a/src/api/cs-system-boot/manage.ts b/src/api/cs-system-boot/manage.ts index ddf7008..6a9017e 100644 --- a/src/api/cs-system-boot/manage.ts +++ b/src/api/cs-system-boot/manage.ts @@ -1,20 +1,30 @@ -import createAxios from '@/utils/request' - -// 更新问题状态 -export function auditFeedBack(data: any) { - return createAxios({ - url: '/cs-system-boot/feedback/auditFeedBack', - method: 'post', - params: data - }) -} - -//下载文件 -export function downLoadFile(filePath: any) { - return createAxios({ - url: '/system-boot/file/download', - method: 'get', - responseType: 'blob', - params: { filePath: filePath } - }) +import createAxios from '@/utils/request' + +// 更新问题状态 +export function auditFeedBack(data: any) { + return createAxios({ + url: '/cs-system-boot/feedback/auditFeedBack', + method: 'post', + params: data + }) +} + +//下载文件 +export function downLoadFile(filePath: any) { + return createAxios({ + url: '/system-boot/file/download', + method: 'get', + responseType: 'blob', + params: { filePath: filePath } + }) +} + +//获取文件的一个短期url +export function getFileUrl(filePath: any) { + return createAxios({ + url: '/system-boot/file/getFileUrl', + method: 'get', + // responseType: 'blob', + params: { filePath: filePath } + }) } \ No newline at end of file diff --git a/src/components/tree/select.vue b/src/components/tree/select.vue index 8ef41b2..83ad5ed 100644 --- a/src/components/tree/select.vue +++ b/src/components/tree/select.vue @@ -218,11 +218,12 @@ const updateNodeCheckStatus = (currentCount: number) => { const allNodes = treeRef.value.store._getAllNodes() allNodes.forEach((node: any) => { if (node.level === 3) { // 监测点层级 + // 如果已达到最大数量且该节点未被选中,则禁用勾选 - if (isMaxSelected && !node.checked) { - node.disabled = true + if (isMaxSelected && !node.data.checked) { + node.data.disabled = true } else { - node.disabled = false + node.data.disabled = false } } }) diff --git a/src/views/auth/role/popupForm.vue b/src/views/auth/role/popupForm.vue index 46462f1..7a2b1c4 100644 --- a/src/views/auth/role/popupForm.vue +++ b/src/views/auth/role/popupForm.vue @@ -1,5 +1,5 @@ - + + +