修改未符合项的传参
This commit is contained in:
@@ -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 })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user