调整菜单结构,增加通道列表,支持节点搜索

This commit is contained in:
lin
2025-07-02 17:21:20 +08:00
parent e194c027cb
commit 8d488b33e9
44 changed files with 2865 additions and 249 deletions

View File

@@ -6,7 +6,7 @@ import {
queryChildListInBase,
update,
add,
queryPath
queryPath, queryTree
} from '@/api/region'
const actions = {
@@ -89,6 +89,16 @@ const actions = {
reject(error)
})
})
},
queryTree({ commit }, param) {
return new Promise((resolve, reject) => {
queryTree(param).then(response => {
const { data } = response
resolve(data)
}).catch(error => {
reject(error)
})
})
}
}