diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/controller/ParamsCollectManifestEOController.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/controller/ParamsCollectManifestEOController.java index 50b709e17..8fe193325 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/controller/ParamsCollectManifestEOController.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/controller/ParamsCollectManifestEOController.java @@ -236,7 +236,7 @@ public class ParamsCollectManifestEOController extends JeroController updateDeadlineBatch(ParamsCollectManifestVO paramsCollectManifestVO) { + public Result updateDeadlineBatch(@RequestBody ParamsCollectManifestVO paramsCollectManifestVO) { boolean isSuccess = paramsCollectManifestEOService.updateDeadlineBatch(paramsCollectManifestVO); if (isSuccess) { return Result.OK("设置截止时间成功!"); diff --git a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsManifestEOServiceImpl.java b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsManifestEOServiceImpl.java index 9366a6495..ffa2ecf50 100644 --- a/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsManifestEOServiceImpl.java +++ b/jero-boot/jero-boot-module-certification/src/main/java/com/jero/modules/cert/collect/service/impl/ParamsManifestEOServiceImpl.java @@ -234,16 +234,31 @@ public class ParamsManifestEOServiceImpl extends ServiceImpl newParamsInfoPublishEOList = paramsInfoPublishEOService.getListByPublishVersion(id, newestVersion); + List newParamsInfoPublishEOList = paramsInfoPublishEOService.getListByPublishVersion(paramsManifestEO.getParamsTemplateId(), newestVersion); // 查询项目所有参数项(这时候参数项都收集完了) ParamsCollectManifestEO paramsCollectManifestEO = new ParamsCollectManifestEO(); paramsCollectManifestEO.setParamsManifestId(id); @@ -331,9 +346,12 @@ public class ParamsManifestEOServiceImpl extends ServiceImpl> configDataList; // 提交专用 - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") - @DateTimeFormat(pattern="yyyy-MM-dd") + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "截止时间") private Date deadline; // 截止时间 diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/controller/BussDocumentLibraryEOController.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/controller/BussDocumentLibraryEOController.java index d4391e03a..174f9e3b4 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/controller/BussDocumentLibraryEOController.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/controller/BussDocumentLibraryEOController.java @@ -460,6 +460,17 @@ public class BussDocumentLibraryEOController extends JeroController parameter) { + IPage infoPage = bussDocumentLibraryEOService.getPageDummy(parameter); + Result ok = Result.OK(infoPage); + JSONObject jsonResult = JSONObject.fromObject(ok); + return jsonResult; + } + /** * 查看已上传的文件 * @param id diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/IBussDocumentLibraryEOService.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/IBussDocumentLibraryEOService.java index 9900b0118..05be0f6fd 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/IBussDocumentLibraryEOService.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/IBussDocumentLibraryEOService.java @@ -207,4 +207,6 @@ public interface IBussDocumentLibraryEOService extends IService queryPageInfoDummy(Page page, QueryWrapper queryWrapper,BussDocumentLibraryEO bussDocumentLibraryEO); + + IPage getPageDummy(Map parameter); } diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java index 77ef0e983..8b4ce3d39 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java @@ -4949,4 +4949,64 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl parameter) { + String cut = (String) parameter.get("cut");//中英文切换标识 + //文档库字段 + List fieldList = onlCgformFieldService.getFieldList(ModuleEnum.DOCUMENT_LIBRARY.getValue()); + //需要查询的字段 + List fieldListQuery = new ArrayList<>(); + fieldListQuery.add("serial_number"); + fieldListQuery.add("title"); + fieldListQuery.add("title_en"); + fieldListQuery.add("state"); + fieldListQuery.add("technology_territory"); + fieldListQuery.add("xin1_che1_xing2_shi2_shi1_ri4_qi1"); + fieldListQuery.add("implement_time"); + + List fieldListNew = new ArrayList<>(); + fieldListNew.add("id"); + + //转时间格式 + for (String field : fieldListQuery) { + String fieldTemp = null; + if ("xin1_che1_xing2_shi2_shi1_ri4_qi1".equals(field) || "implement_time".equals(field)) { + String fieldNew = "date_format(" + field + ", '%Y-%m-%d')"; + fieldTemp = "case when " + fieldNew + " is null then \"\" else " + fieldNew + " end " + field; + fieldListNew.add(fieldTemp); + } else { + fieldTemp = "case when " + field + " is null then \"\" else " + field + " end " + field; + fieldListNew.add(fieldTemp); + } + } + //封装查询条件 + String condition = getConditionStr(parameter); + int pageNo = Integer.parseInt(parameter.get("pageNo").toString()); + int pageSize = Integer.parseInt(parameter.get("pageSize").toString()); + IPage page = new Page(pageNo, pageSize); + + IPage infoPage = bussDocumentLibraryEOMapper.getInfoPage(page, " " + StringUtils.join(fieldListNew, ","), condition); + + //树形数据字典 + List categoryList = sysCategoryService.list(); + //过滤出树形字段 + List treeFieldList = fieldList.stream() + .filter(e -> FieldTypeEnum.TREE.getValue().equals(e.getFieldShowType())) + .collect(Collectors.toList()); + + + List records = infoPage.getRecords(); + //数据字典 + List sysDictItems = sysDictItemServiceImpl.selectItemsAll(); + //下拉选处理数据字典 + for (Map record : records) { + Map record1 = (Map) record; + for (Map.Entry entry : record1.entrySet()) { + //下拉选处理数据字典 + dictItem(sysDictItems, entry, cut, fieldList,null); + treeDictItem(categoryList, entry, treeFieldList, cut,null); + } + } + return infoPage; + } + } diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 85af32664..eecd5f3dc 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -707,6 +707,7 @@ module.exports = { uploadTime: 'Upload time', enclosure: 'enclosure', // 认证 + checkTheDeadline: 'Select the collection deadline of the parameter item', accountNumber: 'account Number', fullName: 'full Name', configurationInformation: 'configuration Information', @@ -845,4 +846,13 @@ module.exports = { Importing:'Importing...', projectDeliveryDescription:'Project delivery description', cancelConfirm:'Cancel Confirm', + currentInformation:'Current Information', + deliveryHistory:'Delivery History', + projectDeliveryRequirements:'Project delivery requirements', + personLiableConfirm:'PersonLiable Confirm', + complianceResults:'Compliance results', + noData:'No data', + confirmOperation:'Confirm Operation', + sponsorReview:'Sponsor review', + fillInProjectDelivery:'Fill in project delivery', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 7308948ce..cd5a55305 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -717,6 +717,7 @@ module.exports = { uploadTime: '上传时间', enclosure: '附件', // 认证 + checkTheDeadline: '选中参数项收集截止时间', accountNumber: '账号', fullName: '姓名', configurationInformation: '配置信息', @@ -850,4 +851,13 @@ module.exports = { Importing:'导入中...', projectDeliveryDescription:'工程交付说明', cancelConfirm:'取消确认', + currentInformation:'当前信息', + deliveryHistory:'交付历史', + projectDeliveryRequirements:'工程交付要求', + personLiableConfirm:'责任人确认', + complianceResults:'符合性结果', + noData:'暂无数据', + confirmOperation:'确认操作', + sponsorReview:'发起人审查', + fillInProjectDelivery:'填写工程交付', } \ No newline at end of file diff --git a/jero-web/src/components/TaskCutOffTime/index.vue b/jero-web/src/components/TaskCutOffTime/index.vue new file mode 100644 index 000000000..44086b7ea --- /dev/null +++ b/jero-web/src/components/TaskCutOffTime/index.vue @@ -0,0 +1,168 @@ + + + + + + \ No newline at end of file diff --git a/jero-web/src/views/processCenter/components/engineeringConfirmation.vue b/jero-web/src/views/processCenter/components/engineeringConfirmation.vue index d874dc5d1..3147ed8e1 100644 --- a/jero-web/src/views/processCenter/components/engineeringConfirmation.vue +++ b/jero-web/src/views/processCenter/components/engineeringConfirmation.vue @@ -39,21 +39,29 @@ {{$t('viewFile')}} + + + {{text}} + + {{$t('edit')}} - - - {{$t('details')}} - {{$t('confirm')}} + :disabled="!result.status" + @click="confirm(result)"> + + {{$t('confirm')}} + + + {{$t('cancelConfirm')}} + - - -
{{this.$t('feedbackFromTheEngineer')}}:
-
- -
- {{formInlineDetails.engineerFeedbackContent}} +
+
+
+ {{this.$t('currentInformation')}}
- - - - -
{{this.$t('Deliverables')}}:
-
- -
- {{this.$t('viewFile')}} +
+ {{this.$t('deliveryHistory')}}
- - - - -
{{this.$t('completedBy')}}:
-
- -
- {{formInlineDetails.createBy}} -
-
-
- - -
{{this.$t('completedTime')}}:
-
- -
- {{formInlineDetails.createTime}} -
-
-
- - -
{{this.$t('replyFromProjectContactPerson')}}:
-
- -
- {{formInlineDetails.engineeringInterfacePersonReply}} -
-
-
+ + +
{{this.$t('projectDeliveryRequirements')}}:
+
+ +
+ {{item.deliveryInstructions}} +
+
+
+ + +
{{this.$t('feedbackFromTheEngineer')}}:
+
+ +
+ {{item.engineerFeedbackContent}} +
+
+
+ + +
{{this.$t('Deliverables')}}:
+
+ +
+ {{this.$t('viewUploadedFiles')}} +
+
+
+ + +
{{this.$t('completedBy')}}:
+
+ +
+ {{item.createBy}} +
+
+ +
{{this.$t('completedTime')}}:
+
+ +
+ {{item.createTime}} +
+
+
+ + +
{{this.$t('replyFromProjectContactPerson')}}:
+
+ +
+ {{item.engineeringInterfacePersonReply}} +
+
+
+
+
+ {{this.$t('noData')}} +
+
+
+ +
+ {{$t('dataLoading')}} { if (valid) { @@ -482,6 +533,34 @@ this.$refs.ruleForm.validateField() }) }, + confirm(val) { + let _this = this + this.$confirm({ + content: _this.$t('confirmOperation') + '?', + onOk() { + let query = {} + if (val.status == 'NotDone') { + query = { + id: val.projectTaskInventoryId, + status: 'haveDone' + } + } else { + query = { + id: val.projectTaskInventoryId, + status: 'NotDone' + } + } + putAction(_this.url.confirmEdit, query).then((res) => { + if (res.success) { + _this.$message.success(_this.$t('OperationSuccessful')) + _this.getList() + } else { + _this.$message.warning(_this.$t('operationFailed')) + } + }) + } + }) + }, reminderHandling() { this.visibleTable = true this.getReminderHandlingList() @@ -526,8 +605,25 @@ }) }, detailsClick(val) { - this.formInlineDetails = val || {} this.visibleDetails = true + this.getDetails(val) + }, + getDetails(row) { + let query = { + pageNo: this.pageNo, + pageSize: this.pageSize, + feedbackId: row.id + } + this.pageLoading = true + getAction(this.url.page, query).then((res) => { + if (res.success) { + this.detailsList = res.result.records || [] + this.total = res.result.total + this.pageLoading = false + } else { + this.pageLoading = false + } + }) }, PersonnelSelectionChange(value, id) { this.formInline[value] = id @@ -754,4 +850,28 @@ color: #00B3BE; cursor: pointer; } + + .engineeringBox { + width: 100%; + max-height: 600px; + overflow: auto; + } + + .title-header-text { + font-size: 16px; + font-weight: 400; + color: #000F16; + margin-bottom: 30px; + } + + .page { + text-align: right; + margin-top: 20px; + } + + .noData { + height: 200px; + line-height: 200px; + text-align: center; + } \ No newline at end of file diff --git a/jero-web/src/views/processCenter/components/reviewedByThePersonInCharge.vue b/jero-web/src/views/processCenter/components/reviewedByThePersonInCharge.vue index 0bb8fcc94..5c81f85b6 100644 --- a/jero-web/src/views/processCenter/components/reviewedByThePersonInCharge.vue +++ b/jero-web/src/views/processCenter/components/reviewedByThePersonInCharge.vue @@ -2,11 +2,11 @@
- {{$t('reviewedByThePersonInCharge')}} + {{$route.query.TaskKey == 'zrrclrw' ? $t('personLiableConfirm'):$t('fillInProjectDelivery')}}
- +
@@ -35,7 +35,100 @@
- + + +
+
+ {{$t('feedbackMessage')}} +
+ + + +
+
+
+ + +
+
+ {{$t('projectDeliveryDescription')}} +
+ + + 爱上克里夫就的撒开了房间圣诞快乐房价士大夫打扫房间圣诞快乐房价是罚款乱收费考虑是否就但是考虑 + + +
+
+
+ + +
+
+ {{$t('feedbackFromTheEngineer')}} +
+ + + +
+
+
+ + +
+
+ {{$t('Deliverables')}} +
+ + + {{ (formInline.fileId === 'null' || formInline.fileId === '' || + formInline.fileId == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + +
+
+
+ + +
+
+ {{$t('complianceResults')}} +
+ + + 爱上克里夫就的撒开了房间圣诞快乐房价士大夫打扫房间圣诞快乐房价是罚款乱收费考虑是否就但是考虑 + + +
+
+
+ + +
+
+ {{$t('feedbackMessage')}} +
+ + + 爱上克里夫就的撒开了房间圣诞快乐房价士大夫打扫房间圣诞快乐房价是罚款乱收费考虑是否就但是考虑 + + +
+
+
+
+
+ {{$t('sponsorReview')}} +
+
+
@@ -49,12 +142,19 @@ +