[update 功能安全中心会议] 会议发布

This commit is contained in:
danshihao
2024-07-05 15:37:15 +08:00
parent 58295dbcfd
commit 423b529617
2 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -173,6 +173,8 @@ const judgeCompanyIsPackaged = (params) => getAction('/company/payCompanyManagem
// 2024年6月变更 功能安全中心
// 通过id获取功能安全中心详情
const getSafetyCenterById = (params) => getAction('/SafetyCenter/queryById', params)
// 功能安全中心会议的发布提醒
const safetyCenterPublishRemind = (param) => postAction('/meeting/safetyCenterMeeting/release', param)
export {
getWorkingGroupById,
@@ -263,5 +265,6 @@ export {
updatePackageEnterprise,
judgeCompanyIsPackaged,
getSafetyCenterById
getSafetyCenterById,
safetyCenterPublishRemind
}
@@ -89,7 +89,7 @@ import {
publishRemind,
commitePublishRemind,
councilPublishRemind,
draftGroupPublishRemind
draftGroupPublishRemind, safetyCenterPublishRemind
} from '@api/incomePaymentsApi'
import EmailErrorMsgModal from '@views/projectManagement/modules/EmailErrorMsgModal'
import { judgeEmailStatus } from "@api/incomePaymentsApi";
@@ -387,6 +387,10 @@ export default {
// 起草组用起草组的发布提醒
param.draftingGroupId = this.$route.query.draftingGroupProjectId
requestFun = draftGroupPublishRemind
} else if (this.$route.query.meetingType === MeetingTypeEnums.safetyCenter.value) {
// 功能安全中心的发布提醒
param.safetyCenterId = this.$route.query.projectId
requestFun = safetyCenterPublishRemind
} else {
// 工作组
param.workingGroupId = this.$route.query.workingGroupProjectId