From f158dae72de4928825419ba08e0e00cf799eae13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E5=B5=A9?= Date: Mon, 26 Sep 2022 17:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=94=B6=E9=9B=86=E6=B8=85?= =?UTF-8?q?=E5=8D=95=20=E5=8F=82=E6=95=B0=E5=90=8D=E7=A7=B0=E8=B6=85?= =?UTF-8?q?=E8=A1=8C=E7=9C=81=E7=95=A5=20=E7=BC=96=E5=8F=B7=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=90=8D=E7=A7=B0=E5=9B=BA=E5=AE=9A=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/tableCollection/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 9c56825ee..6e7bf6b0f 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -30,6 +30,10 @@ {{$t('See')}} + + + {{ text && text.length > 8 ? text.slice(0, 7) + '...' : text }} + @@ -656,7 +660,7 @@ dataIndex: res.db_field_name, align: 'center', // ellipsis: true, - fixed: res.click3?'left':'', + fixed: res.click5?'left':'', sorter: res.sort, width: 160 }) @@ -674,6 +678,11 @@ customRender: 'ParameterDescription' } } + if(res.click3){ + this.columns[index].scopedSlots = { + customRender: 'paramsNameDescription' + } + } if (res.click) { // 工程接口人列表修改 this.columns[index].scopedSlots = {