From 21708135c836415aac65564d9d359f66d4446105 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Wed, 19 Nov 2025 15:28:32 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=B8=80=E8=88=AC=EF=BC=9A?=
=?UTF-8?q?=E9=87=8D=E8=A6=81=E7=A8=8B=E5=BA=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/index/ContentDashboard.vue | 5 +++++
pages/notice/create/index.vue | 4 ++--
pages/notice/detail/index.vue | 5 +++++
pages/notice/list/index.vue | 7 +++++++
4 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/components/index/ContentDashboard.vue b/components/index/ContentDashboard.vue
index 04ef57a..217648a 100644
--- a/components/index/ContentDashboard.vue
+++ b/components/index/ContentDashboard.vue
@@ -89,6 +89,7 @@
{{ announcement.title }}
置顶
+ 一般
重要
紧急
@@ -847,6 +848,10 @@ const getTagCustomStyle = (status) => {
background-color: #f56c6c;
}
+.tag-general {
+ background-color: #4caf50;
+}
+
.tag-important {
background-color: #ff9800;
}
diff --git a/pages/notice/create/index.vue b/pages/notice/create/index.vue
index 54de51f..a405be3 100644
--- a/pages/notice/create/index.vue
+++ b/pages/notice/create/index.vue
@@ -1,6 +1,6 @@
-
+
公告信息
@@ -117,7 +117,7 @@
至少选择接收用户或接收部门中的任意一项。
-
+
置顶
+ 一般
重要
紧急
@@ -383,6 +384,10 @@ const previewAttachment = (attach) => {
background-color: #f56c6c;
}
+.tag-general {
+ background-color: #4caf50;
+}
+
.tag-important {
background-color: #ff9800;
}
diff --git a/pages/notice/list/index.vue b/pages/notice/list/index.vue
index 5bba973..7f2050d 100644
--- a/pages/notice/list/index.vue
+++ b/pages/notice/list/index.vue
@@ -134,6 +134,7 @@
置顶
+ 一般
重要
紧急
@@ -166,6 +167,7 @@
置顶
+ 一般
重要
紧急
@@ -269,6 +271,7 @@ const searchForm = ref({
// 重要程度选项
const levelOptions = [
{ label: '全部', value: '' },
+ { label: '一般', value: '1' },
{ label: '重要', value: '2' },
{ label: '紧急', value: '3' }
];
@@ -754,6 +757,10 @@ onBeforeUnmount(() => {
background-color: #f56c6c;
}
+.tag-general {
+ background-color: #4caf50;
+}
+
.tag-important {
background-color: #ff9800;
}