From ff1169ac5114c68e96c5686a0caa5d69d8a60b8a Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期五, 12 十二月 2025 16:55:39 +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..200daea 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 ? res.data :[]
   }else{
     ElMessage.warning(res.message)
   }

--
Gitblit v1.9.2