From 41de91c90854bc2794d4fe5383aa5fb64f464028 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 16 六月 2026 11:27:32 +0800
Subject: [PATCH] pro 1.平遥县盛达铸造厂部署修改

---
 src/views/collaborativeApproval/notificationManagement/meetPublish/index.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/collaborativeApproval/notificationManagement/meetPublish/index.vue b/src/views/collaborativeApproval/notificationManagement/meetPublish/index.vue
index a85de7f..a3ae223 100644
--- a/src/views/collaborativeApproval/notificationManagement/meetPublish/index.vue
+++ b/src/views/collaborativeApproval/notificationManagement/meetPublish/index.vue
@@ -34,7 +34,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">
@@ -231,15 +231,15 @@
   let resp = await getMeetingPublish({...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.status = it.publishStatus
     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.postName})`
+        name: `${staff.staffName}${staff.postName ? ` (${staff.postName})` : ''}`
       }
     })
 

--
Gitblit v1.9.3