From 80e7021412dedf9d1be7c090e52d37d90c61754c Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 09 十二月 2025 15:24:18 +0800
Subject: [PATCH] 修改新增

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

diff --git a/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue b/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue
index 2dbc9ca..b6236d2 100644
--- a/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/maintainPlan/components/editDialog.vue
@@ -469,7 +469,7 @@
 const getUserList = async (companyId)=> {
   const res = await getEmployeeRecords({companyId: companyId})
   if(res.code == 200){
-    state.userList = res.data.list?res.data.list:[]
+    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