diff --git a/public/static/template.xlsx b/public/static/template.xlsx new file mode 100644 index 0000000..68dd94e Binary files /dev/null and b/public/static/template.xlsx differ diff --git a/src/api/jyh/index.ts b/src/api/jyh/index.ts index ce1f878..67fb00c 100644 --- a/src/api/jyh/index.ts +++ b/src/api/jyh/index.ts @@ -19,7 +19,7 @@ export function releasePage(data): Promise { }); } -// 获取用户信息 +// 获取邀请列表 export function getInviteListData(): catchRt { return reqCatchV2(() => request({ url: '/api/v1/group/member/invite/list', @@ -29,7 +29,7 @@ export function getInviteListData(): catchRt { })); } -// 获取用户信息 +// 处理邀请 export function acceptInvite(params): catchRt { return reqCatchV2(() => request({ url: '/api/v1/group/member/invite/accept', @@ -39,3 +39,50 @@ export function acceptInvite(params): catchRt { customError: true })); } + +// 发送订阅 +export function subscribeSoftware(params): catchRt { + return reqCatchV2(() => request({ + url: '/api/v1/alert/subscribe', + method: 'post', + data: params, + }, { + customError: true + })); +} + +// 获取高级筛选语言列表 +export function searchLanguageList() { + return request({ + url: `/api/v1/repo/lan/list`, + method: 'get' + }); +} + + +// 获取首页公告列表 +export function getHomeNoticeList() { + return request({ + url: '/api/v1/home/notice/list', + method: 'get', + params: {} + }); +} + +// 获取依赖关系列表 +export function getDepencyList(softwareId: string) { + return request({ + url: '/api/v1/repo/release/info', + method: 'get', + params: { softwareId: 2 } + }); +} + +// 获取AI修复建议 +export function getRepairInfo() { + return request({ + url: '/api/v1/repo/repair/info', + method: 'get', + params: {} + }); +} diff --git a/src/components/Header/Search.vue b/src/components/Header/Search.vue index ea1d9af..49d7d7a 100644 --- a/src/components/Header/Search.vue +++ b/src/components/Header/Search.vue @@ -3,7 +3,30 @@ :key="$route.path + $route.query?.val" id="golbalSearch" class="g-header-search" v-model.trim="searchStr" placeholder="输入搜索内容..." @keyup.enter="search" @clear="handleClear" clearable > + + \ No newline at end of file diff --git a/src/views/Jyh/Search/Components/BatchVerify.vue b/src/views/Jyh/Search/Components/BatchVerify.vue index 8ec6dd0..487677c 100644 --- a/src/views/Jyh/Search/Components/BatchVerify.vue +++ b/src/views/Jyh/Search/Components/BatchVerify.vue @@ -9,7 +9,7 @@ @@ -29,6 +29,8 @@ 3
+ 下载excel模板 + 导出 diff --git a/src/views/Jyh/Version/Detail/Dependency.vue b/src/views/Jyh/Version/Detail/Dependency.vue index d5ec65b..0060e27 100644 --- a/src/views/Jyh/Version/Detail/Dependency.vue +++ b/src/views/Jyh/Version/Detail/Dependency.vue @@ -67,6 +67,7 @@