自定义表头修改

This commit is contained in:
高嵩
2023-02-14 10:45:53 +08:00
parent 161bf6e87a
commit 7fab5980a7
@@ -253,7 +253,7 @@
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns"
>
<span slot="operation" slot-scope="text,record">
<span slot="operationOne" slot-scope="text,record">
<a class="text-operation"
v-if="(record.inventoryAffirmStatus == 'List to confirm' &&
((record.roleCode == 1 && !record.regulationOwnerSubmitStatus) ||
@@ -279,12 +279,12 @@
</a>
</span>
<span slot="operationOne" slot-scope="text,record">
<a class="text-operation"
@click="viewClick(record)">
{{$t('view')}}
</a>
</span>
<!-- <span slot="operationOne" slot-scope="text,record">-->
<!-- <a class="text-operation"-->
<!-- @click="viewClick(record)">-->
<!-- {{$t('view')}}-->
<!-- </a>-->
<!-- </span>-->
<span slot="titleName" slot-scope="text,record" :title="text">
<span class="textName">
{{text}}
@@ -811,13 +811,13 @@
}
]
},
{
title: this.$t('operation'),
align: 'left',
fixed: 'right',
width: 200,
scopedSlots: { customRender: 'operation' }
},
// {
// title: this.$t('operation'),
// align: 'left',
// fixed: 'right',
// width: 200,
// scopedSlots: { customRender: 'operation' }
// },
{
title: this.$t('operation'),
align: 'left',