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 @@
- 正在推送台账信息,请稍候... 预计需要30秒左右 已等待: {{ countdown }}秒