From 2405410a2df3178ebacdc241522fa9aaf28f4a34 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期四, 13 十一月 2025 14:42:34 +0800
Subject: [PATCH] 修改新增

---
 src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/components/editDialog.vue |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/components/editDialog.vue b/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/components/editDialog.vue
index 1647ecb..a8a9dab 100644
--- a/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/components/editDialog.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/components/editDialog.vue
@@ -213,6 +213,7 @@
 } from "@/api/infrastructureMng/ledger";
 
 import {listUser} from "@/api/system/user";
+import {getEmployeeRecords} from "@/api/onlineEducation/user";
 
 const emit = defineEmits(["getList"]);
 const dialogVisible = ref(false)
@@ -390,16 +391,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.list?res.data.list:[]
   }else{
     ElMessage.warning(res.message)
   }

--
Gitblit v1.9.2