From ba2f572d9f85a3b7dcf4b5b0d96ae7e677be93f3 Mon Sep 17 00:00:00 2001 From: danshihao Date: Tue, 9 Jul 2024 09:50:02 +0800 Subject: [PATCH] =?UTF-8?q?[update=20=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB?= =?UTF-8?q?=E6=B5=81=E7=A8=8B]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workCenter.js | 2 +- src/common/lang/workCenter/en.js | 5 +- src/common/lang/workCenter/zh.js | 5 +- src/enums/commonEnums.js | 23 +- .../processCenter/table/TodoList.vue | 5 +- .../StandardInterpretationProcess.vue | 560 +++++++----------- .../modules/InterpretationInitiate.vue | 352 +++++++++++ .../InterpretationLiaisonDistribute.vue | 238 ++++++++ ...nterpretationMainInterpreterDistribute.vue | 352 +++++++++++ 9 files changed, 1165 insertions(+), 377 deletions(-) create mode 100644 src/views/workCenter/standardInterpretationProcess/modules/InterpretationInitiate.vue create mode 100644 src/views/workCenter/standardInterpretationProcess/modules/InterpretationLiaisonDistribute.vue create mode 100644 src/views/workCenter/standardInterpretationProcess/modules/InterpretationMainInterpreterDistribute.vue diff --git a/src/api/workCenter.js b/src/api/workCenter.js index d8c3971..cfd42af 100644 --- a/src/api/workCenter.js +++ b/src/api/workCenter.js @@ -82,7 +82,7 @@ const interpretFlowApproval = (params) => postAction('/process/standardInterpret // 发起 const interpretFlowStart = (params) => postAction('/process/standardInterpretFlow/flowStart', params) // 获取详情 -const interpretGetDetail = (params) => postAction('/process/standardInterpretFlow/queryDetail', params) +const interpretGetDetail = (params) => getAction('/process/standardInterpretFlow/queryDetail', params) // 流程中心 // 已发-强制撤回 diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index 3207f8c..443b8d2 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -75,7 +75,10 @@ module.exports = { decompositionOrderSource: 'Source of decomposition order', addStandard: 'Add standards', selectStandard: 'Choice of Law Clause', - pleaseAddStandard: 'Please add a standard' + pleaseAddStandard: 'Please add a standard', + mainInterpreter: 'Main Interpreter', + interpretingTasksIsDistribute: 'Is the interpretation task issued', + departInterpretingPeople: 'Interpreters from various departments involved' }, // 流程配置 processConfig: { diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index 7275de6..fd604bf 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -75,7 +75,10 @@ module.exports = { decompositionOrderSource: '分解单来源', addStandard: '添加标准', selectStandard: '选择条款', - pleaseAddStandard: '请添加一条标准' + pleaseAddStandard: '请添加一条标准', + mainInterpreter: '主解读人', + interpretingTasksIsDistribute: '解读任务是否下发', + departInterpretingPeople: '各涉及部门解读人' }, // 流程配置 processConfig: { diff --git a/src/enums/commonEnums.js b/src/enums/commonEnums.js index 5ae06b1..d0e1091 100644 --- a/src/enums/commonEnums.js +++ b/src/enums/commonEnums.js @@ -157,6 +157,7 @@ export const ProcessType = { // 新法规导入流程 NEW_REGULATIONS_IMPORT: { text: '新法规导入流程', value: '1' }, // 标准解读流程 + STANDARD_INTERPRETATION_PROCESS: { text: '标准解读流程', value: '2' }, // 法规符合性排查流程 REGULATORY_COMPLIANCE_CHECK: { text: '', value: '' }, // 市场清单发布流程 @@ -195,17 +196,17 @@ export const MarketListReleaseNodes = new EsEnums({ // 标准解读流程节点 export const StandardInterpretationNodes = new EsEnums({ - initiated: { text: '法规工程师发起', value: 'regulatory_engineer_start' }, - controlDepartLiaisonDistribution: { text: '主控部门联络人分发', value: 'contact_person_distribute' }, - standardInterpreterDistribution: { text: '标准主解读人分发', value: 'master_interpret_distribute' }, - interpreterFillInfo: { text: '解读人填写信息', value: 'master_interpret_fillout' }, - standardInterpreterSummary: { text: '标准主解读人汇总', value: 'master_interpret_summary' }, - countersignOne: { text: '会签', value: 'jointly_sign_1' }, - countersignTwo: { text: '会签', value: 'jointly_sign_2' }, - departManagerReviewOne: { text: '各涉及部门科室经理审核', value: 'department_manager_approve_1' }, - departManagerReviewTwo: { text: '各涉及部门科室经理审核', value: 'department_manager_approve_2' }, - manageOrTechnicalOfficerApprovalOne: { text: '主控部门高级经理/法规认证技术官批准', value: 'technical_officer_approval_1' }, - manageOrTechnicalOfficerApprovalTwo: { text: '主控部门高级经理/法规认证技术官批准', value: 'technical_officer_approval_2' } + initiated: { text: '法规工程师发起', value: 'regulatory_engineer_start', btn: ['save', 'submit'] }, + controlDepartLiaisonDistribution: { text: '主控部门联络人分发', value: 'contact_person_distribute', btn: ['transfer', 'save', 'submit'] }, + standardInterpreterDistribution: { text: '标准主解读人分发', value: 'master_interpret_distribute', btn: ['reject', 'transfer', 'save', 'submit'] }, + interpreterFillInfo: { text: '解读人填写信息', value: 'master_interpret_fillout', btn: ['reject', 'transfer', 'save', 'submit'] }, + standardInterpreterSummary: { text: '标准主解读人汇总', value: 'master_interpret_summary', btn: ['transfer', 'save', 'submit'] }, + countersignOne: { text: '会签', value: 'jointly_sign_1', btn: ['reject', 'transfer', 'save', 'submit'] }, + countersignTwo: { text: '会签', value: 'jointly_sign_2', btn: ['reject', 'transfer', 'save', 'submit'] }, + departManagerReviewOne: { text: '各涉及部门科室经理审核', value: 'department_manager_approve_1', btn: ['reject', 'transfer', 'save', 'submit'] }, + departManagerReviewTwo: { text: '各涉及部门科室经理审核', value: 'department_manager_approve_2', btn: ['reject', 'transfer', 'save', 'submit'] }, + manageOrTechnicalOfficerApprovalOne: { text: '主控部门高级经理/法规认证技术官批准', value: 'technical_officer_approval_1', btn: ['transfer', 'save', 'agree', 'reject'] }, + manageOrTechnicalOfficerApprovalTwo: { text: '主控部门高级经理/法规认证技术官批准', value: 'technical_officer_approval_2', btn: ['transfer', 'save', 'agree', 'reject'] } }) // 条款使用范围 diff --git a/src/views/workCenter/processCenter/table/TodoList.vue b/src/views/workCenter/processCenter/table/TodoList.vue index 8fe6ae7..6b94205 100644 --- a/src/views/workCenter/processCenter/table/TodoList.vue +++ b/src/views/workCenter/processCenter/table/TodoList.vue @@ -77,7 +77,7 @@ import { import { ProcessType, MarketListReleaseNodes, - NewRegulationsImportNodes + NewRegulationsImportNodes, StandardInterpretationNodes } from '@/enums/commonEnums' import { getAction } from '../../../../api/manage' @@ -159,6 +159,7 @@ export default { // 新法规导入流程 [ProcessType.NEW_REGULATIONS_IMPORT.value]: [NewRegulationsImportNodes.initiated.value], // 标准解读流程 + [ProcessType.STANDARD_INTERPRETATION_PROCESS.value]: [StandardInterpretationNodes.initiated.value], // 法规符合性排查流程 // 市场清单发布流程 [ProcessType.MARKET_LIST_RELEASE.value]: [MarketListReleaseNodes.initiated.value] @@ -228,7 +229,7 @@ export default { break // 标准解读流程 case '2': - path = '' + path = '/workCenter/StandardInterpretationProcess' break // 法规符合性排查流程 case '3': diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue index 2f8faa7..ff052d6 100644 --- a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue +++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue @@ -1,5 +1,4 @@