From 1edd13af569806d5af7f1b0e2410983a79872bac Mon Sep 17 00:00:00 2001 From: xingjx Date: Mon, 8 Jan 2024 18:19:41 +0800 Subject: [PATCH] =?UTF-8?q?fix():bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OutSegmentMgm/OutSegment/loadable.jsx | 129 --------------------- 1 file changed, 129 deletions(-) diff --git a/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx b/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx index 36bf41d..b79c643 100644 --- a/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx +++ b/src/pages/OutRoadMgm/OutSegmentMgm/OutSegment/loadable.jsx @@ -403,135 +403,6 @@ function OutSegment() { ...params, }) .then((res) => { - res = { - "status": 20000, - "message": "操作成功", - "data": { - "list": [ - { - "id": "1703486751517865999", - "pid": "0", - "operator_id": "1777347430730653926", - "road_code": "121313", - "road_name": "xjx233", - "system_code": "PA231225144510", - "road_type": 1, - "system_type": 0, - "physics_type": 2, - "berth_number": 12, - "area": "5910983100923906", - "hot_trading_area": null, - "operator_status": 1, - "address": "山东省青岛市胶州市三里河街道S24青商高速", - "poi": null, - "lng_lat": "119.9460,36.2202", - "update_time": "2023-12-25 14:45:51", - "is_business": "政府", - "is_contract": 1, - "cooperate_type": 1, - "open_begin_time": "01:00:00", - "open_end_time": "07:00:00", - "status": 3, - "recharge": 1, - "is_arrearage": 1, - "access_type": 1, - "billing_rules": null, - "filings_time": "2023-12-25", - "img": "https://qingd-pre-image.obs.cn-southwest-2.myhuaweicloud.com:443/common/20231225/51cafe01-453c-e595-d3dc-b1e37488fc33.jpeg", - "is_no_pwd_pay": "未开通", - "is_remote": 2, - "remaining_berths": 12, - "total_berth_number": 100, - "area_name": "东区", - "operator": "公用事业集团", - "operator_status_name": "待上线", - "road_type_name": "一级车场", - "system_type_name": "AI值守" - }, - { - "id": "1702827141489792458", - "pid": "0", - "operator_id": "1823446704323817732", - "road_code": "122", - "road_name": "xjx2221", - "system_code": "PA231217233286", - "road_type": 0, - "system_type": 2, - "physics_type": 1, - "berth_number": 3222, - "area": "5", - "hot_trading_area": null, - "operator_status": 4, - "address": "山东省青岛市胶州市胶西街道西匡家庄村", - "poi": null, - "lng_lat": null, - "update_time": "2023-12-17 23:34:25", - "is_business": "商业", - "is_contract": 1, - "cooperate_type": 1, - "open_begin_time": null, - "open_end_time": null, - "status": 3, - "recharge": 1, - "is_arrearage": 1, - "access_type": 1, - "billing_rules": null, - "filings_time": "2023-12-17", - "img": "Array", - "is_no_pwd_pay": "未开通", - "is_remote": 2, - "remaining_berths": 3222, - "total_berth_number": 0, - "area_name": null, - "operator": "lindh的测试商户001", - "operator_status_name": "下线", - "road_type_name": "独立车场", - "system_type_name": "无人值守" - }, - { - "id": "1702823160684717492", - "pid": "0", - "operator_id": "1777347430730653926", - "road_code": "12", - "road_name": "xjx", - "system_code": "PA231217222674", - "road_type": 0, - "system_type": 0, - "physics_type": 2, - "berth_number": 32, - "area": "5910983100923905", - "hot_trading_area": null, - "operator_status": 4, - "address": "山东省青岛市黄岛区王台街道河南邢村", - "poi": null, - "lng_lat": "119.9886,36.0627", - "update_time": "2023-12-17 22:26:00", - "is_business": "政府", - "is_contract": 1, - "cooperate_type": 0, - "open_begin_time": "04:00:00", - "open_end_time": "10:00:00", - "status": 2, - "recharge": 1, - "is_arrearage": 1, - "access_type": 1, - "billing_rules": null, - "filings_time": "2023-12-17", - "img": "https://qingd-pre-image.obs.cn-southwest-2.myhuaweicloud.com:443/common/20231217/844bfba0-9dc5-ad48-adea-af487d1c6c0f.jpeg", - "is_no_pwd_pay": "未开通", - "is_remote": 2, - "remaining_berths": 32, - "total_berth_number": 0, - "area_name": "西区", - "operator": "公用事业集团", - "operator_status_name": "下线", - "road_type_name": "独立车场", - "system_type_name": "AI值守" - } - ], - "total": 3 - } - } if (res.status === 20000) { setTableData(res.data.list); setTotal(res.data.total);