der提交加参数

This commit is contained in:
qq787203167
2022-05-20 15:39:15 +08:00
parent c9e5b0eac6
commit f5b32c89dd
6 changed files with 32 additions and 16 deletions
+3
View File
@@ -862,4 +862,7 @@ module.exports = {
fillInProjectDelivery:'Fill in project delivery', fillInProjectDelivery:'Fill in project delivery',
Resubmit:'Resubmit', Resubmit:'Resubmit',
Quantity:'Quantity', Quantity:'Quantity',
pleaseConfirmationResults:'Please select the compliance status according to the engineering confirmation results',
pleaseReviewTask:'Please add the engineering confirmation information for this review task',
pleaseWillBeReturned:'Please reconfirm the project confirmation results and the review results of the responsible person. If they meet the requirements, they will be submitted, otherwise they will be returned',
} }
+5 -2
View File
@@ -596,11 +596,11 @@ module.exports = {
certificationType: '认证类型', certificationType: '认证类型',
certificationLevel: '认证级别', certificationLevel: '认证级别',
areaOfResponsibility: '责任领域', areaOfResponsibility: '责任领域',
confirmationOfDesignConformity: '设计符合性确认', confirmationOfDesignConformity: '法规设计符合性确认',
Deliverables: '交付物', Deliverables: '交付物',
personLiable: '责任人', personLiable: '责任人',
PrehomoConfirmation: 'Pre-Homo确认', PrehomoConfirmation: 'Pre-Homo确认',
verificationAndConformityconfirmation: '验证符合性确认', verificationAndConformityconfirmation: '法规验证符合性确认',
StandardImplementationDate: '标准实施日期', StandardImplementationDate: '标准实施日期',
regulatoryEngineer: '法规工程师', regulatoryEngineer: '法规工程师',
certifiedEngineer: '认证工程师', certifiedEngineer: '认证工程师',
@@ -867,4 +867,7 @@ module.exports = {
fillInProjectDelivery:'填写工程交付', fillInProjectDelivery:'填写工程交付',
Resubmit:'重新提交', Resubmit:'重新提交',
Quantity:'数量', Quantity:'数量',
pleaseConfirmationResults:'请根据工程确认结果选择符合性状态',
pleaseReviewTask:'请您添加对该条审查任务的工程确认信息',
pleaseWillBeReturned:'请对工程确认结果和责任人审查结果进行再次确认,若符合要求则进行提交,否则进行退回',
} }
@@ -3,6 +3,8 @@
<div class="box-text"> <div class="box-text">
<div class="header-text"> <div class="header-text">
{{$t('engineeringConfirmation')}} {{$t('engineeringConfirmation')}}
<a-icon :title="$t('pleaseReviewTask')"
type="question-circle" />
</div> </div>
</div> </div>
<div class="header-content"> <div class="header-content">
@@ -394,11 +396,8 @@
columnsAll: [ columnsAll: [
{ {
title: 'ID', title: 'ID',
dataIndex: 'index', dataIndex: 'serialNumber',
key: 'index',
align: 'left', align: 'left',
width: 140,
customRender: (text, record, index) => `${index + 1}`
}, },
{ {
title: this.$t('completedBy'), title: this.$t('completedBy'),
@@ -4,6 +4,9 @@
<div class="header-text"> <div class="header-text">
{{$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'fqrsh' {{$route.query.TaskKey == 'zrrclrw' || $route.query.TaskKey == 'fqrsh'
? $t('personLiableConfirm'):$t('fillInProjectDelivery')}} ? $t('personLiableConfirm'):$t('fillInProjectDelivery')}}
<a-icon :title="$route.query.TaskKey == 'zrrclrw'?$t('pleaseConfirmationResults'):$t('pleaseReviewTask')"
v-if="$route.query.TaskKey == 'zrrclrw'"
type="question-circle"/>
</div> </div>
</div> </div>
<a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm"> <a-form-model :model="formInline" class="formAdd" :rules="rules" ref="ruleForm">
@@ -125,18 +128,20 @@
</div> </div>
<a-form-model-item class="itemModel"> <a-form-model-item class="itemModel">
<span class="text-header"> <span class="text-header">
{{formInline.approvalOpinion}} {{formInline.PersonChargeFeedback}}
</span> </span>
</a-form-model-item> </a-form-model-item>
</div> </div>
</a-col> </a-col>
</a-row> </a-row>
<div class="box-text" v-if="$route.query.TaskKey == 'fqrsh'"> <div class="box-text" v-if="$route.query.TaskKey == 'fqrsh' && this.$route.query.isDisplay">
<div class="header-text"> <div class="header-text">
{{$t('sponsorReview')}} {{$t('sponsorReview')}}
<a-icon :title="$t('pleaseWillBeReturned')"
type="question-circle"/>
</div> </div>
</div> </div>
<a-row :gutter="24" v-if="$route.query.TaskKey == 'fqrsh'"> <a-row :gutter="24" v-if="$route.query.TaskKey == 'fqrsh' && this.$route.query.isDisplay">
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
@@ -221,7 +226,7 @@
this.$route.query.isDisplay = JSON.parse(this.$route.query.isDisplay) this.$route.query.isDisplay = JSON.parse(this.$route.query.isDisplay)
if (this.queryBy && this.$route.query.TaskKey == 'fqrsh') { if (this.queryBy && this.$route.query.TaskKey == 'fqrsh') {
this.formInline.reviewResult = this.queryBy.reviewResult || undefined this.formInline.reviewResult = this.queryBy.reviewResult || undefined
this.formInline.approvalOpinion = this.queryBy.approvalOpinion this.formInline.PersonChargeFeedback = this.$route.query.PersonChargeFeedback
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
} }
if (this.queryPersonInCharge && this.$route.query.TaskKey == 'dreDispose') { if (this.queryPersonInCharge && this.$route.query.TaskKey == 'dreDispose') {
@@ -231,9 +236,11 @@
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
} }
if (this.queryBy && this.$route.query.TaskKey == 'zrrclrw') { if (this.queryBy && this.$route.query.TaskKey == 'zrrclrw') {
this.formInline.reviewResult = this.queryBy.reviewResult || undefined if (!this.$route.query.isDisplay) {
this.formInline.approvalOpinion = this.queryBy.approvalOpinion this.formInline.reviewResult = this.queryBy.reviewResult || undefined
this.formInline = { ...this.formInline } this.formInline.approvalOpinion = this.$route.query.PersonChargeFeedback
this.formInline = { ...this.formInline }
}
} }
}, },
methods: { methods: {
@@ -296,7 +296,8 @@
remarks: 'designRemark', remarks: 'designRemark',
projectName: this.$route.query.projectName, projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId, projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.designTaskDetailId primaryKeyId: val.designTaskDetailId,
PersonChargeFeedback:val.designPersonChargeFeedback,
} }
break break
case 2: case 2:
@@ -319,7 +320,8 @@
remarks: 'prehomoRemark', remarks: 'prehomoRemark',
projectName: this.$route.query.projectName, projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId, projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.prehomoTaskDetailId primaryKeyId: val.prehomoTaskDetailId,
PersonChargeFeedback:val.prehomoPersonChargeFeedback,
} }
break break
case 3: case 3:
@@ -342,7 +344,8 @@
remarks: 'verifyRemark', remarks: 'verifyRemark',
projectName: this.$route.query.projectName, projectName: this.$route.query.projectName,
projectNameId: this.$route.query.projectNameId, projectNameId: this.$route.query.projectNameId,
primaryKeyId: val.verifyTaskDetailId primaryKeyId: val.verifyTaskDetailId,
PersonChargeFeedback:val.verifyPersonChargeFeedback,
} }
break break
} }
@@ -286,6 +286,7 @@
this.visible = true this.visible = true
this.title = this.$t('add') this.title = this.$t('add')
this.formInline = {} this.formInline = {}
this.getNameList()
this.formInline.studioEngineerName = this.userInfo().username this.formInline.studioEngineerName = this.userInfo().username
this.formInline.studioEngineer = this.userInfo().id this.formInline.studioEngineer = this.userInfo().id
this.$nextTick(() => { this.$nextTick(() => {