【bug】消息提醒类型的修改
This commit is contained in:
@@ -7,8 +7,16 @@
|
||||
|
||||
<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 :xxl="7" :xl="10" :md="10" :sm="24">
|
||||
@@ -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 = '查看'
|
||||
|
||||
Reference in New Issue
Block a user