参数收集清单 参数名称超行省略 编号 参数名称固定列

This commit is contained in:
高嵩
2022-09-26 17:45:29 +08:00
parent ac90531b16
commit f158dae72d
@@ -30,6 +30,10 @@
<a-button @click='onClickTitle(record)'>{{$t('See')}}</a-button> <a-button @click='onClickTitle(record)'>{{$t('See')}}</a-button>
</span> </span>
<span slot="paramsNameDescription" slot-scope="text,record" :title="text">
{{ text && text.length > 8 ? text.slice(0, 7) + '...' : text }}
</span>
<span slot="operationbtn" slot-scope="record"> <span slot="operationbtn" slot-scope="record">
<span v-if='currentPersonRole === "homo"'> <span v-if='currentPersonRole === "homo"'>
<!-- 认证工程师 --> <!-- 认证工程师 -->
@@ -656,7 +660,7 @@
dataIndex: res.db_field_name, dataIndex: res.db_field_name,
align: 'center', align: 'center',
// ellipsis: true, // ellipsis: true,
fixed: res.click3?'left':'', fixed: res.click5?'left':'',
sorter: res.sort, sorter: res.sort,
width: 160 width: 160
}) })
@@ -674,6 +678,11 @@
customRender: 'ParameterDescription' customRender: 'ParameterDescription'
} }
} }
if(res.click3){
this.columns[index].scopedSlots = {
customRender: 'paramsNameDescription'
}
}
if (res.click) { if (res.click) {
// 工程接口人列表修改 // 工程接口人列表修改
this.columns[index].scopedSlots = { this.columns[index].scopedSlots = {