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" }, ]}