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. 11
      src/pages/FinancialMgm/OrderInquiry/ProductOrderInquiry/index.jsx
  6. 17
      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', dataIndex: 'index',
key: 'index', key: 'index',
width: 150, 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: '停车场', title: '停车场',

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

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

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

@ -125,7 +125,7 @@ function ParkingAlyDuration() {
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
width: 100, 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: '停车场', title: '停车场',
@ -153,7 +153,7 @@ function ParkingAlyDuration() {
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
width: 100, 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: '区域', title: '区域',
@ -181,7 +181,7 @@ function ParkingAlyDuration() {
dataIndex: 'index', dataIndex: 'index',
key: 'index', key: 'index',
width: 100, 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: '停车场', title: '停车场',

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

@ -132,7 +132,7 @@ function ParkingFalseAlarms() {
key: "iindex", key: "iindex",
align: "center", align: "center",
fixed: "right", 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: "误报时间", title: "误报时间",

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

@ -35,9 +35,9 @@ function ProductOrderInquiry() {
align: "center", align: "center",
} }
switch (item) { switch (item) {
case "序号": // case "":
cm.render = (text, record, index) => index + 1 // cm.render = (text, record, index) => index + 1
break // break
case "退款订单ID": case "退款订单ID":
case "业务订单ID": case "业务订单ID":
case "支付订单ID": case "支付订单ID":
@ -403,6 +403,7 @@ function ProductOrderInquiry() {
tableData={dataSource} tableData={dataSource}
formSearch={arr} formSearch={arr}
total={total} total={total}
showSerial={true}
diyButton={ diyButton={
type == "停车卡" ? type == "停车卡" ?
<Button <Button
@ -648,8 +649,8 @@ function ProductOrderInquiry() {
</Tabs.TabPane> </Tabs.TabPane>
<Tabs.TabPane tab="错峰卡订单" key="2"> <Tabs.TabPane tab="错峰卡订单" key="2">
{tabKey == 2 ? renderTable( {tabKey == 2 ? renderTable(
createCol(['序号', '停车场名称', '手机号', '订单金额', '支付方式', '渠道流水号', '同步MS状态', '订购时间'], createCol(['停车场名称', '手机号', '订单金额', '支付方式', '渠道流水号', '同步MS状态', '订购时间'],
['id', 'parking_name', 'phone', 'pay_amount', 'pay_method', 'channel_serial_number', 'status', 'pay_time'], 2), ['parking_name', 'phone', 'pay_amount', 'pay_method', 'channel_serial_number', 'status', 'pay_time'], 2),
cfkash, cfkash,
resultData, '错峰卡', "/api/fin/order_search/staggered_parking_order_list_export"// resultData, '错峰卡', "/api/fin/order_search/staggered_parking_order_list_export"//
) : null} ) : null}

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

@ -10,14 +10,14 @@ import Detail from "./Detail";
import moment from "moment"; import moment from "moment";
function OutParkingRecordInquiry() { function OutParkingRecordInquiry() {
const columns = [ const columns = [
{ // {
title: "序号", // title: "",
dataIndex: "id", // dataIndex: "id",
key: "id", // key: "id",
align: "center", // align: "center",
fixed: "right", // fixed: "right",
render: (text, record, index) => index + 1, // render: (text, record, index) => index + 1,
}, // },
{ {
title: "区域", title: "区域",
dataIndex: "region", dataIndex: "region",
@ -227,6 +227,7 @@ function OutParkingRecordInquiry() {
formSearch={formSearch} formSearch={formSearch}
total={total} total={total}
pagename="" pagename=""
showSerial={true}
search={fetch} search={fetch}
limitCon={limitCon} limitCon={limitCon}
pageName={'outParkingRecordInquiry'} pageName={'outParkingRecordInquiry'}

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

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

|||||||
100:0
Loading…
Cancel
Save