diff --git a/src/api/workCenter.js b/src/api/workCenter.js index 586f3292..c12c32d4 100644 --- a/src/api/workCenter.js +++ b/src/api/workCenter.js @@ -29,13 +29,29 @@ const getEnStandardNo = (params) => postAction('/process/es/initChange/getStanda // 根据流程id获取流程信息 const getProcessDataById = (params) => getAction('/process/center/handle', params) +// 年度制修订计划(各部门主动上报) +// 发起 +const activelyReportApproval = (params) => postAction('/process/es/annualReport/start', params) +// 保存 +const activelyReportSave = (params) => postAction('', params) +// 转办 +const activelyReportTurnTo = (params) => postAction('', params) +// 同意 +const activelyReportAgree = (params) => postAction('', params) +// 拒绝 +const activelyReportReject = (params) => postAction('', params) + // 年度制修订计划(标准化发起) -// 批量设置联络人 -const standardizationInitBatchSetContact = (params) => getAction('', params) -// 批量设置审批人 -const standardizationInitBatchSetApprover = (params) => getAction('', params) -// 批量设置主起草人 -const standardizationInitBatchSetDrafter = (params) => getAction('', params) +// 发起 +const standardizationInitApproval = (params) => postAction('', params) +// 保存 +const standardizationInitSave = (params) => postAction('', params) +// 转办 +const standardizationInitTurnTo = (params) => postAction('', params) +// 同意 +const standardizationInitAgree = (params) => postAction('', params) +// 拒绝 +const standardizationInitReject = (params) => postAction('', params) // 流程中心 // 待办-转办 @@ -58,9 +74,17 @@ export { getEnStandardNo, getProcessDataById, - standardizationInitBatchSetContact, - standardizationInitBatchSetApprover, - standardizationInitBatchSetDrafter, + activelyReportApproval, + activelyReportSave, + activelyReportTurnTo, + activelyReportAgree, + activelyReportReject, + + standardizationInitApproval, + standardizationInitSave, + standardizationInitTurnTo, + standardizationInitAgree, + standardizationInitReject, toDoTurnTo, compulsoryWithdrawal diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index ce7f8379..3ebd6a3d 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -99,7 +99,10 @@ module.exports = { batchSetApprover: '批量设置审批人', approver: '审批人', batchSetDrafter: '批量设置主起草人', - drafter: '主起草人' + drafter: '主起草人', + pleaseSelectContact: '请选择联络人', + pleaseSelectApprover: '请选择审批人', + pleaseSelectDrafter: '请选择主起草人' }, // 企标制修订流程 enStandardRevision: { diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index ed6580a8..ae99648a 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -99,7 +99,10 @@ module.exports = { batchSetApprover: '批量设置审批人', approver: '审批人', batchSetDrafter: '批量设置主起草人', - drafter: '主起草人' + drafter: '主起草人', + pleaseSelectContact: '请选择联络人', + pleaseSelectApprover: '请选择审批人', + pleaseSelectDrafter: '请选择主起草人' }, // 企标制修订流程 enStandardRevision: { diff --git a/src/components/selection/UserSelectModal.vue b/src/components/selection/UserSelectModal.vue index d8ab48f8..14f8dde5 100644 --- a/src/components/selection/UserSelectModal.vue +++ b/src/components/selection/UserSelectModal.vue @@ -307,8 +307,8 @@ export default { this.$message.warning(this.$t('docTool.split.pleaseSelectUser')) return } - this.$emit('change', this.selectedRowKeys.join(',')) this.$emit('nameChange', this.dataSourceRight.map(item => item.realname + '(' + item.username + ')').join(',')) + this.$emit('change', this.selectedRowKeys.join(',')) this.close() }, handleCancel () { diff --git a/src/views/workCenter/annualRevisionPlanActivelyReport/RevisionPlanActivelyReportFlow.vue b/src/views/workCenter/annualRevisionPlanActivelyReport/RevisionPlanActivelyReportFlow.vue index 2996434f..5f25d400 100644 --- a/src/views/workCenter/annualRevisionPlanActivelyReport/RevisionPlanActivelyReportFlow.vue +++ b/src/views/workCenter/annualRevisionPlanActivelyReport/RevisionPlanActivelyReportFlow.vue @@ -14,7 +14,7 @@ -