yanghao 1 долоо хоног өмнө
parent
commit
cf6fdf88bc

+ 1 - 1
src/views/pms/plan-work/fill.vue

@@ -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 || ''),