[update 功能安全中心会议] 会议发布
This commit is contained in:
@@ -92,7 +92,8 @@ import {
|
||||
draftGroupPublishRemind
|
||||
} from '@api/incomePaymentsApi'
|
||||
import EmailErrorMsgModal from '@views/projectManagement/modules/EmailErrorMsgModal'
|
||||
import { judgeEmailStatus } from "../../../api/incomePaymentsApi";
|
||||
import { judgeEmailStatus } from "@api/incomePaymentsApi";
|
||||
import {MeetingTypeEnums} from '@/enums/commonEnums'
|
||||
|
||||
|
||||
export default {
|
||||
@@ -232,6 +233,47 @@ export default {
|
||||
// scopedSlots: {customRender: 'text'}
|
||||
},
|
||||
],
|
||||
// 功能安全中心发布提醒 表头
|
||||
safetyCenterColumns: [
|
||||
{
|
||||
title: '序号',
|
||||
dataIndex: '',
|
||||
key: 'rowIndex',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
customRender: function (t, r, index) {
|
||||
return parseInt(index) + 1
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '成员单位',
|
||||
align: 'center',
|
||||
width: 200,
|
||||
dataIndex: 'companyName',
|
||||
scopedSlots: {customRender: 'text'}
|
||||
},
|
||||
{
|
||||
title: '企业联系人',
|
||||
align: 'center',
|
||||
width: 200,
|
||||
dataIndex: 'contactsName',
|
||||
scopedSlots: {customRender: 'text'}
|
||||
},
|
||||
{
|
||||
title: '是否提醒',
|
||||
align: 'center',
|
||||
width: 200,
|
||||
dataIndex: 'remind_dictText',
|
||||
// scopedSlots: {customRender: 'text'}
|
||||
},
|
||||
{
|
||||
title: '邮件提醒',
|
||||
align: 'center',
|
||||
width: 200,
|
||||
dataIndex: 'mailRemind_dictText',
|
||||
// scopedSlots: {customRender: 'text'}
|
||||
},
|
||||
],
|
||||
model: {},
|
||||
labelCol: {
|
||||
xs: {span: 24},
|
||||
@@ -284,6 +326,12 @@ export default {
|
||||
this.filters.draftingGroupId = this.$route.query.draftingGroupProjectId
|
||||
this.newColumns = [...this.columns]
|
||||
this.remindType = 4
|
||||
} else if (this.$route.query.meetingType === MeetingTypeEnums.safetyCenter.value) {
|
||||
// 功能安全中心
|
||||
this.url.list = '/SafetyCenterSubitem/publishReminderList'
|
||||
this.filters.projectId = this.$route.query.projectId
|
||||
this.newColumns = [...this.safetyCenterColumns]
|
||||
this.remindType = 5
|
||||
} else {
|
||||
// 列表需要工作组id参数
|
||||
this.filters.workingGroupId = this.$route.query.workingGroupProjectId
|
||||
|
||||
Reference in New Issue
Block a user