修改禅道已知bug
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user