From 7b0232e6202effc6bf13ef3b30c02163a5e0bda1 Mon Sep 17 00:00:00 2001 From: "853931625@qq.com" Date: Mon, 24 Aug 2026 14:04:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E8=BF=9B=E5=87=BA=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=20=E4=BF=AE=E6=94=B9=E8=BF=9B=E5=87=BA=E6=96=B9?= =?UTF-8?q?=E5=90=91=E5=9B=9E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonnelEntryAndExitRecords/index.js | 2 +- .../VehicleEntryAndExitRecords/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/PersonnelEntryAndExitRecords/index.js b/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/PersonnelEntryAndExitRecords/index.js index 3483e69..da7b836 100644 --- a/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/PersonnelEntryAndExitRecords/index.js +++ b/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/PersonnelEntryAndExitRecords/index.js @@ -48,7 +48,7 @@ function PersonnelEntryAndExitRecords(props) { dataIndex: "doorRegionIndexCode", }, { title: "进出方向", dataIndex: "enterOrExit",render:(_, record) => ( - record.enterOrExit === 1 ?"进":record.enterOrExit === 2 ?"出":"" + record.enterOrExit === 1 ?"进":record.enterOrExit === 0 ?"出":record.enterOrExit === -1 ?"未知":"" ) }, { title: "卡号", diff --git a/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/VehicleEntryAndExitRecords/index.js b/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/VehicleEntryAndExitRecords/index.js index f4ebc65..55fc7fb 100644 --- a/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/VehicleEntryAndExitRecords/index.js +++ b/src/pages/Container/Supervision/EnclosedArea/PersonnelAndVehicleStatistics/VehicleEntryAndExitRecords/index.js @@ -52,7 +52,7 @@ function VehicleEntryAndExitRecords(props) { { title: "停车场名称", dataIndex: "parkName" }, { title: "出入口名称", dataIndex: "entranceName" }, { title: "进出方向", dataIndex: "enterOrExit",render:(_, record) => ( - record.enterOrExit === 1 ?"进":record.enterOrExit === 2 ?"出":"" + record.enterOrExit === 0 ?"进":record.enterOrExit === 1 ?"出":"" ) }, { title: "通行时间", dataIndex: "eventTime" }, ]}