From 76e766367f8eb8c585468f426b8962109beb5e08 Mon Sep 17 00:00:00 2001 From: lijiahangmax Date: Sat, 22 Mar 2025 00:00:41 +0800 Subject: [PATCH] =?UTF-8?q?:hammer:=20=E6=9F=A5=E8=AF=A2=E5=AD=97=E6=AE=B5?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/host-identity-card-list.vue | 21 ++++---- .../components/host-identity-table.vue | 19 ++++++-- .../asset/host-identity/types/card.fields.ts | 26 ++++++++++ .../views/asset/host-identity/types/const.ts | 3 ++ .../host-identity/types/table.columns.ts | 38 ++++++++++++++- .../components/host-key-card-list.vue | 24 +++++----- .../host-key/components/host-key-table.vue | 18 +++++-- .../views/asset/host-key/types/card.fields.ts | 16 +++++++ .../src/views/asset/host-key/types/const.ts | 2 + .../asset/host-key/types/table.columns.ts | 28 +++++++++-- .../host-list/components/host-card-list.vue | 39 +++++++-------- .../asset/host-list/components/host-table.vue | 31 ++++++------ .../asset/host-list/types/card.fields.ts | 38 ++++++++++++++- .../src/views/asset/host-list/types/const.ts | 3 ++ .../asset/host-list/types/table.columns.ts | 48 ++++++++++++++++++- .../components/exec-command-log-table.vue | 4 +- .../exec-command-log/types/table.columns.ts | 2 +- .../components/operator-log-simple-table.vue | 6 +-- 18 files changed, 285 insertions(+), 81 deletions(-) diff --git a/orion-visor-ui/src/views/asset/host-identity/components/host-identity-card-list.vue b/orion-visor-ui/src/views/asset/host-identity/components/host-identity-card-list.vue index f8713596..2464fb77 100644 --- a/orion-visor-ui/src/views/asset/host-identity/components/host-identity-card-list.vue +++ b/orion-visor-ui/src/views/asset/host-identity/components/host-identity-card-list.vue @@ -3,12 +3,14 @@ search-input-placeholder="输入 id / 名称 / 用户名" :create-card-position="false" :loading="loading" - :field-config="fieldConfig" + :field-config="cardFieldConfig" :list="list" :pagination="pagination" :card-layout-cols="cardColLayout" :filter-count="filterCount" :add-permission="['asset:host-identity:create']" + :query-order="queryOrder" + :fields-hook="fieldsHook" @add="emits('openAdd')" @reset="reset" @search="fetchCardData" @@ -136,17 +138,13 @@ - - 修改 - + 修改 - - 删除 - + 删除 @@ -163,7 +161,7 @@