From 0cf9387ab8795b2366b64886c280902d5621a0a2 Mon Sep 17 00:00:00 2001
From: fengachen <373943794@qq.com>
Date: Wed, 20 Oct 2021 14:37:44 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E6=B6=88=E6=81=AF?=
=?UTF-8?q?=E6=8F=90=E9=86=92=E7=B1=BB=E5=9E=8B=E7=9A=84=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/UserAnnouncementList.vue | 40 ++++++++++++++++++++---
1 file changed, 35 insertions(+), 5 deletions(-)
diff --git a/src/views/system/UserAnnouncementList.vue b/src/views/system/UserAnnouncementList.vue
index bebc446..8b04501 100644
--- a/src/views/system/UserAnnouncementList.vue
+++ b/src/views/system/UserAnnouncementList.vue
@@ -7,8 +7,16 @@
-
+
+ {{ item.name }}
+
@@ -80,7 +88,6 @@ import ShowAnnouncement from '@/components/tools/ShowAnnouncement'
import {JeroListMixin} from '@/mixins/JeroListMixin'
import {RangeDateMixin} from '@/mixins/RangeDateMixin'
import DynamicNotice from '../../components/tools/DynamicNotice'
-import JDictSelectTag from '@comp/dict/JDictSelectTag'
import JDate from '@comp/tools/JDate'
import {Bus} from '@comp/tools/Bus'
@@ -92,7 +99,6 @@ export default {
components: {
DynamicNotice,
ShowAnnouncement,
- JDictSelectTag,
JDate,
},
@@ -147,7 +153,26 @@ export default {
// eeditCompanyByAnntIdAndUserId
loading: false,
openPath: '',
- formData: ''
+ formData: '',
+ // 企业短消息提醒类型
+ noticeTypeList:[
+ {
+ name:'会议通知',
+ value:'3'
+ },
+ {
+ name:'邮寄通知',
+ value:'7'
+ },
+ {
+ name:'文件通知',
+ value:'6'
+ },
+ {
+ name:'催款通知',
+ value:'8'
+ },
+ ]
}
},
created() {
@@ -159,6 +184,11 @@ export default {
Bus.$off('header-notice-change')
},
methods: {
+ filterOption(input, option) {
+ return (
+ option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
+ )
+ },
handleDetail: function (record) {
this.$refs.sysAnnouncementModal.detail(record)
this.$refs.sysAnnouncementModal.title = '查看'