diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue index 264068267..ed956af09 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/dealtWith.vue @@ -279,7 +279,7 @@ TaskKey: row.taskDefinitionKey, isDisplay: true, flowType: 2, - Sponsor: 'designInitiatorName', + Sponsor: 'regulationOwnerName', personLiable: 'designDutyName', typeOfDeliverables: 'designDeliverableTypeName', deliverableTemplate: 'designDeliverableTemplate', @@ -296,7 +296,7 @@ // query: query // }) // window.open(newUrl.href, '_blank') - this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)),this.$t('designComplianceReview')) + this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), this.$t('designComplianceReview')) } else if (row.flowType == '3') { row.taskId = row.taskId + '' @@ -349,7 +349,7 @@ TaskKey: row.taskDefinitionKey, flowType: 4, isDisplay: true, - Sponsor: 'verifyInitiatorName', + Sponsor: 'regulationOwnerName', personLiable: 'verifyDutyName', typeOfDeliverables: 'verifyDeliverableTypeName', deliverableTemplate: 'verifyDeliverableTemplate', @@ -366,8 +366,7 @@ // query: query // }) // window.open(newUrl.href, '_blank') - this.visible = true - this.title = this.$t('verificationComplianceReview') + this.$refs.designComplianceRef.getList(JSON.parse(JSON.stringify(query)), this.$t('verificationComplianceReview')) } }, searchQuery(value) { diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/designCompliance.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/designCompliance.vue index b553eb9d1..aa6b4c8ed 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/designCompliance.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/designCompliance.vue @@ -91,15 +91,7 @@ value: 'projectName' }, { - title: this.$t('targetMarket'), - value: 'targetMarket_dictText' - }, - { - title: this.$t('subtitle'), - value: 'subtitle' - }, - { - title: this.$t('standard'), + title: this.$t('regulationNo'), value: 'serialNumber', type: '4' }, @@ -107,6 +99,10 @@ title: this.$t('title'), value: 'title' }, + { + title: this.$t('subtitle'), + value: 'subtitle' + }, { title: this.$t('applicableSupplement'), value: 'applicableSupplement' @@ -126,16 +122,14 @@ }, computed: { isSendBack() { - if (this.queryData.TaskKey == 'fqrsh' && this.queryData.isDisplay) { + if (this.queryData.TaskKey == 'zrrtjjfw' || this.queryData.TaskKey == 'fggcssh' || this.queryData.TaskKey == 'dezrrtjjfw') { return true } return false }, isAdopt() { - if (this.queryData.TaskKey == 'fqrsh' && this.queryData.isDisplay) { - if (this.queryBy.reviewResult == 'Compliance' || this.queryBy.reviewResult == 'NA') { - return true - } + if (this.queryData.TaskKey == 'fggcssh') { + return true } return false }, @@ -154,13 +148,13 @@ return false }, isCancel() { - if (this.queryData.TaskKey == 'zrrqr' || this.queryData.TaskKey == 'dezrrqr') { + if (this.queryData.TaskKey == 'zrrqr' || this.queryData.TaskKey == 'dezrrqr' || this.queryData.TaskKey == 'zrrtjjfw') { return true } return false }, isConfirm() { - if (this.queryData.TaskKey == 'zrrqr' || this.queryData.TaskKey == 'dezrrqr') { + if (this.queryData.TaskKey == 'zrrqr' || this.queryData.TaskKey == 'dezrrqr' || this.queryData.TaskKey == 'zrrtjjfw') { return true } return false @@ -244,45 +238,9 @@ } }) }, - dreSubmit(val) { - let query = { - id: this.queryPersonInCharge.id, - engineerFeedbackContent: val.engineerFeedbackContent, - fileId: val.fileId, - flowType: this.$route.query.flowType, - actiProcInstId: this.$route.query.actiProcInstId, - deliveryRequirements: val.deliveryRequirements, - engineeringInterfacePersonReply: this.queryPersonInCharge.engineeringInterfacePersonReply - } - putAction(this.url.dreSubmit, query).then((res) => { - if (res.success) { - this.$message.success(this.$t('OperationSuccessful')) - if (this.$route.query.router) { - this.$router.push({ - path: '/projectRegulationTasks' - }) - } else { - this.$router.push({ - path: '/ProjectDetails', - query: { - type: '103', - ...this.$route.query - } - }) - } - // setTimeout(() => { - // this.loading = false - // window.close() - // }, 1000) - } else { - this.loading = false - this.$message.warning(this.$t('operationFailed')) - } - }) - }, - confirm(operatorTime){ + confirm(operatorTime) { this.$refs.reviewedByThePersonInChargeRef.submit((res) => { - this.completeTask({operatorTime: operatorTime, ...res }) + this.completeTask({ operatorTime: operatorTime, ...res }) }) }, completeTask(value) { diff --git a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/reviewedByThePersonInCharge.vue b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/reviewedByThePersonInCharge.vue index c833c2255..5d0ea3fa3 100644 --- a/jero-web/src/views/toDoCenter/projectRegulationTasks/components/reviewedByThePersonInCharge.vue +++ b/jero-web/src/views/toDoCenter/projectRegulationTasks/components/reviewedByThePersonInCharge.vue @@ -9,10 +9,10 @@ - +
- * + * {{$t('resultofhandling')}}
@@ -30,6 +30,12 @@ {{$t('sendBack')}} + + {{$t('accord')}} + + + {{$t('nonConformity')}} + {{$t('Tracked')}} @@ -53,13 +59,29 @@
+ + +
+
+ {{$t('enclosure')}} +
+ + + {{ (formInline.approvalFile === 'null' || formInline.approvalFile === '' || + formInline.approvalFile == null) ? $t('clickUpload') : $t('viewUploadedFiles') + }} + + +
+
+