2
0

增加字典数据界面

This commit is contained in:
lai
2024-12-30 16:46:12 +08:00
parent 0a1f0d94d8
commit 3e2d8faf5e
12 changed files with 1027 additions and 45 deletions

View File

@@ -34,3 +34,19 @@ export const doDeleteDict = (dictId: string | number) => {
method: 'post'
});
};
/**
* 字典数据列表(指定字典类型)
* @param dictType 字典类型
* @returns object
*/
export function getDictDataType(dictType: string) {
return request({
url: `/system/dict/data/type/${dictType}`,
method: 'get',
});
}