diff --git a/src/api/workCenter.js b/src/api/workCenter.js index 452ad6c..94699a3 100644 --- a/src/api/workCenter.js +++ b/src/api/workCenter.js @@ -68,6 +68,20 @@ const marketListReleaseGetDataById = (taskId, params) => getAction(`/process/es/ // 草稿的办理回显数据 const marketListReleaseGetDataDraft = (params) => getAction('/process/es/archive/draftHandle', params) +// 标准解读流程 +// 获取项目id +const interpretGetProjectId = (params) => getAction('/process/standardInterpretFlow/getProjectId', params) +// 通过标准id获取文件 +const interpretGetFileByStandardId = (params) => getAction('/process/standardInterpretFlow/getFileByStandardId', params) +// 获取条款列表 +const interpretGetClauseList = (params) => getAction('/process/standardInterpretFlow/getClauseList', params) +// 审批 +const interpretFlowApproval = (params) => postAction('/process/standardInterpretFlow/flowApproval', params) +// 发起 +const interpretFlowStart = (params) => postAction('/process/standardInterpretFlow/flowStart', params) +// 获取详情 +const interpretGetDetail = (params) => postAction('/process/standardInterpretFlow/queryDetail', params) + // 流程中心 // 已发-强制撤回 const compulsoryWithdrawal = (params) => postAction('/workCenter/forcedWithdrawal', params) @@ -120,6 +134,13 @@ export { marketListReleaseGetDataById, marketListReleaseGetDataDraft, + interpretGetProjectId, + interpretGetFileByStandardId, + interpretGetClauseList, + interpretFlowApproval, + interpretFlowStart, + interpretGetDetail, + compulsoryWithdrawal, processTransfer, diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index a6db872..e69e11c 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -197,6 +197,7 @@ module.exports = { standardState: 'Standard state', newProductionVehicleImplementationDate: 'New production vehicle implementation date', newCertifiedVehicleImplementationDate: 'New certified vehicle implementation date', + implementationDate: 'Implementation date', generate: 'Generate', vehicleType: 'Vehicle type', modelStatus: 'Model status', @@ -625,11 +626,11 @@ module.exports = { noFileMsg: 'Please select a file' }, // 属性标识管理 - attributeIdentification:{ - labelName:'Label Name', - firstLabel:'First Label', - secondLabel:'Second Label', - thirdLabel:'Third Label', + attributeIdentification: { + labelName: 'Label Name', + firstLabel: 'First Label', + secondLabel: 'Second Label', + thirdLabel: 'Third Label' }, // 系统管理 system, @@ -648,5 +649,5 @@ module.exports = { // 工作中心 workCenter, // 法规符合性评估库 - regulatoryComplianceAssessmentDatabase, + regulatoryComplianceAssessmentDatabase } diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index ae703fe..8edca96 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -63,9 +63,16 @@ module.exports = { masterControlDepartmentProfessionalModule: 'Master control department professional module', relatedDepartment: 'Related department', associateDepartmentSpecializedModules: 'Associate department specialized modules', - requirementType: 'Requirement type', + requirementType: 'Requirement type' }, + // 标准解读流程 + standardInterpretationProcess: { + decompositionOrderSource: 'Source of decomposition order', + addStandard: 'Add standards', + selectStandard: 'Choice of Law Clause', + pleaseAddStandard: 'Please add a standard' + }, // 流程配置 processConfig: { processType: '流程类型', diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js index 0b9c904..9e9ac32 100644 --- a/src/common/lang/workCenter/zh.js +++ b/src/common/lang/workCenter/zh.js @@ -63,9 +63,16 @@ module.exports = { masterControlDepartmentProfessionalModule: '主控部门专业模块', relatedDepartment: '关联部门', associateDepartmentSpecializedModules: '关联部门专业模块', - requirementType: '要求类型', + requirementType: '要求类型' }, + // 标准解读流程 + standardInterpretationProcess: { + decompositionOrderSource: '分解单来源', + addStandard: '添加标准', + selectStandard: '选择条款', + pleaseAddStandard: '请添加一条标准' + }, // 流程配置 processConfig: { processType: '流程类型', diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index 27d6ef2..3bbc039 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -214,6 +214,7 @@ module.exports = { standardState: '标准状态', newProductionVehicleImplementationDate: '新生产车实施日期', newCertifiedVehicleImplementationDate: '新认证车实施日期', + implementationDate: '实施日期', generate: '生成', vehicleType: '车型', modelStatus: '车型状态', @@ -598,7 +599,7 @@ module.exports = { textStatus: '文本状态', conversionResults: '转换结果', timeConsuming: '消耗时间(秒)', - file: '文件', + file: '文件' } }, // 业务支持 @@ -702,7 +703,7 @@ module.exports = { fileFormatIncorrect: '文件格式不正确', uploadSuccessful: '上传成功', uploadMaximumATime: '一次最多上传二十张图片', - deletedSuccessfully: '删除成功', + deletedSuccessfully: '删除成功' }, importWithTemplate: { chooseFile: '选择文件', diff --git a/src/components/PersonnelInfo.vue b/src/components/PersonnelInfo.vue index 5efde11..3130d8f 100644 --- a/src/components/PersonnelInfo.vue +++ b/src/components/PersonnelInfo.vue @@ -243,7 +243,7 @@ export default { } &-select-title { - background: #9F5258; + background: @primary-color; } &-content { diff --git a/src/enums/commonEnums.js b/src/enums/commonEnums.js index 8cba411..e10411b 100644 --- a/src/enums/commonEnums.js +++ b/src/enums/commonEnums.js @@ -145,6 +145,7 @@ export const ProcessKey = { // 新法规导入流程 NEW_REGULATIONS_IMPORT: { text: '', value: '' }, // 标准解读流程 + STANDARD_INTERPRETATION_PROCESS: { text: 'standard_interpret', value: 'standard_interpret' }, // 法规符合性排查流程 REGULATORY_COMPLIANCE_CHECK: { text: '', value: '' }, // 市场清单发布流程 @@ -192,6 +193,21 @@ export const MarketListReleaseNodes = new EsEnums({ directorSApproval: { text: '总监批准', value: '' } }) +// 标准解读流程节点 +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' } +}) + // 条款使用范围 export const ClauseUsableRange = new EsEnums({ DOMESTIC: { text: '外来标准', value: '1' }, diff --git a/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue new file mode 100644 index 0000000..2f8faa7 --- /dev/null +++ b/src/views/workCenter/standardInterpretationProcess/StandardInterpretationProcess.vue @@ -0,0 +1,738 @@ + + + + +