Feat: New search page components and features (#9344)

### What problem does this PR solve?

Feat: New search page components and features #3221

- Added search homepage, search settings, and ongoing search components
- Implemented features such as search app list, creating search apps,
and deleting search apps
- Optimized the multi-select component, adding disabled state and suffix
display
- Adjusted navigation hooks to support search page navigation

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
chanx
2025-08-11 10:34:22 +08:00
committed by GitHub
parent 597d88bf9a
commit 4c7b2ef46e
16 changed files with 1347 additions and 87 deletions

View File

@ -0,0 +1,23 @@
import api from '@/utils/api';
import registerServer from '@/utils/register-server';
import request from '@/utils/request';
const { createSearch, getSearchList, deleteSearch, getSearchDetail } = api;
const methods = {
createSearch: {
url: createSearch,
method: 'post',
},
getSearchList: {
url: getSearchList,
method: 'post',
},
deleteSearch: { url: deleteSearch, method: 'post' },
getSearchDetail: {
url: getSearchDetail,
method: 'get',
},
} as const;
const searchService = registerServer<keyof typeof methods>(methods, request);
export default searchService;