对接导出
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
<span slot="operation" slot-scope="record">
|
||||
<a class="text" v-for="(ol,index) in OperationList"
|
||||
@click="OperationClick(ol,record)">
|
||||
<span v-if="ol.text == '收藏'">
|
||||
<span v-if="ol.text == '取消收藏'">
|
||||
{{!record.collectFlag || record.collectFlag == 0 ? '收藏' :'取消收藏'}}
|
||||
</span>
|
||||
<span v-else-if="ol.text == '订阅'">
|
||||
<span v-else-if="ol.text == '取消订阅'">
|
||||
{{!record.subscribeFlag || record.subscribeFlag == 0 ? '订阅' :'取消订阅'}}
|
||||
</span>
|
||||
<span v-else>
|
||||
@@ -135,12 +135,12 @@
|
||||
let width = 0
|
||||
if (this.OperationList.length > 0) {
|
||||
this.OperationList.forEach((res) => {
|
||||
width += res.text.length * 9 + width
|
||||
width += res.text.length * 5 + width
|
||||
})
|
||||
}
|
||||
if (this.showAction) {
|
||||
this.columns.push({
|
||||
title: '操作',
|
||||
title: this.$t('operation'),
|
||||
align: 'center',
|
||||
fixed: 'right',
|
||||
width: width,
|
||||
|
||||
Reference in New Issue
Block a user