diff --git a/orion-ops-ui/src/api/asset/host.ts b/orion-ops-ui/src/api/asset/host.ts index 72bc22b7..aaea3050 100644 --- a/orion-ops-ui/src/api/asset/host.ts +++ b/orion-ops-ui/src/api/asset/host.ts @@ -23,6 +23,7 @@ export interface HostUpdateRequest extends HostCreateRequest { * 主机查询请求 */ export interface HostQueryRequest extends Pagination { + searchValue?: string; id?: number; name?: string; code?: string; diff --git a/orion-ops-ui/src/assets/style/layout.less b/orion-ops-ui/src/assets/style/layout.less index 3d160e75..22963d1f 100644 --- a/orion-ops-ui/src/assets/style/layout.less +++ b/orion-ops-ui/src/assets/style/layout.less @@ -80,6 +80,10 @@ cursor: pointer; } +.card-filter-wrapper { + padding: 18px 24px 14px 24px; +} + .usn { user-select: none; } diff --git a/orion-ops-ui/src/components/card/list/index.vue b/orion-ops-ui/src/components/card/list/index.vue index aab4417a..f00d6278 100644 --- a/orion-ops-ui/src/components/card/list/index.vue +++ b/orion-ops-ui/src/components/card/list/index.vue @@ -26,7 +26,7 @@
@@ -53,12 +53,28 @@ @change="e => emits('update:searchValue', e)" @keydown.enter="emits('search')" />
- -
- -
+ + +
+ + + +
+ +