|
|
@@ -133,7 +133,7 @@ const loadDeptOptions = async () => {
|
|
|
|
|
|
deptOptionsLoading.value = true
|
|
|
try {
|
|
|
- const data = (await DeptApi.specifiedSimpleDepts(TOP_DEPT_ID)) as DeptOption[]
|
|
|
+ const data = (await DeptApi.specifiedSimpleDepts(deptId)) as DeptOption[]
|
|
|
flatDeptOptions.value = data.map((dept) => ({
|
|
|
...dept,
|
|
|
type: String(dept.type || ''),
|