From 6e789330b38f1a376f401c0f55833716809cac0f Mon Sep 17 00:00:00 2001
From: "liang.chao" <1360241448@qq.com>
Date: Sat, 29 Nov 2025 16:54:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/fileManager/index.vue | 59 ++++++++++++--------------------
src/views/fileTransfer/audit.vue | 18 ++++++++--
2 files changed, 37 insertions(+), 40 deletions(-)
diff --git a/src/views/fileManager/index.vue b/src/views/fileManager/index.vue
index d52873d9..67aa2163 100644
--- a/src/views/fileManager/index.vue
+++ b/src/views/fileManager/index.vue
@@ -19,13 +19,11 @@
>
-
+
{{ formatFileStatus(row.fileStatus) }}
-
+
-
-
-
+
diff --git a/src/views/fileTransfer/audit.vue b/src/views/fileTransfer/audit.vue
index 3c23ba40..3f51d1d5 100644
--- a/src/views/fileTransfer/audit.vue
+++ b/src/views/fileTransfer/audit.vue
@@ -20,9 +20,9 @@
>
- {{
- getStatusText(row.auditStatus)
- }}
+
+ {{ getStatusText(row.auditStatus) }}
+
@@ -126,6 +126,18 @@ export default {
return '未知状态'
}
},
+ getStatusType(status) {
+ switch (status) {
+ case '0':
+ return 'warning'; // 黄色 - 待审批
+ case '1':
+ return 'success'; // 绿色 - 审批通过
+ case '2':
+ return 'danger'; // 红色 - 审批驳回
+ default:
+ return 'info'; // 灰色 - 未知状态
+ }
+ },
searchReset() {
this.query = {};
this.onLoad(this.page);