refactor: 重构字典管理(左树右表)

This commit is contained in:
2024-05-19 10:34:52 +08:00
parent c2806c4696
commit a175120d69
8 changed files with 369 additions and 232 deletions

View File

@@ -4,8 +4,8 @@ import http from '@/utils/http'
const BASE_URL = '/system/dict'
/** @desc 查询字典列表 */
export function listDict(query: System.DictPageQuery) {
return http.get<PageRes<System.DictResp[]>>(`${BASE_URL}`, query)
export function listDict(query: System.DictQuery) {
return http.get<System.DictResp[]>(`${BASE_URL}/list`, query)
}
/** @desc 查询字典详情 */