新增分类搜索功能,支持关键词查询并优化状态字段显示逻辑

This commit is contained in:
WUSIJIAN
2025-12-16 10:42:50 +08:00
parent 948bc2b791
commit c8a3bb0b7c
3 changed files with 36 additions and 4 deletions

View File

@@ -29,6 +29,15 @@ export function addCategory(data: object) {
});
}
// 查询获取列表
export function listCategories(keyword: string) {
return newService({
url: '/assets/category/listCategories',
method: 'get',
params: {keyword},
});
}
// 修改分类
export function updateCategory(data: object) {
return newService({