From 0fa2e605a568da521944e934fd68fc3a67f78188 Mon Sep 17 00:00:00 2001 From: lianlonggang Date: Thu, 18 Jun 2026 17:25:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(watch):=20=E9=83=A8=E9=97=A8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=9F=E8=AE=A1=E8=A1=A8=E6=A0=BC=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=85=B3=E7=88=B1=E4=BA=BA=E5=91=98=E6=9C=9F=E5=88=9D=E6=9C=AA?= =?UTF-8?q?=E4=BD=A9=E6=88=B4=E4=BA=BA=E6=95=B0=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .../sectoralData/sectoralData.data.ts | 62 ++++++++++++++++--- 1 file changed, 52 insertions(+), 10 deletions(-) diff --git a/src/views/healthMonitor/healMonitorManage/monitorToll/sectoralData/sectoralData.data.ts b/src/views/healthMonitor/healMonitorManage/monitorToll/sectoralData/sectoralData.data.ts index 0d33cc1..886ff9d 100644 --- a/src/views/healthMonitor/healMonitorManage/monitorToll/sectoralData/sectoralData.data.ts +++ b/src/views/healthMonitor/healMonitorManage/monitorToll/sectoralData/sectoralData.data.ts @@ -160,7 +160,7 @@ export const columnsNew: BasicColumn[] = [ }, { title: '未分配设备数', - dataIndex: 'unassignedDeviceNums', + dataIndex: 'undistributedDeviceNums', customRender: ({ record }) => { const total = record.totalAssignedDeviceNums ?? 0; const assigned = record.assignedDeviceNums ?? 0; @@ -177,21 +177,13 @@ export const columnsNew: BasicColumn[] = [ }, { title: '未绑定设备数', - dataIndex: 'unassignedDeviceNums', + dataIndex: 'undistributedDeviceNums', customRender: ({ record }) => { const total = record.totalAssignedDeviceNums ?? 0; const assigned = record.assignedDeviceNums ?? 0; return Math.max(0, total - assigned); }, }, - { - title: '非关爱人员数量', - dataIndex: ['nonCareNums'], - customRender: ({ text }) => { - if (!text) return 0; - return text; - }, - }, { title: '佩戴人员数', dataIndex: ['assignedUserNums'], @@ -200,6 +192,15 @@ export const columnsNew: BasicColumn[] = [ return text; }, }, + { + title: '关爱人员佩戴人数', + dataIndex: ['careWearNums'], + width: 150, + customRender: ({ text }) => { + if (!text) return 0; + return text; + }, + }, { title: '未佩戴人员数', dataIndex: ['undistributedUserNums'], @@ -208,6 +209,47 @@ export const columnsNew: BasicColumn[] = [ return text; }, }, + { + title: '关爱人员未佩戴人数', + dataIndex: ['careUnwearNums'], + width: 160, + customRender: ({ text }) => { + if (!text) return 0; + return text; + }, + }, + { + title: '关爱人员未佩戴人数\n(仅计入统计日期起期已绑定的人数)', + dataIndex: ['careUnwearAtStartNums'], + width: 180, + customHeaderCell: () => { + return { + style: { + whiteSpace: 'pre-wrap', + }, + }; + }, + customRender: ({ text }) => { + if (!text) return 0; + return text; + }, + }, + { + title: '非关爱人员数量', + dataIndex: ['nonCareNums'], + customRender: ({ text }) => { + if (!text) return 0; + return text; + }, + }, + { + title: '关爱人员数量', + dataIndex: ['careNums'], + customRender: ({ text }) => { + if (!text) return 0; + return text; + }, + }, { title: '心率异常人数', dataIndex: ['heartRateNums'],