发布提醒修改

This commit is contained in:
fengachen
2021-09-26 16:45:37 +08:00
parent 84124f4a1e
commit a20d8c65bc
3 changed files with 13 additions and 18 deletions
@@ -65,6 +65,7 @@
import {JeroListMixin} from '@/mixins/JeroListMixin'
import {publishRemind} from '@api/incomePaymentsApi'
export default {
name: 'PublishRemindModal',
mixins: [JeroListMixin],
@@ -105,7 +106,7 @@ export default {
title: '是否提醒',
align: 'center',
width: 200,
dataIndex: '',
dataIndex: 'remind',
// scopedSlots: {customRender: 'text'}
},
],
@@ -129,13 +130,18 @@ export default {
},
methods: {
open(meetingList) {
this.visible = true
// 保存选中的会议
this.selectedMetingList = [...meetingList]
// 列表需要工作组id参数
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
// 发布提醒需要会议id 只有选择一个会议的时候 才会有这个参数
if(meetingList.length === 1) {
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
// 去掉列表的提醒字段
let index = this.columns.findIndex(item => item.dataIndex === 'remind')
this.columns.splice(index,1)
}
this.searchReset()
},
close() {