add 树形分页的字典单选

This commit is contained in:
赵霄
2023-11-02 16:18:17 +08:00
parent 04f4aee416
commit f9d04eba17
8 changed files with 422 additions and 6 deletions
+3
View File
@@ -68,6 +68,8 @@ const editDictItem = (params) => postAction('/sys/dictItem/edit', params)
const getDictTreeList = (params) => getAction('/sys/dictItem/treeList', params)
// 获取能在form中使用的数据字典树形格式数据
const getFormDictTreeList = (params) => getAction('/sys/dictItem/treeListOption', params)
// 通过code值获取字典数据
const getDictByCode = (params) => getAction('/sys/dictItem/listByCodes', params)
// 字典标签专用(通过code获取字典数组)
export const ajaxGetDictItems = (code, params) => getAction(`/sys/dict/getDictItems/${code}`, params)
@@ -182,6 +184,7 @@ export {
editDictItem,
getDictTreeList,
getFormDictTreeList,
getDictByCode,
doReleaseData,
doReovkeData,
getLoginfo,