From 846a5878ba805c7099811038419a9757c00d3d88 Mon Sep 17 00:00:00 2001 From: liyawei Date: Thu, 19 May 2022 15:25:58 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E8=AE=A4=E8=AF=81-=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=A1=B9=E6=94=B6=E9=9B=86-=E5=8F=98=E6=9B=B4=E6=89=A9?= =?UTF-8?q?=E5=B1=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/ParamsManifestEOServiceImpl.java | 40 ++++++++++++++----- .../ParamsManifestHistoryEOServiceImpl.java | 6 --- 2 files changed, 29 insertions(+), 17 deletions(-) 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 Date: Thu, 19 May 2022 15:38:35 +0800 Subject: [PATCH 2/6] =?UTF-8?q?[add]=20=E6=88=AA=E8=87=B3=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 1 + jero-web/src/common/lang/zh-cn.js | 1 + .../src/components/TaskCutOffTime/index.vue | 186 ++++++++++++++++++ .../ParameterItemCollectionList.vue | 24 ++- 4 files changed, 211 insertions(+), 1 deletion(-) create mode 100644 jero-web/src/components/TaskCutOffTime/index.vue diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 85af32664..17cd6db8c 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', diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 7308948ce..8a48b73a3 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: '配置信息', diff --git a/jero-web/src/components/TaskCutOffTime/index.vue b/jero-web/src/components/TaskCutOffTime/index.vue new file mode 100644 index 000000000..bfe24e98e --- /dev/null +++ b/jero-web/src/components/TaskCutOffTime/index.vue @@ -0,0 +1,186 @@ + + + + + + \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index 17d6483c7..70f486201 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -83,6 +83,11 @@ {{$t('CompulsoryWithdrawal')}} + +
+ + {{$t('TaskCutOffTime')}} +
...{{ $t('more') }} @@ -163,6 +168,10 @@ + + + + @@ -170,16 +179,19 @@ import TableCollection from '@/components/tableCollection/index' import { getAction,postAction } from '../../../api/manage' import ParameterLibraryAdd from '@/components/ParameterLibraryAdd/index' +import TaskCutOffTime from '@/components/TaskCutOffTime/index' import AssignedBy from '@/components/AssignedBy/index' import axios from 'axios' import { ACCESS_TOKEN } from '@/store/mutation-types' import Vue from 'vue' +import moment from 'moment' export default { name: 'ParameterItemCollectionList', components:{ TableCollection, ParameterLibraryAdd, - AssignedBy + AssignedBy, + TaskCutOffTime }, data(){ return{ @@ -263,6 +275,7 @@ export default { Dateline: {}, areaVisibleFreeze: false, // 冻结配置 areaVisibleAssignedby: false, // 分配填写人弹框 + areaVisibleTaskCutOffTime: false, // 截至时间弹框 wrapperCol: { xs: { span: 24 }, sm: { span: 14 } @@ -566,9 +579,18 @@ export default { assignedBy() { this.areaVisibleAssignedby = true }, + // 分配填写人确定后弹框关闭 areaVisibleAssignedbyflag(val) { this.areaVisibleAssignedby = val }, + // 截止时间 + TaskCutOffTime() { + this.areaVisibleTaskCutOffTime = true + }, + // 截至时间确定弹框关闭 + areaVisibleTaskCutOffTimeflag(val) { + this.areaVisibleTaskCutOffTime = val + }, handleModule() { }, From 66529a1a88daadaaf225a0102e7b40951a61616c Mon Sep 17 00:00:00 2001 From: zhaomeijing Date: Thu, 19 May 2022 15:51:32 +0800 Subject: [PATCH 3/6] =?UTF-8?q?[add]=20=E6=88=AA=E8=87=B3=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/TaskCutOffTime/index.vue | 40 +++++-------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/jero-web/src/components/TaskCutOffTime/index.vue b/jero-web/src/components/TaskCutOffTime/index.vue index bfe24e98e..44086b7ea 100644 --- a/jero-web/src/components/TaskCutOffTime/index.vue +++ b/jero-web/src/components/TaskCutOffTime/index.vue @@ -31,6 +31,7 @@ import axios from 'axios' import Vue from 'vue' import { ACCESS_TOKEN } from '@/store/mutation-types' import moment from 'moment' +import eventBUs from '../../common/event' export default { name: 'diolagArea', components: {}, @@ -105,35 +106,16 @@ export default { //新增 handleSubmit() { let _this = this - let param = {ids: this.selectedRowKeysArray, deadline: `"${this.pickerDate}"`, } - axios({ - url: '/jero-boot/params/collectManifest/updateDeadlineBatch', - method: 'post', - data: param, - transformRequest: [function (data) { - let ret = '' - for (let it in data) { - ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&' - } - return ret - }], - headers: { - 'Content-Type': 'application/x-www-form-urlencoded', - 'X-Access-Token':_this.token - } - }) - .then( (res) =>{ - if (res.data.success) { - _this.$message.success(res.data.result) - _this.loadData() - this.$emit('areaVisibleTaskCutOffTimeflag', false) - }else{ - _this.$message.warning(res.data.result) - } - }) - .catch( (error) =>{ - console.log(error); - }); + let param = {ids: this.selectedRowKeysArray, deadline: `${this.pickerDate}`, } + postAction('/params/collectManifest/updateDeadlineBatch', param).then((res) => { + if (res.success) { + this.loadData() + this.$emit('areaVisibleTaskCutOffTimeflag', false) + this.$message.success(res.message) + } else { + this.$message.warning(res.message) + } + }) }, onChange(val) { this.pickerDate = moment(val).format('YYYY-MM-DD HH:mm:ss') From d82dd3d7bbdfc48ebba8ab33cbc6849e0f1e9226 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 19 May 2022 16:14:44 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 9 + jero-web/src/common/lang/zh-cn.js | 9 + .../components/engineeringConfirmation.vue | 240 +++++++++++++----- .../reviewedByThePersonInCharge.vue | 163 +++++++++++- 4 files changed, 357 insertions(+), 64 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 17cd6db8c..eecd5f3dc 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -846,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 8a48b73a3..cd5a55305 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -851,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/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 @@ +