字典新增批量查询

This commit is contained in:
不做码农
2021-12-12 21:03:28 +08:00
parent 4d373da260
commit ac22a0e922
12 changed files with 145 additions and 23 deletions

View File

@@ -25,6 +25,15 @@ export function getDicts(dictType) {
})
}
// 根据多个字典类型查询字典数据信息
export function getMoreDicts(dictType) {
return request({
url: '/system/dict/data/types',
data: dictType ,
method: 'post'
})
}
// 新增字典数据
export function addData(data) {
return request({
@@ -58,4 +67,4 @@ export function exportData(query) {
method: 'get',
params: query
})
}
}