ota管理表头排序 去除操作列
This commit is contained in:
@@ -143,7 +143,7 @@
|
|||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns">
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" :columns="columns">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<span slot="operation" slot-scope="text,record">
|
<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>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" v-if="dataSource && dataSource.length > 0">
|
<div class="page" v-if="dataSource && dataSource.length > 0">
|
||||||
@@ -211,7 +211,9 @@ export default {
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
dataIndex: 'plannedBpLaunchBatch',
|
dataIndex: 'plannedBpLaunchBatch',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170
|
sorter:true,
|
||||||
|
width: 150,
|
||||||
|
scopedSlots: { customRender: 'operation' }
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
// title: this.$t('softwareplatform'),
|
// title: this.$t('softwareplatform'),
|
||||||
@@ -223,31 +225,34 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('market'),
|
title: this.$t('market'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 170,
|
width: 150,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
sorter:true,
|
||||||
dataIndex: 'market'
|
dataIndex: 'market'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('vehicleType'),
|
title: this.$t('vehicleType'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 320,
|
width: 600,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
sorter:true,
|
||||||
dataIndex: 'appliedVehicleProject'
|
dataIndex: 'appliedVehicleProject'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('softwarereleasetime'),
|
title: this.$t('softwarereleasetime'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 170,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
|
sorter:true,
|
||||||
dataIndex: 'releaseDate'
|
dataIndex: 'releaseDate'
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
title: this.$t('operation'),
|
// title: this.$t('operation'),
|
||||||
align: 'left',
|
// align: 'left',
|
||||||
fixed: 'right',
|
// fixed: 'right',
|
||||||
width: 100,
|
// width: 100,
|
||||||
scopedSlots: { customRender: 'operation' }
|
// scopedSlots: { customRender: 'operation' }
|
||||||
}
|
// }
|
||||||
],
|
],
|
||||||
userInfoQuery: {},
|
userInfoQuery: {},
|
||||||
administrators: false
|
administrators: false
|
||||||
|
|||||||
Reference in New Issue
Block a user