diff --git a/src/components/common/operate-drawer.vue b/src/components/common/operate-drawer.vue index 6bbae7b..07914c5 100644 --- a/src/components/common/operate-drawer.vue +++ b/src/components/common/operate-drawer.vue @@ -3,7 +3,7 @@ import { computed, nextTick, onUnmounted, reactive, ref, watch } from 'vue'; import { useAppStore } from '@/store/modules/app'; defineOptions({ - name: 'NamespaceOperateDrawer' + name: 'OperateDrawer' }); interface Props { diff --git a/src/components/common/search-form.vue b/src/components/common/search-form.vue new file mode 100644 index 0000000..ac5395f --- /dev/null +++ b/src/components/common/search-form.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/src/typings/api.d.ts b/src/typings/api.d.ts index 9ea9704..92f383b 100644 --- a/src/typings/api.d.ts +++ b/src/typings/api.d.ts @@ -483,6 +483,8 @@ declare namespace Api { groupName: string; /** 业务ID */ businessId: string; + /** 业务名称 */ + businessName?: string; /** 状态 */ notifyStatus: string; /** 通知类型 */ @@ -514,12 +516,7 @@ declare namespace Api { >; /** notify-config list */ - type NotifyConfigList = Common.PaginatingQueryRecord< - { - /** 业务名称 */ - businessName: string; - } & NotifyConfig - >; + type NotifyConfigList = Common.PaginatingQueryRecord; } /** diff --git a/src/typings/components.d.ts b/src/typings/components.d.ts index c4e950e..6b635d1 100644 --- a/src/typings/components.d.ts +++ b/src/typings/components.d.ts @@ -89,6 +89,8 @@ declare module 'vue' { ReloadButton: typeof import('./../components/common/reload-button.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] + Search: typeof import('../components/common/search-form.vue')['default'] + SearchForm: typeof import('./../components/common/search-form.vue')['default'] SoybeanAvatar: typeof import('./../components/custom/soybean-avatar.vue')['default'] SvgIcon: typeof import('./../components/custom/svg-icon.vue')['default'] SystemLogo: typeof import('./../components/common/system-logo.vue')['default'] diff --git a/src/views/group-config/index.vue b/src/views/group-config/index.vue index 7781965..6494fe3 100644 --- a/src/views/group-config/index.vue +++ b/src/views/group-config/index.vue @@ -149,7 +149,13 @@ function edit(id: string) {