修改已知问题

This commit is contained in:
qq787203167
2022-05-25 17:53:02 +08:00
parent 4a7b7a944f
commit 267b5f12da
14 changed files with 79 additions and 35 deletions
@@ -26,6 +26,9 @@
:data-source="dataSource"
:columns="columns"
>
<a slot="areaOfResponsibility" slot-scope="text,result" @click="areaOfResponsibilityClick(result)">
{{text}}
</a>
</a-table>
</a-modal>
</template>
@@ -53,15 +56,16 @@
title: this.$t('areaOfResponsibility'),
dataIndex: 'dutyTerritory',
align: 'center',
width:400,
ellipsis: true
width: 400,
ellipsis: true,
scopedSlots: { customRender: 'areaOfResponsibility' }
},
{
title: this.$t('Quantity'),
dataIndex: 'amount',
align: 'center',
ellipsis: true,
width:300,
width: 300
}
]
}
@@ -92,6 +96,9 @@
},
handleCancel() {
this.visible = false
},
areaOfResponsibilityClick(item) {
this.$emit('responsibility', item)
}
}
}