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 = '查看'