From 4470052c3b6bdeb18e45987f8aa293d1e93d0552 Mon Sep 17 00:00:00 2001
From: Ludc <2870569285@qq.com>
Date: 星期二, 18 十一月 2025 11:59:12 +0800
Subject: [PATCH] 所有文件上传接口增加文件安全校验逻辑。
---
Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
index 4dae476..eab7324 100644
--- a/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ClassifyAuthDialog.vue
@@ -142,7 +142,7 @@
if (code === "classify_view") {
row.checkTheStatus = check;
} else if (!row.checkTheStatus) {
- this.$message.warning('娓呭厛鍕鹃�夋煡鐪嬫寜閽紒');
+ this.$message.warning('璇峰厛鍕鹃�夋煡鐪嬫寜閽紒');
// 鍦ㄦ潯浠朵笉婊¤冻鏃跺皢澶氶�夋鐘舵�佽缃负false
row[id] = false;
}
@@ -289,7 +289,9 @@
classifyAuthList: [],
isCLear: false, //榛樿鏄竻绌�
classifyId: this.TreeNode.oid,
+ authType: 'classify_auth',
};
+ console.log('classifyAuthData',this.classifyAuthData);
let isRepeat = false;
if (this.classifyAuthData.length > 0) {
// 閬嶅巻鏁扮粍锛屾瘮杈冨悗闈㈢殑瀵硅薄鐨剅oleData鏄惁涓庡墠闈㈢殑瀵硅薄鐩哥瓑
@@ -314,7 +316,7 @@
let itemButtonList = [];
//绛涢�夊嚭鎸夐挳鍕鹃�変负true鐨勫垪
for (let key in item) {
- if (item[key] === true) {
+ if (item[key] === true && key !== 'checkTheStatus') {
itemButtonList.push(key);
}
}
--
Gitblit v1.9.3