From a7f86bf62a5cd2e4a8bb3ee5bb95708ff16134e8 Mon Sep 17 00:00:00 2001 From: lijiahang Date: Tue, 9 Jul 2024 10:34:39 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E4=BF=AE=E6=94=B9=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=A0=B7=E5=BC=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../orion-vue-views-types-table.columns.ts.vm | 3 +- .../asset/host-identity/selector/index.vue | 33 +++++++++++++++++-- .../host/authorized-host-modal/index.vue | 1 + .../meta/tag/multi-selector/index.vue | 1 + .../view/json-editor/modal/index.vue | 2 +- .../components/connect-log-table.vue | 10 ++++++ .../connect-log/types/table.columns.ts | 7 +--- .../sftp-log/types/table.columns.ts | 1 + .../components/ssh-config-form.vue | 2 +- .../components/host-key-form-drawer.vue | 6 ++-- .../exec-command-log/types/table.columns.ts | 1 + .../exec/upload-task/types/table.columns.ts | 1 + .../new-connection/new-connection-view.vue | 3 +- .../display/terminal-display-block.vue | 6 ++-- .../setting/theme/terminal-theme-block.vue | 19 +++++++---- .../job/exec-job-log/types/table.columns.ts | 1 + .../views/job/exec-job/types/table.columns.ts | 1 + .../views/system/menu/types/table.columns.ts | 2 ++ .../user/operator-log/types/table.columns.ts | 2 ++ .../views/user/user/types/table.columns.ts | 6 +++- 20 files changed, 85 insertions(+), 23 deletions(-) diff --git a/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm b/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm index 18b78caa..737e4bd3 100644 --- a/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm +++ b/orion-visor-framework/orion-visor-spring-boot-starter-mybatis/src/main/resources/templates/orion-vue-views-types-table.columns.ts.vm @@ -6,7 +6,7 @@ const columns = [ title: 'id', dataIndex: 'id', slotName: 'id', - width: 100, + width: 80, align: 'left', fixed: 'left', }, #foreach($field in ${table.fields})#if("$!field.propertyName" != "id"){ @@ -15,6 +15,7 @@ const columns = [ slotName: '${field.propertyName}', align: 'left', #if(${field.propertyType} == 'String') + minWidth: 238, ellipsis: true, tooltip: true, #elseif(${field.propertyType} == 'Date') diff --git a/orion-visor-ui/src/components/asset/host-identity/selector/index.vue b/orion-visor-ui/src/components/asset/host-identity/selector/index.vue index 9dafbab2..50aff252 100644 --- a/orion-visor-ui/src/components/asset/host-identity/selector/index.vue +++ b/orion-visor-ui/src/components/asset/host-identity/selector/index.vue @@ -3,7 +3,22 @@ :options="optionData" :loading="loading" placeholder="请选择主机身份" - allow-clear /> + allow-clear> + + + + + diff --git a/orion-visor-ui/src/components/asset/host/authorized-host-modal/index.vue b/orion-visor-ui/src/components/asset/host/authorized-host-modal/index.vue index c0e35a8e..952758d9 100644 --- a/orion-visor-ui/src/components/asset/host/authorized-host-modal/index.vue +++ b/orion-visor-ui/src/components/asset/host/authorized-host-modal/index.vue @@ -37,6 +37,7 @@ :allow-clear="true" :data="filterOptions" :filter-option="tagLabelFilter"> +