From 90ad8fbf448b1f13f1e0eef4f92cc6283aea3ccc Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Wed, 17 Aug 2022 11:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/CollectionType/index.vue | 25 ++++++------- .../src/components/tableCollection/index.vue | 10 +++++- .../ParameterItemCollectionList.vue | 2 +- .../regulationsKanban/components/addModel.vue | 36 +++++++++---------- 4 files changed, 41 insertions(+), 32 deletions(-) diff --git a/jero-web/src/components/CollectionType/index.vue b/jero-web/src/components/CollectionType/index.vue index 3d2a8abce..ecce064fb 100644 --- a/jero-web/src/components/CollectionType/index.vue +++ b/jero-web/src/components/CollectionType/index.vue @@ -278,6 +278,18 @@
+
+ + + + {{ item.label }} + + + +
@@ -369,18 +381,7 @@ v-model="item.dataValue"/>
-
- - - - {{ item.label }} - - - -
+
diff --git a/jero-web/src/components/tableCollection/index.vue b/jero-web/src/components/tableCollection/index.vue index 63bcabf5f..fdafa80b7 100644 --- a/jero-web/src/components/tableCollection/index.vue +++ b/jero-web/src/components/tableCollection/index.vue @@ -25,6 +25,9 @@ {{ item.db_field_txt }} {{$t('See')}} + + {{ text && text.length > 8 ? text.slice(0, 7) + '...' : text }} + @@ -627,7 +630,7 @@ title: res.db_field_txt, dataIndex: res.db_field_name, align: 'center', - ellipsis: true, + // ellipsis: true, sorter: res.sort, width: 160 }) @@ -640,6 +643,11 @@ customRender: 'operationzr' } } + if(res.click2){ + this.columns[index].scopedSlots = { + customRender: 'ParameterDescription' + } + } if (res.click) { // 工程接口人列表修改 this.columns[index].scopedSlots = { diff --git a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue index b2ce60267..aaef47f42 100644 --- a/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue +++ b/jero-web/src/views/projectManagement/components/ParameterItemCollectionList.vue @@ -49,7 +49,7 @@
{{$t('NareaOfResponsibility')}}
- diff --git a/jero-web/src/views/regulationsKanban/components/addModel.vue b/jero-web/src/views/regulationsKanban/components/addModel.vue index b3a67398c..f780a80e4 100644 --- a/jero-web/src/views/regulationsKanban/components/addModel.vue +++ b/jero-web/src/views/regulationsKanban/components/addModel.vue @@ -58,28 +58,28 @@ @change='handleTableChange'> - {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} - {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }} + {{ text }}