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] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E4=BB=BB=E5=8A=A1=E7=A1=AE?= =?UTF-8?q?=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 @@ +