修改未符合项的传参

This commit is contained in:
qq787203167
2022-05-12 14:26:38 +08:00
parent 89f5dc7932
commit 9b3f5dcd72
6 changed files with 57 additions and 38 deletions
@@ -18,16 +18,16 @@
:disabled="$route.query.TaskKey == 'fqrsh'?true:false"
class="box-input"
v-model="formInline.reviewResult">
<a-radio value="conformity">
<a-radio value="Compliance">
{{$t('accord')}}
</a-radio>
<a-radio value="inconformity">
<a-radio value="Non-Compliance">
{{$t('nonConformity')}}
</a-radio>
<a-radio value="to track">
<a-radio value="To be tracked">
{{$t('Tracked')}}
</a-radio>
<a-radio value="uninvolved">
<a-radio value="NA">
{{$t('notInvolved')}}
</a-radio>
</a-radio-group>
@@ -192,7 +192,7 @@
},
isAdopt() {
if (this.$route.query.TaskKey == 'fqrsh') {
if (this.queryBy.reviewResult == 'conformity' || this.queryBy.reviewResult == 'uninvolved') {
if (this.queryBy.reviewResult == 'Compliance' || this.queryBy.reviewResult == 'NA') {
return true
}
}
@@ -225,7 +225,7 @@
terminationProcess(operatorTime) {
this.textLoading = this.$t('terminationProcessing')
this.loading = true
this.queryBy.reviewResult = 'termination of task'
this.queryBy.reviewResult = 'Termination of task'
this.completeTask({ flag: 2, operatorTime: operatorTime })
},
adopt(operatorTime) {
@@ -240,10 +240,10 @@
sendBack(operatorTime) {
this.textLoading = this.$t('Returning')
this.loading = true
if (this.queryBy.reviewResult == 'inconformity' || this.queryBy.reviewResult == 'to track') {
if (this.queryBy.reviewResult == 'Non-Compliance' || this.queryBy.reviewResult == 'To be tracked') {
} else {
this.queryBy.reviewResult = 'to be confirmed'
this.queryBy.reviewResult = 'No rating'
}
this.completeTask({ flag: 1, operatorTime: operatorTime })
},