【bug】消息查询条件修改
This commit is contained in:
@@ -9,8 +9,19 @@
|
||||
|
||||
<a-col :xl="7" :lg="8" :md="8" :sm="24">
|
||||
<a-form-item label="提醒类型">
|
||||
<j-dict-select-tag dict-code="notice_type" placeholder="请选择提醒类型"
|
||||
v-model="queryParam.titile"></j-dict-select-tag>
|
||||
<a-select
|
||||
v-model="queryParam.titile"
|
||||
show-search
|
||||
allowClear
|
||||
option-filter-prop="children"
|
||||
:filter-option="filterOption"
|
||||
placeholder="请选择提醒类型"
|
||||
>
|
||||
<a-select-option v-for="(item,index) in noticeTypeList" :key="index" :value="item.value">{{
|
||||
item.name
|
||||
}}
|
||||
</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="10" :lg="11" :md="12" :sm="24">
|
||||
@@ -86,7 +97,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 '@/assets/less/TableExpand.less'
|
||||
import JDate from '@comp/tools/JDate'
|
||||
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
||||
@@ -99,7 +109,6 @@ export default {
|
||||
components: {
|
||||
DynamicNotice,
|
||||
ShowAnnouncement,
|
||||
JDictSelectTag,
|
||||
JDate,
|
||||
PageHeaderTitle
|
||||
},
|
||||
@@ -107,6 +116,29 @@ export default {
|
||||
return {
|
||||
description: '系统通告表管理页面',
|
||||
queryParam: {},
|
||||
// 管理端消息提醒类型
|
||||
noticeTypeList: [
|
||||
{
|
||||
name: '项目通知',
|
||||
value: '1'
|
||||
},
|
||||
{
|
||||
name: '合同通知',
|
||||
value: '2'
|
||||
},
|
||||
{
|
||||
name: '会议通知',
|
||||
value: '3'
|
||||
},
|
||||
{
|
||||
name: '打包通知',
|
||||
value: '4'
|
||||
},
|
||||
{
|
||||
name: '企业通知',
|
||||
value: '5'
|
||||
}
|
||||
],
|
||||
IconImg,
|
||||
columns: [
|
||||
{
|
||||
@@ -170,6 +202,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 = '查看'
|
||||
|
||||
Reference in New Issue
Block a user