补充一般:重要程度
This commit is contained in:
parent
753dc1a044
commit
21708135c8
|
|
@ -89,6 +89,7 @@
|
||||||
<text class="announcement-title">{{ announcement.title }}</text>
|
<text class="announcement-title">{{ announcement.title }}</text>
|
||||||
<view class="announcement-tags">
|
<view class="announcement-tags">
|
||||||
<view class="announcement-tag tag-pinned" v-if="announcement.top">置顶</view>
|
<view class="announcement-tag tag-pinned" v-if="announcement.top">置顶</view>
|
||||||
|
<view class="announcement-tag tag-general" v-if="announcement.level === '1'">一般</view>
|
||||||
<view class="announcement-tag tag-important" v-if="announcement.level === '2'">重要</view>
|
<view class="announcement-tag tag-important" v-if="announcement.level === '2'">重要</view>
|
||||||
<view class="announcement-tag tag-urgent" v-if="announcement.level === '3'">紧急</view>
|
<view class="announcement-tag tag-urgent" v-if="announcement.level === '3'">紧急</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -847,6 +848,10 @@ const getTagCustomStyle = (status) => {
|
||||||
background-color: #f56c6c;
|
background-color: #f56c6c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tag-general {
|
||||||
|
background-color: #4caf50;
|
||||||
|
}
|
||||||
|
|
||||||
.tag-important {
|
.tag-important {
|
||||||
background-color: #ff9800;
|
background-color: #ff9800;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="notice-create-page">
|
<view class="notice-create-page">
|
||||||
<scroll-view class="content-scroll" scroll-y>
|
<view class="content-scroll" >
|
||||||
<view class="form-card">
|
<view class="form-card">
|
||||||
<view class="section-title">公告信息</view>
|
<view class="section-title">公告信息</view>
|
||||||
|
|
||||||
|
|
@ -117,7 +117,7 @@
|
||||||
至少选择接收用户或接收部门中的任意一项。
|
至少选择接收用户或接收部门中的任意一项。
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</view>
|
||||||
|
|
||||||
<view class="submit-bar">
|
<view class="submit-bar">
|
||||||
<uv-button
|
<uv-button
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
</text>
|
</text>
|
||||||
<view class="notice-tags">
|
<view class="notice-tags">
|
||||||
<view v-if="noticeDetail.top" class="notice-tag tag-pinned">置顶</view>
|
<view v-if="noticeDetail.top" class="notice-tag tag-pinned">置顶</view>
|
||||||
|
<view v-if="noticeDetail.level === '1'" class="notice-tag tag-general">一般</view>
|
||||||
<view v-if="noticeDetail.level === '2'" class="notice-tag tag-important">重要</view>
|
<view v-if="noticeDetail.level === '2'" class="notice-tag tag-important">重要</view>
|
||||||
<view v-if="noticeDetail.level === '3'" class="notice-tag tag-urgent">紧急</view>
|
<view v-if="noticeDetail.level === '3'" class="notice-tag tag-urgent">紧急</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -383,6 +384,10 @@ const previewAttachment = (attach) => {
|
||||||
background-color: #f56c6c;
|
background-color: #f56c6c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tag-general {
|
||||||
|
background-color: #4caf50;
|
||||||
|
}
|
||||||
|
|
||||||
.tag-important {
|
.tag-important {
|
||||||
background-color: #ff9800;
|
background-color: #ff9800;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -134,6 +134,7 @@
|
||||||
</text>
|
</text>
|
||||||
<view class="notice-tags">
|
<view class="notice-tags">
|
||||||
<view v-if="notice.top" class="notice-tag tag-pinned">置顶</view>
|
<view v-if="notice.top" class="notice-tag tag-pinned">置顶</view>
|
||||||
|
<view v-if="notice.level === '1'" class="notice-tag tag-general">一般</view>
|
||||||
<view v-if="notice.level === '2'" class="notice-tag tag-important">重要</view>
|
<view v-if="notice.level === '2'" class="notice-tag tag-important">重要</view>
|
||||||
<view v-if="notice.level === '3'" class="notice-tag tag-urgent">紧急</view>
|
<view v-if="notice.level === '3'" class="notice-tag tag-urgent">紧急</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -166,6 +167,7 @@
|
||||||
</text>
|
</text>
|
||||||
<view class="notice-tags">
|
<view class="notice-tags">
|
||||||
<view v-if="notice.top" class="notice-tag tag-pinned">置顶</view>
|
<view v-if="notice.top" class="notice-tag tag-pinned">置顶</view>
|
||||||
|
<view v-if="notice.level === '1'" class="notice-tag tag-general">一般</view>
|
||||||
<view v-if="notice.level === '2'" class="notice-tag tag-important">重要</view>
|
<view v-if="notice.level === '2'" class="notice-tag tag-important">重要</view>
|
||||||
<view v-if="notice.level === '3'" class="notice-tag tag-urgent">紧急</view>
|
<view v-if="notice.level === '3'" class="notice-tag tag-urgent">紧急</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -269,6 +271,7 @@ const searchForm = ref({
|
||||||
// 重要程度选项
|
// 重要程度选项
|
||||||
const levelOptions = [
|
const levelOptions = [
|
||||||
{ label: '全部', value: '' },
|
{ label: '全部', value: '' },
|
||||||
|
{ label: '一般', value: '1' },
|
||||||
{ label: '重要', value: '2' },
|
{ label: '重要', value: '2' },
|
||||||
{ label: '紧急', value: '3' }
|
{ label: '紧急', value: '3' }
|
||||||
];
|
];
|
||||||
|
|
@ -754,6 +757,10 @@ onBeforeUnmount(() => {
|
||||||
background-color: #f56c6c;
|
background-color: #f56c6c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tag-general {
|
||||||
|
background-color: #4caf50;
|
||||||
|
}
|
||||||
|
|
||||||
.tag-important {
|
.tag-important {
|
||||||
background-color: #ff9800;
|
background-color: #ff9800;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user