联调 自定义报表

This commit is contained in:
GGJ
2024-03-27 20:29:51 +08:00
parent 668fbed3ef
commit 45ba496361
19 changed files with 1228 additions and 32 deletions

View File

@@ -22,8 +22,10 @@ export const useDictData = defineStore(
}
return list
}
const areaSelect = () => {
return state.areaTree.filter(item => item.id == state.area[0]?.area)
const areaSelect = () => {
let list = state.areaTree.filter(item => item.id == state.area[0]?.area)
return list.length == 0 ? state.areaTree : list
}
return {