From 16697df76d7b27ff65d229937b3f3ac4cc0e56a0 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 09 六月 2026 17:27:27 +0800
Subject: [PATCH] docs(knowledge-base): 添加知识库模块传参方式和参数命名规范文档

---
 src/views/collaborativeApproval/notificationManagement/meetExamine/index.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/collaborativeApproval/notificationManagement/meetExamine/index.vue b/src/views/collaborativeApproval/notificationManagement/meetExamine/index.vue
index 83747a0..dea9495 100644
--- a/src/views/collaborativeApproval/notificationManagement/meetExamine/index.vue
+++ b/src/views/collaborativeApproval/notificationManagement/meetExamine/index.vue
@@ -36,7 +36,7 @@
         <el-table-column prop="location" label="浼氳鍦扮偣" align="center" width="150"/>
         <el-table-column prop="participants" label="鍙備細浜烘暟" align="center" width="100">
           <template #default="scope">
-            {{ scope.row.participants.length }}浜�
+            {{ scope.row.staffCount }}浜�
           </template>
         </el-table-column>
         <el-table-column prop="status" label="瀹℃壒鐘舵��" align="center" width="120">
@@ -188,8 +188,8 @@
 import {ElMessage, ElMessageBox} from 'element-plus'
 import Pagination from '@/components/Pagination/index.vue'
 import {getRoomEnum, getExamineList,saveMeetingApplication} from '@/api/collaborativeApproval/meeting.js'
-import {getStaffOnJob} from "@/api/personnelManagement/onboarding.js";
 import dayjs from "dayjs";
+import {staffOnJobListPage} from "@/api/personnelManagement/staffOnJob.js";
 
 // 鏁版嵁鍒楄〃鍔犺浇鐘舵��
 const loading = ref(false)
@@ -233,14 +233,14 @@
   let resp = await getExamineList({...searchForm, ...queryParams})
   approvalList.value = resp.data.records.map(it => {
     let room = roomEnum.value.find(room => it.roomId === room.id)
-    it.location = `${room.name}(${room.location})`
+    it.location = room ? `${room.name}(${room.location})` : ''
     let staffs = JSON.parse(it.participants)
-    it.staffCount = staffs.size
+    it.staffCount = staffs.length
     it.meetingTime = `${it.meetingDate} ${dayjs(it.startTime).format('HH:mm:ss')} ~ ${dayjs(it.endTime).format('HH:mm:ss')}`
     it.participants = staffList.value.filter(staff => staffs.some(id=>id === staff.id)).map(staff => {
       return {
         id: staff.id,
-        name: `${staff.staffName}(${staff.postJob})`
+        name:  `${staff.staffName}${staff.postName ? ` (${staff.postName})` : ''}`
       }
     })
 
@@ -342,9 +342,9 @@
 
 // 椤甸潰鍔犺浇鏃惰幏鍙栨暟鎹�
 onMounted(async () => {
-  const [resp1, resp2]= await Promise.all([getRoomEnum(), getStaffOnJob()])
+  const [resp1, resp2]= await Promise.all([getRoomEnum(), staffOnJobListPage({current: -1, size: -1, staffState: 1})])
   roomEnum.value = resp1.data
-  staffList.value = resp2.data
+  staffList.value = resp2.data.records
 
   await getList()
 })

--
Gitblit v1.9.3