diff --git a/jero-boot/db/蔚来标准sql/dev_2nd_period.sql b/jero-boot/db/蔚来标准sql/dev_2nd_period.sql index ea739fe22..4a96f2e7b 100644 --- a/jero-boot/db/蔚来标准sql/dev_2nd_period.sql +++ b/jero-boot/db/蔚来标准sql/dev_2nd_period.sql @@ -436,4 +436,16 @@ ALTER TABLE `project_task_planning` -- 项目库-认证清单-认证目录 说明字段长度修改 2023-3-30 未同步生产环境 ALTER TABLE `project_certification_directory` - MODIFY COLUMN `explain_info` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '说明' AFTER `detection_report_location`; \ No newline at end of file + MODIFY COLUMN `explain_info` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '说明' AFTER `detection_report_location`; + +-- 项目库-法规清单-定版表增加字段 2023-3-30 未同步生产环境 +ALTER TABLE `project_version_info` + MODIFY COLUMN `inventory_affirm_status` varchar(100) CHARACTER SET utf32 NULL DEFAULT NULL COMMENT '清单确认状态' AFTER `task_affirm_status`, + ADD COLUMN `design_flow_status` varchar(255) NULL COMMENT '设计符合性确认-流程状态' AFTER `inventory_affirm_status`, + ADD COLUMN `verify_flow_status` varchar(255) NULL COMMENT '验证符合性确认-流程状态' AFTER `design_flow_status`; + +-- 项目库-法规清单-定版表增加字段 2023-3-30 未同步生产环境 +ALTER TABLE `project_version_info` + ADD COLUMN `project_laws_inventory_id` varchar(255) NULL COMMENT '法规清单数据id' AFTER `verify_flow_status`; +ALTER TABLE `project_version_info` + ADD COLUMN `applicable_supplement` varchar(255) NULL COMMENT '适用增补件' AFTER `project_laws_inventory_id`; \ No newline at end of file diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/authDummy/service/impl/AuthDummyInventoryInfoEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/authDummy/service/impl/AuthDummyInventoryInfoEOServiceImpl.java index b72277131..0a29a5e56 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/authDummy/service/impl/AuthDummyInventoryInfoEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/authDummy/service/impl/AuthDummyInventoryInfoEOServiceImpl.java @@ -444,9 +444,9 @@ public class AuthDummyInventoryInfoEOServiceImpl extends ServiceImpl flowStatusList = new ArrayList<>(); flowStatusList.add(CertificationInventoryFlowStatusEnum.TASK_TO_BE_CONFIRMED.getValue()); + flowStatusList.add(CertificationInventoryFlowStatusEnum.RESULTS_TO_BE_SUBMITTED.getValue()); QueryWrapper certificationQueryWrap = new QueryWrapper<>(); certificationQueryWrap.lambda().eq(ProjectCertificationInventoryEO::getId,projectCertificationInventoryEO.getId()); @@ -205,6 +206,8 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl userIdList = Arrays.asList(projectLibraryBase.getCertificationEngineer().split(",")); List userInfoList = this.sysUserService.querySysUserListByIdList(userIdList); + editEndTimeCertificationInventoryEOS.get(0).setEndTime(projectCertificationInventoryEO.getEndTime()); + this.sendMessageByTemplateId( editEndTimeCertificationInventoryEOS, TemplateInfoEnum2.CERTIFICATION_MESSAGE14.getValue(), diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectHistoryVersionsEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectHistoryVersionsEOServiceImpl.java index cbcdf9479..289f2a191 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectHistoryVersionsEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectHistoryVersionsEOServiceImpl.java @@ -56,6 +56,7 @@ public class ProjectHistoryVersionsEOServiceImpl extends ServiceImpl processInfoDetailEOQueryWrapper = new QueryWrapper<>(); + processInfoDetailEOQueryWrapper.lambda().eq(ProcessInfoDetailEO::getProjectLawsInventoryId,projectVersionInfoEO.getProjectLawsInventoryId()); + processInfoDetailEOQueryWrapper.lambda().eq(ProcessInfoDetailEO::getFlowType, FlowTypeEnum.YZFHXSCLC.getValue()); + List processInfoDetailEOS = this.processInfoDetailEOService.list(processInfoDetailEOQueryWrapper); + if(CollectionUtils.isNotEmpty(processInfoDetailEOS)){ + projectVersionInfoEO.setVerifyPId(processInfoDetailEOS.get(0).getActiProcInstId()); + } + } + if(!StringUtils.equals(projectVersionInfoEO.getDesignFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_RELEASED.getValue()) + ||!StringUtils.equals(projectVersionInfoEO.getDesignFlowStatus(),ComplianceFlowStatusEnum.LIST_TO_BE_CHECKED.getValue())){ + QueryWrapper processInfoDetailEOQueryWrapper = new QueryWrapper<>(); + processInfoDetailEOQueryWrapper.lambda().eq(ProcessInfoDetailEO::getProjectLawsInventoryId,projectVersionInfoEO.getProjectLawsInventoryId()); + processInfoDetailEOQueryWrapper.lambda().eq(ProcessInfoDetailEO::getFlowType,FlowTypeEnum.SJFHXSHLC.getValue()); + List processInfoDetailEOS = this.processInfoDetailEOService.list(processInfoDetailEOQueryWrapper); + if(CollectionUtils.isNotEmpty(processInfoDetailEOS)){ + projectVersionInfoEO.setDesignPId(processInfoDetailEOS.get(0).getActiProcInstId()); + } + } } List sysUsers = new ArrayList<>(); @@ -259,7 +297,7 @@ public class ProjectVersionInfoEOServiceImpl extends ServiceImpl designDutyId.equals(e.getId())). map(SysUser::getUsername).collect(Collectors.joining(",")); - projectVersionInfoEO.setDesignDutyName(designDutyName); + projectVersionInfoEO.setDesignDutyIdName(designDutyName); } //prehomo确认 @@ -291,7 +329,7 @@ public class ProjectVersionInfoEOServiceImpl extends ServiceImpl verifyDutyId.equals(e.getId())). map(SysUser::getUsername).collect(Collectors.joining(",")); - projectVersionInfoEO.setVerifyDutyName(verifyDutyName); + projectVersionInfoEO.setVerifyDutyIdName(verifyDutyName); } } diff --git a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue index ae8c48599..214608932 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue @@ -691,7 +691,7 @@ Action(url, query).then((res) => { if (res.success) { this.confirmLoading = false - if (res.result && res.result.length > 0) { + if (res.result && res.result.length > 0 && res.result instanceof Array) { let detailedWarningList = [] res.result.forEach(val => { detailedWarningList.push( diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index e3c918e25..673ce2d8c 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -1055,22 +1055,22 @@ isResultReported: false, // fieldList | array |✔| 需要查询的列集合示例如下,type类型有:date/datetime/string/int/number fieldList: [ - { - type: 'string', - value: 'correspondingStandard', - text: this.$t('correspondingStandard') - }, + // { + // type: 'string', + // value: 'correspondingStandard', + // text: this.$t('correspondingStandard') + // }, { type: 'string', value: 'subtitle', text: this.$t('subtitle') }, - { - type: '', - value: 'implementType', - text: this.$t('implementationCategory'), - dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 - }, + // { + // type: '', + // value: 'implementType', + // text: this.$t('implementationCategory'), + // dictCode: 'implement_type'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 + // }, { type: 'date', value: 'xin1Che1Xing2Shi2Shi1Ri4Qi1', @@ -1104,24 +1104,12 @@ text: this.$t('areaOfResponsibility'), dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 }, - { - type: '', - value: 'region', - text: this.$t('zoneOfApplication'), - dictCode: 'region'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框 - }, { type: 'Personnel', value: 'regulationOwnerId', valueName: 'regulationOwnerIdName', text: this.$t('regulatoryEngineer') }, - { - type: 'Personnel', - value: 'homologationEngineerId', - valueName: 'homologationEngineerIdName', - text: this.$t('certifiedEngineer') - }, { type: 'Personnel', value: 'engineeringInterfacePerson', diff --git a/jero-web/src/views/projectManagement/historicalVersion/index.vue b/jero-web/src/views/projectManagement/historicalVersion/index.vue index a2ce6ffa2..8737d6ac9 100644 --- a/jero-web/src/views/projectManagement/historicalVersion/index.vue +++ b/jero-web/src/views/projectManagement/historicalVersion/index.vue @@ -35,12 +35,14 @@ - - {{ $t('query') }} - {{ $t('query') }} + {{ $t('reset') }} + @@ -58,37 +60,50 @@ :columns="columns" > - {{ text && text.length > 20 ? text.slice(0, 19) + '...' : text }} + + {{ text }} + - - {{ record.designDeliverableTypeName }}
- - {{ record.designDeliverableTemplateName }} - - {{ $t('viewFile') }} - -- + + + + {{ text }} + - - {{ record.prehomoDeliverableTypeName }}
- - {{ record.prehomoDeliverableTemplateName }} - - {{ $t('viewFile') }} - -- + + + + {{$t('viewFile')}} + + -- - - {{ record.verifyDeliverableTypeName }}
- - {{ record.verifyDeliverableTemplateName }} - - {{ $t('viewFile') }} - -- + + + {{$t('viewFile')}} + + -- + + + + {{text}} + + {{text}} + + + + {{text}} + + {{text}} @@ -125,12 +140,16 @@
+ +