|
|
@@ -275,7 +275,7 @@ import { useUserStore } from '@/store/modules/user'
|
|
|
import { defaultProps } from '@/utils/tree'
|
|
|
import * as DeptApi from '@/api/system/dept'
|
|
|
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'
|
|
|
-
|
|
|
+import { handleTree } from '@/utils/tree'
|
|
|
defineOptions({ name: 'QhseIndustryStandard' })
|
|
|
|
|
|
const rootDeptId = 156
|
|
|
@@ -431,6 +431,6 @@ const handleExport = async () => {
|
|
|
|
|
|
onMounted(async () => {
|
|
|
getList()
|
|
|
- deptList2.value = await DeptApi.getSimpleDeptList()
|
|
|
+ deptList2.value = handleTree(await DeptApi.getSimpleDeptList())
|
|
|
})
|
|
|
</script>
|