|
@ -66,7 +66,7 @@ function OffPeakParkingRecords() { |
|
|
title: "操作", |
|
|
title: "操作", |
|
|
align: "center", |
|
|
align: "center", |
|
|
render: (text, record, index) => ( |
|
|
render: (text, record, index) => ( |
|
|
<span className="offpeak-records-op" onClick={()=>{setVisible(true);setCurrentRecord(record)}}>详情</span> |
|
|
|
|
|
|
|
|
<span className="offpeak-records-op" onClick={()=>{getDetailData(record.id)}}>详情</span> |
|
|
) |
|
|
) |
|
|
}, |
|
|
}, |
|
|
]; |
|
|
]; |
|
@ -155,6 +155,18 @@ function OffPeakParkingRecords() { |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const getDetailData = (id)=>{ |
|
|
|
|
|
ajax.getOffPeakDetail({id: id}).then(res => { |
|
|
|
|
|
if (res.status == 20000) { |
|
|
|
|
|
setCurrentRecord(res.data) |
|
|
|
|
|
setVisible(true); |
|
|
|
|
|
} else { |
|
|
|
|
|
message.error(res.message) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
useEffect(()=>{ |
|
|
useEffect(()=>{ |
|
|
ajaxGetPark() |
|
|
ajaxGetPark() |
|
|
},[]) |
|
|
},[]) |
|
@ -172,6 +184,7 @@ function OffPeakParkingRecords() { |
|
|
// pagename="PDA操作记录" |
|
|
// pagename="PDA操作记录" |
|
|
// pageName={'entryExitOptPDA'} |
|
|
// pageName={'entryExitOptPDA'} |
|
|
initFormData={initFormData} |
|
|
initFormData={initFormData} |
|
|
|
|
|
isExport={false} |
|
|
// exportUrl="/api/bpm/record/get_pda_export" |
|
|
// exportUrl="/api/bpm/record/get_pda_export" |
|
|
/> |
|
|
/> |
|
|
<Modal |
|
|
<Modal |
|
@ -202,7 +215,7 @@ function OffPeakParkingRecords() { |
|
|
<div className="new-item">车牌号</div><div className="new-value">{currentRecord.plate || "--"}</div> |
|
|
<div className="new-item">车牌号</div><div className="new-value">{currentRecord.plate || "--"}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className="ltc-item"> |
|
|
<div className="ltc-item"> |
|
|
<div className="new-item">会员手机号</div><div className="new-value">{currentRecord.phone || "--"}</div> |
|
|
|
|
|
|
|
|
<div className="new-item">会员手机号</div><div className="new-value">{currentRecord.tel || "--"}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className="ltc-item"> |
|
|
<div className="ltc-item"> |
|
|
<div className="new-item">入场时间</div><div className="new-value">{currentRecord.in_time || "--"}</div> |
|
|
<div className="new-item">入场时间</div><div className="new-value">{currentRecord.in_time || "--"}</div> |
|
@ -211,7 +224,7 @@ function OffPeakParkingRecords() { |
|
|
<div className="new-item">出场时间</div><div className="new-value">{currentRecord.out_time || "--"}</div> |
|
|
<div className="new-item">出场时间</div><div className="new-value">{currentRecord.out_time || "--"}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className="ltc-item"> |
|
|
<div className="ltc-item"> |
|
|
<div className="new-item">停车时长</div><div className="new-value">{currentRecord.admission_time || "--"}</div> |
|
|
|
|
|
|
|
|
<div className="new-item">停车时长</div><div className="new-value">{currentRecord.parking_duration || "--"}</div> |
|
|
</div> |
|
|
</div> |
|
|
<div className="ltc-item"> |
|
|
<div className="ltc-item"> |
|
|
<div className="new-item">应收金额</div><div className="new-value">{currentRecord.receivable_amount || "--"}</div> |
|
|
<div className="new-item">应收金额</div><div className="new-value">{currentRecord.receivable_amount || "--"}</div> |
|
|