fix 80564

This commit is contained in:
赵霄
2024-01-11 11:05:07 +08:00
parent 419df32a6d
commit d1a56eb464
@@ -72,6 +72,11 @@
:extra-form="extraForm"
:all-disabled="true"
@change="handleTableChange">
<!--序号-->
<template v-slot:serialNumber="{text,record,index}">
{{ parseInt(index) + 1 }}
</template>
<template v-slot:content="{text}">
<div class="table-text" v-if="!!text" @click="handleShowContentDetail(text)">
{{ text && text !== 'null' ? text.replace(/<.*?>/ig, ' ') : '' }}
@@ -172,12 +177,10 @@ export default {
// 序号
{
title: this.$t('serialNumber'),
key: 'rowIndex',
width: 80,
dataIndex: 'id',
align: 'center',
customRender: function (t, r, index) {
return parseInt(index) + 1
}
scopedSlots: { customRender: 'serialNumber' }
},
// 标准编号/条款号
{
@@ -555,4 +558,4 @@ export default {
white-space: nowrap;
text-overflow: ellipsis;
}
</style>
</style>