Browse Source

fix():bug修改

tags/PMS_V1.0.0_Alpha6
xingjx 1 year ago
parent
commit
742b65890d
  1. 2
      src/pages/DataAnalysisPrediction/ParkingBusinessAly/CarTypeAly/loadable.jsx
  2. 2
      src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkBerthAly/loadable.jsx
  3. 6
      src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyDuration/loadable.jsx
  4. 2
      src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingFalseAlarms/loadable.jsx
  5. 15
      src/pages/FinancialMgm/OrderInquiry/ProductOrderInquiry/index.jsx
  6. 33
      src/pages/OutRoadMgm/OutBusinessRecord/OutParkingRecordInquiry/loadable.jsx
  7. 17
      src/pages/OutRoadMgm/OutExceptionMgm/SpecialReleaseMgm/index.jsx

2
src/pages/DataAnalysisPrediction/ParkingBusinessAly/CarTypeAly/loadable.jsx

@ -126,7 +126,7 @@ function CarTypeAly() {
dataIndex: 'index',
key: 'index',
width: 150,
render: (text, record, index) => index + 1
render: (text, record, index) => pageInfo.pn ? index + 1 + (pageInfo.pn - 1) * pageInfo.page_size : index + 1
},
{
title: '停车场',

2
src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkBerthAly/loadable.jsx

@ -558,7 +558,7 @@ function ParkBerthAly() {
<div className="result-box-title">日均泊位时长利用率</div>
<Tooltip
placement="topLeft"
title={<span>日均泊位时长利用数据来自于最近30天该泊位日均时长利用率的平均值</span>}
title={<span>日均泊位时长利用数据来自于最近30天该泊位日均时长利用率的平均值</span>}
>
<i>?</i>
</Tooltip>

6
src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingAlyDuration/loadable.jsx

@ -125,7 +125,7 @@ function ParkingAlyDuration() {
dataIndex: 'index',
key: 'index',
width: 100,
render: (text, record, index) => pageCarInfo.pn ? index + 1 + (pageCarInfo.pn - 1) * pageCarInfo.page_size : index + 1
render: (text, record, index) => pageInfo.pn ? index + 1 + (pageInfo.pn - 1) * pageInfo.page_size : index + 1
},
{
title: '停车场',
@ -153,7 +153,7 @@ function ParkingAlyDuration() {
dataIndex: 'index',
key: 'index',
width: 100,
render: (text, record, index) => index + 1
render: (text, record, index) => pageCarInfo.pn ? index + 1 + (pageCarInfo.pn - 1) * pageCarInfo.page_size : index + 1
},
{
title: '区域',
@ -181,7 +181,7 @@ function ParkingAlyDuration() {
dataIndex: 'index',
key: 'index',
width: 100,
render: (text, record, index) => index + 1
render: (text, record, index) => pageCarInfo.pn ? index + 1 + (pageCarInfo.pn - 1) * pageCarInfo.page_size : index + 1
},
{
title: '停车场',

2
src/pages/DataAnalysisPrediction/ParkingBusinessAly/ParkingFalseAlarms/loadable.jsx

@ -132,7 +132,7 @@ function ParkingFalseAlarms() {
key: "iindex",
align: "center",
fixed: "right",
render: (text, record, index) => index + 1,
render: (text, record, index) => pageInfo.pn ? index + 1 + (pageInfo.pn - 1) * pageInfo.page_size : index + 1,
},
{
title: "误报时间",

15
src/pages/FinancialMgm/OrderInquiry/ProductOrderInquiry/index.jsx

@ -35,9 +35,9 @@ function ProductOrderInquiry() {
align: "center",
}
switch (item) {
case "序号":
cm.render = (text, record, index) => index + 1
break
// case "":
// cm.render = (text, record, index) => index + 1
// break
case "退款订单ID":
case "业务订单ID":
case "支付订单ID":
@ -362,7 +362,7 @@ function ProductOrderInquiry() {
plate: data.plate_number || '',
plate_type: data.plate_type || ''
})
// setTotal(total)
// setTotal(total)
setTkddVisible(true)
}
} else {
@ -403,6 +403,7 @@ function ProductOrderInquiry() {
tableData={dataSource}
formSearch={arr}
total={total}
showSerial={true}
diyButton={
type == "停车卡" ?
<Button
@ -583,7 +584,7 @@ function ProductOrderInquiry() {
} else if (addOrderData.plate == '') {
message.error('请输入车牌号')
return
} else if (addOrderData.plate_type <0) {
} else if (addOrderData.plate_type < 0) {
message.error('请选择车牌颜色')
return
} else if (addOrderData.phone && !phoneReg.test(addOrderData.phone)) {
@ -648,8 +649,8 @@ function ProductOrderInquiry() {
</Tabs.TabPane>
<Tabs.TabPane tab="错峰卡订单" key="2">
{tabKey == 2 ? renderTable(
createCol(['序号', '停车场名称', '手机号', '订单金额', '支付方式', '渠道流水号', '同步MS状态', '订购时间'],
['id', 'parking_name', 'phone', 'pay_amount', 'pay_method', 'channel_serial_number', 'status', 'pay_time'], 2),
createCol(['停车场名称', '手机号', '订单金额', '支付方式', '渠道流水号', '同步MS状态', '订购时间'],
['parking_name', 'phone', 'pay_amount', 'pay_method', 'channel_serial_number', 'status', 'pay_time'], 2),
cfkash,
resultData, '错峰卡', "/api/fin/order_search/staggered_parking_order_list_export"//
) : null}

33
src/pages/OutRoadMgm/OutBusinessRecord/OutParkingRecordInquiry/loadable.jsx

@ -10,14 +10,14 @@ import Detail from "./Detail";
import moment from "moment";
function OutParkingRecordInquiry() {
const columns = [
{
title: "序号",
dataIndex: "id",
key: "id",
align: "center",
fixed: "right",
render: (text, record, index) => index + 1,
},
// {
// title: "",
// dataIndex: "id",
// key: "id",
// align: "center",
// fixed: "right",
// render: (text, record, index) => index + 1,
// },
{
title: "区域",
dataIndex: "region",
@ -61,7 +61,7 @@ function OutParkingRecordInquiry() {
key: "plate",
align: "center",
fixed: "right",
render: (text) => (<div style={{width:'100px'}}>{text}</div>)
render: (text) => (<div style={{ width: '100px' }}>{text}</div>)
},
{
title: "泊位号",
@ -76,7 +76,7 @@ function OutParkingRecordInquiry() {
key: "in_time",
align: "center",
fixed: "right",
render: (text) => (<div style={{width:'150px'}}>{text}</div>)
render: (text) => (<div style={{ width: '150px' }}>{text}</div>)
},
{
title: "离场时间",
@ -84,7 +84,7 @@ function OutParkingRecordInquiry() {
key: "out_time",
align: "center",
fixed: "right",
render: (text) => (<div style={{width:'150px'}}>{text}</div>)
render: (text) => (<div style={{ width: '150px' }}>{text}</div>)
},
{
title: "停车时长",
@ -135,14 +135,14 @@ function OutParkingRecordInquiry() {
name: "region",
type: "TreeSelect",
label: "区域",
areaName:1
areaName: 1
},
{
name: "operator",
type: "Select",
label: "商户名称",
placeholder: "请选择商户名称",
operatorName:1
operatorName: 1
},
{
name: "road",
@ -181,8 +181,8 @@ function OutParkingRecordInquiry() {
//
const initFormData = {
type: 2,
region:'0',
operator:'0',
region: '0',
operator: '0',
};
//
@ -204,7 +204,7 @@ function OutParkingRecordInquiry() {
if (res.status === 20000) {
setTableData(res.data.list);
setTotal(res.data.total);
}else{
} else {
message.error(res.message)
}
});
@ -227,6 +227,7 @@ function OutParkingRecordInquiry() {
formSearch={formSearch}
total={total}
pagename=""
showSerial={true}
search={fetch}
limitCon={limitCon}
pageName={'outParkingRecordInquiry'}

17
src/pages/OutRoadMgm/OutExceptionMgm/SpecialReleaseMgm/index.jsx

@ -23,14 +23,14 @@ function SpecialReleaseMgm() {
const [visible, setVisible] = useState(false)
const [total, setTotal] = useState(0);
const columns = [
{
title: "序号",
dataIndex: "index",
key: "index",
align: "center",
fixed: "right",
render: (text, record, index) => index + 1,
},
// {
// title: "",
// dataIndex: "index",
// key: "index",
// align: "center",
// fixed: "right",
// render: (text, record, index) => index + 1,
// },
{
title: "车场名称",
dataIndex: "road_name",
@ -208,6 +208,7 @@ function SpecialReleaseMgm() {
formSearch={formSearch}
search={search}
total={total}
showSerial={true}
rowKey={"road_name"}
exportUrl={'/api/bpm/special/export_lift'}
initFormData={{}}

Loading…
Cancel
Save