修改禅道已知bug

This commit is contained in:
qq787203167
2022-05-10 15:14:30 +08:00
parent 8f418a5829
commit 2f8687f1b1
4 changed files with 12 additions and 11 deletions
@@ -81,7 +81,7 @@
mounted() {
if (this.queryBy) {
this.formInline.reviewResult = this.queryBy.reviewResult || undefined
// this.formInline.approvalOpinion = this.queryBy.approvalOpinion || ''
this.formInline.approvalOpinion = ''
this.formInline = { ...this.formInline }
}
},
@@ -14,8 +14,8 @@
:data-source="dataSource"
:columns="columns"
>
<span slot="approvalResult" slot-scope="text,result">
{{approvalResult[text]}}
<span slot="reviewResult" slot-scope="text,result">
{{reviewResult[text]}}
</span>
</a-table>
</div>
@@ -33,18 +33,18 @@
return {
dataSource: [],
loading: false,
approvalResult: {
0: this.$t('agree'),
1: this.$t('disagree'),
2: this.$t('terminationProcess'),
3: this.$t('issue')
reviewResult: {
'conformity': this.$t('accord'),
'inconformity': this.$t('nonConformity'),
'to track': this.$t('Tracked'),
'uninvolved': this.$t('notInvolved')
},
columns: [
{
title: this.$t('result'),
dataIndex: 'approvalResult',
dataIndex: 'reviewResult',
align: 'center',
scopedSlots: { customRender: 'approvalResult' }
scopedSlots: { customRender: 'reviewResult' }
},
{
title: this.$t('opinion'),