From be8d7e4f0aea2b49ac7a9963df6482864abe3502 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 02 十二月 2025 16:11:44 +0800
Subject: [PATCH] 修改

---
 src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue |   13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue b/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue
index e2ea90d..b6236d2 100644
--- a/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue
@@ -232,7 +232,7 @@
 import {getDepart} from "@/api/orgStructure/depart";
 import {listUser} from "@/api/system/user";
 import {getMaintenancePlanDetail, getStandingBookList, updateMaintenancePlan} from "@/api/infrastructureMng/ledger";
-
+import {getEmployeeRecords} from "@/api/onlineEducation/user";
 const emit = defineEmits(["getList"]);
 const dialogVisible = ref(false)
 const superRef = ref()
@@ -467,16 +467,9 @@
 }
 
 const getUserList = async (companyId)=> {
-  const res = await listUser({pageIndex: 1,pageSize: 999,companyId: companyId})
+  const res = await getEmployeeRecords({companyId: companyId})
   if(res.code == 200){
-    state.userList = res.data.list?res.data.list.map(item=>{
-      const user = item.id
-      const {id, ...data} = item
-      return {
-        ...data,
-        userId: user
-      }
-    }):[]
+    state.userList = res.data ? res.data :[]
     if(state.form.deptId){
       state.interUserList = state.userList.filter(i=>i.deptId !== state.form.deptId)
     }else{

--
Gitblit v1.9.2