ota管理表头排序 去除操作列

This commit is contained in:
zyx.net
2023-09-07 10:02:28 +08:00
parent a15bc1c1dd
commit b6b635d518
@@ -143,7 +143,7 @@
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns">
<!-- -->
<span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="detailclick(record)">{{ $t('See') }}</a>
<a class="text-operation" @click="detailclick(record)">{{text}}</a>
</span>
</a-table>
<div class="page" v-if="dataSource && dataSource.length > 0">
@@ -211,7 +211,9 @@ export default {
align: 'left',
dataIndex: 'plannedBpLaunchBatch',
ellipsis: true,
width: 170
sorter:true,
width: 150,
scopedSlots: { customRender: 'operation' }
},
// {
// title: this.$t('softwareplatform'),
@@ -223,31 +225,34 @@ export default {
{
title: this.$t('market'),
align: 'left',
width: 170,
width: 150,
ellipsis: true,
sorter:true,
dataIndex: 'market'
},
{
title: this.$t('vehicleType'),
align: 'left',
width: 320,
width: 600,
ellipsis: true,
sorter:true,
dataIndex: 'appliedVehicleProject'
},
{
title: this.$t('softwarereleasetime'),
align: 'left',
width: 170,
width: 120,
ellipsis: true,
sorter:true,
dataIndex: 'releaseDate'
},
{
title: this.$t('operation'),
align: 'left',
fixed: 'right',
width: 100,
scopedSlots: { customRender: 'operation' }
}
// {
// title: this.$t('operation'),
// align: 'left',
// fixed: 'right',
// width: 100,
// scopedSlots: { customRender: 'operation' }
// }
],
userInfoQuery: {},
administrators: false