diff --git a/demon.json b/demon.json index cecd485..9bf7072 100644 --- a/demon.json +++ b/demon.json @@ -2,1525 +2,20 @@ "status": 20000, "message": "success", "data": { - "user_info": { - "user_uid": 1, - "id_card": "420103199901011234", - "role_id": 2, - "name": "角色1", - "department_name": "青岛公共事业集团", - "user_name": "ceshi", - "tel": "13512341234", - "auth": "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90" - }, - "route": [ - "inRoadOverview", - "RecordInquiry", - "parkRecordTotal", - "", - "roadMgm", - "personMgm", - "stuffMgmDir", - "businessMgmDir", - "eqMgmDir", - "parkList", - "roadConf", - "arrearsInquiries", - "disabledCarParkRecordTotal", - "arrearsRecordTotal", - "entryExitOptPDA", - "geomagneticSignalMgm", - "payRecordQuery", - "preOrderRecord", - "unRecordOrder", - "personInfo", - "attendance", - "workerAttendance", - "fence", - "scheduleMgm", - "workerSchedule", - "audit", - "performance", - "workerStat", - "salesStat", - "collectorWorkStat", - "inspectorWorkStat", - "mesNotification", - "auditConf", - "auditCheck", - "stuffMgm", - "stuffStat", - "categroyConf", - "modelConf", - "specialRecord", - "blacklist", - "chargeRules", - "preChargeRules", - "selfParkingRules", - "freeRule", - "abnormalParking", - "exceptionParkReport", - "exceptionParkStat", - "equipmentStatus", - "berthStatus", - "faultReport", - "patrolStatistics", - "barMgm", - "nvrMgm", - "monitorEquipment", - "equipmentBrand", - "addRoad", - "roadDetail", - "configRoad", - "carInfo", - "carAuth", - "userInfo", - "userAuth", - "userTag", - "arrearsCar", - "callbackSuggestion", - "complaintMgm", - "errorCorrection", - "complainManage", - "complainWorkStat", - "complainStat", - "areaManage", - "orgnizationMgm", - "adminMgm", - "roleMgm", - "systemLog", - "confMes", - "businessConf", - "hotCbdConf", - "merchantInfo", - "invoiceConf", - "couponRules", - "activitySpecificTopic", - "couponDistribute", - "writeOffDetail", - "writeOffStat", - "adsMgm", - "yardDiscount", - "informationMgm", - "appPushMgm", - "generalBusiness", - "payRepeat", - "geoSignalIgnoreAudit", - "geoSignalIgnoreInquiry", - "geoSignalIgnoreConf", - "outRoadOverview", - "chargeRulesMgm", - "outSegment", - "zombieCarMgm", - "liftUpPoleRecord", - "zombieCarCleanRecord", - "outParkingRecordInquiry", - "outPayOrders", - "outDevice", - "outMonitorMgm", - "outNvrMgm", - "merchantAdmin", - "shortMessageMgm", - "functionMgm", - "appConfiguration", - "merchantConfiguration", - "platformConfiguration", - "payRecordTotal", - "startExceptionDeal", - "dealRecordAudit", - "dealRecordList", - "editOrderInquiry", - "parkingOrderInquiry", - "productOrderInquiry", - "refundOrderInquiry", - "createInvoice", - "createInvoiceRecord", - "parkingIncomeReport", - "operationReport", - "preOrderReport", - "paySummaryReport", - "payChannelStat", - "pdaStat", - "parkCardReport", - "bookReport", - "billDiff", - "abnormalPayment", - "parkingCardMgm", - "parkingCardOrder", - "parkingCardStat", - "StaggeredMgm", - "staggeredOrder", - "staggeredStat", - "parkingAlyOverview", - "parkingAlyReport", - "parkingAlyDuration", - "parkingAlyPeriod", - "temporaryParkStat", - "nightParkStat", - "parkingLivedata", - "parkUsageAly", - "parkTurnoverAly", - "carTypeAly", - "parkBerthAly", - "parkingAly", - "registerAly", - "payAly", - "equipmentRunningStat", - "arrearageAly", - "orderArrearageAly", - "cityArrearageAly", - "arrearageRecoverAly", - "cityIncomeStat", - "cityIncomeAly", - "priceAly", - "outParkingArrearsOrders", - // "parkingOverview" - ], - "menus_new": { - "inRoad": [ - { - "path": "/inRoad/InRoadOverview", - "icon": "zongshujuliang", - "text": "概览", - "name": "inRoadOverview", - "id": 2, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "", - "icon": "zongshujuliang", - "text": "记录查询", - "name": "RecordInquiry", - "id": 3, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/ParkRecordTotal", - "icon": "", - "text": "停车记录查询", - "name": "parkRecordTotal", - "id": 4, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/ArrearsInquiries", - "icon": "", - "text": "欠费追缴查询", - "name": "arrearsInquiries", - "id": 13, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/DisabledCarParkRecordTotal", - "icon": "", - "text": "残疾车停车记录查询", - "name": "disabledCarParkRecordTotal", - "id": 14, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/ArrearsRecordTotal", - "icon": "", - "text": "停车欠费订单", - "name": "arrearsRecordTotal", - "id": 15, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/EntryExitOptPDA", - "icon": "", - "text": "PDA操作记录", - "name": "entryExitOptPDA", - "id": 16, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/GeomagneticSignalMgm", - "icon": "", - "text": "地磁信号记录", - "name": "geomagneticSignalMgm", - "id": 17, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/PayRecordQuery", - "icon": "", - "text": "停车支付订单", - "name": "payRecordQuery", - "id": 18, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/PreOrderRecord", - "icon": "", - "text": "停车预付订单", - "name": "preOrderRecord", - "id": 19, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/UnRecordOrder", - "icon": "", - "text": "未登记订单查询", - "name": "unRecordOrder", - "id": 20, - "pid": 3, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "zongshujuliang", - "text": "路段管理", - "name": "roadMgm", - "id": 6, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/ParkList", - "icon": "", - "text": "泊位列表", - "name": "parkList", - "id": 11, - "pid": 6, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/RoadConf", - "icon": "", - "text": "路段配置", - "name": "roadConf", - "id": 12, - "pid": 6, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "xinxijiansuo", - "text": "人员管理", - "name": "personMgm", - "id": 7, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/personInfo", - "icon": "", - "text": "人员信息", - "name": "personInfo", - "id": 21, - "pid": 7, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "", - "icon": "", - "text": "排班考勤", - "name": "attendance", - "id": 22, - "pid": 7, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/workerAttendance", - "icon": "", - "text": "人员考勤", - "name": "workerAttendance", - "id": 23, - "pid": 22, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/fence", - "icon": "", - "text": "电子围栏", - "name": "fence", - "id": 24, - "pid": 22, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/scheduleMgm", - "icon": "", - "text": "排班管理", - "name": "scheduleMgm", - "id": 25, - "pid": 22, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/workerSchedule", - "icon": "", - "text": "人员排班", - "name": "workerSchedule", - "id": 26, - "pid": 22, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "", - "text": "稽查管理", - "name": "audit", - "id": 27, - "pid": 7, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/auditConf", - "icon": "", - "text": "稽查配置", - "name": "auditConf", - "id": 34, - "pid": 27, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/auditCheck", - "icon": "", - "text": "稽查审核", - "name": "auditCheck", - "id": 35, - "pid": 27, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "", - "text": "绩效考核", - "name": "performance", - "id": 28, - "pid": 7, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/workerStat", - "icon": "", - "text": "收费员工统计", - "name": "workerStat", - "id": 29, - "pid": 28, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/salesStat", - "icon": "", - "text": "营收统计", - "name": "salesStat", - "id": 30, - "pid": 28, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/collectorWorkStat", - "icon": "", - "text": "稽查员工统计", - "name": "collectorWorkStat", - "id": 31, - "pid": 28, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/inspectorWorkStat", - "icon": "", - "text": "被稽查员工统计", - "name": "inspectorWorkStat", - "id": 32, - "pid": 28, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "/inRoad/mesNotification", - "icon": "", - "text": "消息通知", - "name": "mesNotification", - "id": 33, - "pid": 7, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "zongshujuliang", - "text": "物品管理", - "name": "stuffMgmDir", - "id": 8, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/stuffMgm", - "icon": "", - "text": "物品管理", - "name": "stuffMgm", - "id": 36, - "pid": 8, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/stuffStat", - "icon": "", - "text": "物品统计", - "name": "stuffStat", - "id": 37, - "pid": 8, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/categroyConf", - "icon": "", - "text": "类型配置", - "name": "categroyConf", - "id": 38, - "pid": 8, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/modelConf", - "icon": "", - "text": "型号配置", - "name": "modelConf", - "id": 39, - "pid": 8, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "zongshujuliang", - "text": "业务管理", - "name": "businessMgmDir", - "id": 9, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/specialRecord", - "icon": "", - "text": "白名单管理", - "name": "specialRecord", - "id": 40, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/blacklist", - "icon": "", - "text": "黑名单管理", - "name": "blacklist", - "id": 41, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/chargeRules", - "icon": "", - "text": "计费规则", - "name": "chargeRules", - "id": 42, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/preChargeRules", - "icon": "", - "text": "预付费规则", - "name": "preChargeRules", - "id": 43, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/selfParkingRules", - "icon": "", - "text": "自主停车规则", - "name": "selfParkingRules", - "id": 44, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/freeRule", - "icon": "", - "text": "免费规则", - "name": "freeRule", - "id": 45, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "", - "icon": "", - "text": "异常停车", - "name": "abnormalParking", - "id": 46, - "pid": 9, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/exceptionParkReport", - "icon": "", - "text": "上报记录查询", - "name": "exceptionParkReport", - "id": 47, - "pid": 46, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/exceptionParkStat", - "icon": "", - "text": "异常停车统计", - "name": "exceptionParkStat", - "id": 48, - "pid": 46, - "project_name": "inRoad", - "is_menu": 1 - } - ] - } - ] - }, - { - "path": "", - "icon": "zongshujuliang", - "text": "设备管理", - "name": "eqMgmDir", - "id": 10, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [ - { - "path": "/inRoad/equipmentStatus", - "icon": "", - "text": "设备状态", - "name": "equipmentStatus", - "id": 49, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/barMgm", - "icon": "", - "text": "杆位管理", - "name": "barMgm", - "id": 50, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/nvrMgm", - "icon": "", - "text": "NVR管理", - "name": "nvrMgm", - "id": 51, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/monitorEquipment", - "icon": "", - "text": "监控设备", - "name": "monitorEquipment", - "id": 52, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/equipmentBrand", - "icon": "", - "text": "设备品牌", - "name": "equipmentBrand", - "id": 53, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - } - ] - }, - { - "path": "", - "icon": "zongshujuliang", - "text": "设备运维", - "name": "eqManage", - "id": 10, - "pid": 1, - "project_name": "inRoad", - "is_menu": 1, - "children": [{ - "path": "/inRoad/berthStatus", - "icon": "", - "text": "泊位运营状态", - "name": "berthStatus", - "id": 49, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/faultReport", - "icon": "", - "text": "故障上报记录", - "name": "faultReport", - "id": 50, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - }, - { - "path": "/inRoad/patrolStatistics", - "icon": "", - "text": "巡检预警统计", - "name": "patrolStatistics", - "id": 51, - "pid": 10, - "project_name": "inRoad", - "is_menu": 1 - } - ] - } + "list": [ + { + "id": "1", + "operator_name": "公用事业集团",//所属运营商 + "road_name": "玉山路",//路段 + "name": "玉山路",//姓名 + "phone": "1231241244",//手机号 + "report_type_name": "地磁故障",//报备类型 + "report_time": "2022-03-12 12:21:21",//报备时间 + "location": "山东",//地点 + "notes": "山东",//备注 + "report_pic": "",//图片 + } ], - "operationCenter": [ - { - "text": "车辆管理", - "name": "carMgmDir", - "icon": "zongshujuliang", - "children": [ - { - "text": "车辆信息", - "name": "carInfo", - "path": "/operationCenter/carInfo" - }, - { - "text": "车辆认证", - "name": "carAuth", - "path": "/operationCenter/carAuth" - } - ] - }, - { - "text": "用户管理", - "name": "userMgmDir", - "icon": "zongshujuliang", - "children": [ - { - "text": "用户信息", - "name": "userInfo", - "path": "/operationCenter/userInfo" - }, - { - "path": "/operationCenter/userAuth", - "text": "用户认证", - "name": "userAuth" - }, - { - "path": "/operationCenter/userTag", - "text": "用户标签", - "name": "userTag" - } - ] - }, - { - "text": "欠费追缴", - "name": "arrearsRecover", - "icon": "zongshujuliang", - "children": [ - { - "text": "欠费车辆", - "name": "arrearsCar", - "path": "/operationCenter/arrearsCar" - } - ] - }, - { - "text": "运营营销", - "name": "operationSales", - "icon": "zongshujuliang", - "children": [ - { - "text": "优惠券管理", - "name": "couponMgm", - "icon": "", - "children": [ - { - "text": "优惠券规则", - "name": "couponRules", - "path": "/operationCenter/couponRules" - }, - { - "text": "活动专题", - "name": "activitySpecificTopic", - "path": "/operationCenter/activitySpecificTopic" - }, - { - "text": "手动派发", - "name": "couponDistribute", - "path": "/operationCenter/couponDistribute" - }, - { - "text": "核销明细", - "name": "writeOffDetail", - "path": "/operationCenter/writeOffDetail" - }, - { - "text": "核销统计", - "name": "writeOffStat", - "path": "/operationCenter/writeOffStat" - } - ] - }, - { - "text": "车场折扣", - "name": "yardDiscount", - "path": "/operationCenter/yardDiscount" - }, - { - "text": "广告管理", - "name": "adsMgm", - "path": "/operationCenter/adsMgm" - }, - { - "text": "资讯管理", - "name": "informationMgm", - "path": "/operationCenter/informationMgm" - }, - { - "text": "推送管理", - "name": "appPushMgm", - "path": "/operationCenter/appPushMgm" - }, - { - "text": "短信管理", - "name": "shortMessageMgm", - "path": "/operationCenter/shortMessageMgm" - } - ] - }, - { - "text": "增值业务", - "icon": "zongshujuliang", - "children": [ - { - "text": "停车卡", - "icon": "", - "children": [ - { - "path": "/operationCenter/parkingCardMgm", - "text": "停车卡管理", - "name": "parkingCardMgm" - }, - { - "path": "/operationCenter/parkingCardOrder", - "text": "停车卡订单", - "name": "parkingCardOrder" - }, - { - "path": "/operationCenter/parkingCardStat", - "text": "停车卡统计", - "name": "parkingCardStat" - } - ] - }, - { - "text": "错峰停车", - "icon": "", - "children": [ - { - "path": "/operationCenter/StaggeredMgm", - "text": "错峰管理", - "name": "StaggeredMgm" - }, - { - "path": "/operationCenter/staggeredOrder", - "text": "错峰订单", - "name": "staggeredOrder" - }, - { - "path": "/operationCenter/staggeredStat", - "text": "错峰统计", - "name": "staggeredStat" - } - ] - } - ] - }, - { - "text": "客服管理", - "name": "customerServieMgm", - "icon": "zongshujuliang", - "children": [ - { - "text": "反馈建议", - "name": "callbackSuggestion", - "path": "/operationCenter/callbackSuggestion" - }, - { - "text": "申诉管理", - "name": "complaintMgm", - "path": "/operationCenter/complaintMgm" - }, - { - "text": "车场纠错", - "name": "errorCorrection", - "path": "/operationCenter/errorCorrection" - }, - { - "text": "客诉工单", - "name": "complainManage", - "path": "/operationCenter/complainManage" - }, - { - "text": "客诉统计", - "name": "complainStat", - "path": "/operationCenter/complainStat" - }, - { - "text": "工作统计", - "name": "complainWorkStat", - "path": "/operationCenter/complainWorkStat" - } - ] - }, - { - "text": "地磁信号忽略", - "name": "geoSignalIgnore", - "icon": "zongshujuliang", - "children": [ - { - "text": "地磁信号忽略审核", - "name": "geoSignalIgnoreAudit", - "path": "/operationCenter/geoSignalIgnoreAudit" - }, - { - "text": "地磁信号忽略查询", - "name": "geoSignalIgnoreInquiry", - "path": "/operationCenter/geoSignalIgnoreInquiry" - }, - { - "text": "地磁信号忽略配置", - "name": "geoSignalIgnoreConf", - "path": "/operationCenter/geoSignalIgnoreConf" - } - ] - } - ], - "systemMgm": [ - { - "text": "区域管理", - "name": "areaManage", - "icon": "zongshujuliang", - "path": "/systemMgm/areaManage" - }, - { - "text": "组织架构", - "name": "orgnizationMgm", - "icon": "zongshujuliang", - "path": "/systemMgm/orgnizationMgm" - }, - { - "text": "管理员管理", - "name": "adminMgm", - "icon": "zongshujuliang", - "path": "/systemMgm/adminMgm" - }, - { - "text": "角色管理", - "name": "roleMgm", - "icon": "zongshujuliang", - "path": "/systemMgm/roleMgm" - }, - { - "text": "系统日志", - "name": "systemLog", - "icon": "zongshujuliang", - "path": "/systemMgm/systemLog" - }, - { - "text": "消息管理", - "name": "messageMgm", - "icon": "zongshujuliang", - "children": [ - { - "text": "业务配置", - "name": "confMes", - "icon": "", - "path": "/systemMgm/confMes" - } - ] - }, - { - "text": "业务配置", - "name": "businessConfig", - "icon": "zongshujuliang", - "children": [ - { - "text": "业务配置", - "name": "businessConf", - "icon": "", - "path": "/systemMgm/businessConf" - }, - { - "text": "热门商圈配置", - "name": "hotCbdConf", - "icon": "", - "path": "/systemMgm/hotCbdConf" - } - ] - } - ], - "merchantMgm": [ - { - "text": "商户信息", - "name": "merchantInfo", - "icon": "zongshujuliang", - "path": "/merchantMgm/merchantInfo" - }, - { - "text": "发票配置", - "name": "invoiceConf", - "icon": "zongshujuliang", - "path": "/merchantMgm/invoiceConf" - }, - { - "text": "商户管理员", - "name": "merchantAdmin", - "icon": "zongshujuliang", - "path": "/merchantMgm/merchantAdmin" - }, - { - "text": "功能信息", - "name": "functionMgm", - "icon": "zongshujuliang", - "path": "/merchantMgm/functionMgm" - } - ], - "financialMgm": [ - { - "text": "异常处理", - "icon": "zongshujuliang", - "children": [ - { - "text": "发起异常处理", - "name": "startExceptionDeal", - "icon": "", - "path": "/financialMgm/startExceptionDeal" - }, - { - "text": "处理记录审核", - "name": "dealRecordAudit", - "icon": "", - "path": "/financialMgm/dealRecordAudit" - }, - { - "text": "处理记录列表", - "name": "dealRecordList", - "icon": "", - "path": "/financialMgm/dealRecordList" - } - ] - }, - { - "text": "订单查询", - "icon": "zongshujuliang", - "children": [ - { - "text": "订单修改查询", - "name": "editOrderInquiry", - "icon": "", - "path": "/financialMgm/editOrderInquiry" - }, - { - "text": "停车订单查询", - "name": "parkingOrderInquiry", - "icon": "", - "path": "/financialMgm/parkingOrderInquiry" - }, - { - "text": "商品订单查询", - "name": "productOrderInquiry", - "icon": "", - "path": "/financialMgm/productOrderInquiry" - }, - { - "text": "退款订单查询", - "name": "refundOrderInquiry", - "icon": "", - "path": "/financialMgm/refundOrderInquiry" - } - ] - }, - { - "text": "交易流水", - "name": "payRecordTotal", - "icon": "zongshujuliang", - "path": "/financialMgm/payRecordTotal" - }, - { - "text": "电子发票", - "icon": "zongshujuliang", - "children": [ - { - "text": "发票记录", - "name": "createInvoiceRecord", - "icon": "", - "path": "/financialMgm/createInvoiceRecord" - }, - { - "text": "开具发票", - "name": "createInvoice", - "icon": "", - "path": "/financialMgm/createInvoice" - } - ] - }, - { - "text": "财务报表", - "icon": "zongshujuliang", - "children": [ - { - "text": "停车收入报表", - "name": "parkingIncomeReport", - "icon": "", - "path": "/financialMgm/parkingIncomeReport" - }, - { - "text": "运营报表", - "name": "operationReport", - "icon": "", - "path": "/financialMgm/operationReport" - }, - { - "text": "预付报表", - "name": "preOrderReport", - "icon": "", - "path": "/financialMgm/preOrderReport" - }, - { - "text": "停车卡报表", - "name": "parkCardReport", - "icon": "", - "path": "/financialMgm/parkCardReport" - }, - { - "text": "预约报表", - "name": "bookReport", - "icon": "", - "path": "/financialMgm/bookReport" - }, - { - "text": "总收入报表", - "name": "paySummaryReport", - "icon": "", - "path": "/financialMgm/paySummaryReport" - }, - { - "text": "渠道统计", - "name": "payChannelStat", - "icon": "", - "path": "/financialMgm/payChannelStat" - }, - { - "text": "PDA统计", - "name": "pdaStat", - "icon": "", - "path": "/financialMgm/pdaStat" - } - ] - }, - { - "text": "清分结算", - "icon": "zongshujuliang", - "children": [ - { - "text": "渠道对账", - "name": "generalBusiness", - "icon": "", - "path": "/financialMgm/generalBusiness" - }, - { - "text": "差账处理", - "name": "billDiff", - "icon": "", - "path": "/financialMgm/billDiff" - }, - { - "text": "重复支付", - "name": "payRepeat", - "icon": "", - "path": "/financialMgm/payRepeat" - }, - { - "text": "异常支付", - "name": "abnormalPayment", - "icon": "", - "path": "/financialMgm/abnormalPayment" - } - ] - }, - { - "text": "支付配置", - "icon": "zongshujuliang", - "children": [ - { - "text": "应用配置", - "name": "appConfiguration", - "icon": "", - "path": "/financialMgm/appConfiguration" - }, - { - "text": "支付商户配置", - "name": "merchantConfiguration", - "icon": "", - "path": "/financialMgm/merchantConfiguration" - }, - { - "text": "平台商户配置", - "name": "platformConfiguration", - "icon": "", - "path": "/financialMgm/platformConfiguration" - } - ] - } - ], - "outRoad": [ - { - "text": "概览", - "name": "outRoadOverview", - "icon": "zongshujuliang", - "path": "/outRoad/outRoadOverview" - }, - { - "text": "路段管理", - "name": "outRoadMgm", - "icon": "zongshujuliang", - "children": [ - { - "text": "计费规则管理", - "name": "chargeRulesMgm", - "icon": "", - "path": "/outRoad/chargeRulesMgm" - }, - { - "text": "路段管理", - "name": "outSegment", - "icon": "", - "path": "/outRoad/outSegment" - }, - { - "text": "僵尸车管理", - "name": "zombieCarMgm", - "icon": "", - "path": "/outRoad/zombieCarMgm" - } - ] - }, - { - "text": "异常管理", - "name": "outExceptionMgm", - "icon": "zongshujuliang", - "children": [ - { - "text": "抬杆记录", - "name": "liftUpPoleRecord", - "icon": "", - "path": "/outRoad/liftUpPoleRecord" - }, - { - "text": "僵尸车清理记录", - "name": "zombieCarCleanRecord", - "icon": "", - "path": "/outRoad/zombieCarCleanRecord" - } - ] - }, - { - "text": "业务记录", - "name": "outBusinessRecord", - "icon": "zongshujuliang", - "children": [ - { - "text": "停车记录查询", - "name": "outParkingRecordInquiry", - "icon": "", - "path": "/outRoad/outParkingRecordInquiry" - }, - { - "text": "停车支付订单", - "name": "outPayOrders", - "icon": "", - "path": "/outRoad/outPayOrders" - }, - { - "text": "停车欠费订单", - "name": "outParkingArrearsOrders", - "icon": "", - "path": "/outRoad/outParkingArrearsOrders" - } - ] - }, - { - "text": "设备管理", - "name": "outDeviceMgm", - "icon": "zongshujuliang", - "children": [ - { - "text": "路外设备管理", - "name": "outDevice", - "icon": "", - "path": "/outRoad/outDevice" - }, - { - "text": "视频监控设备管理", - "name": "outMonitorMgm", - "icon": "", - "path": "/outRoad/outMonitorMgm" - }, - { - "text": "NVR管理", - "name": "outNvrMgm", - "icon": "", - "path": "/outRoad/outNvrMgm" - } - ] - } - ], - "dataAlyPrediction": [ - // { - // "text": "停车业务概览", - // "name": "parkingOverview", - // "icon": "", - // "path": "/dataAlyPrediction/parkingOverview" - // }, - { - "text": "停车业务分析", - "name": "parkingBusinessAly", - "icon": "zongshujuliang", - "children": [ - { - "text": "停车总分析", - "name": "parkingAlyOverview", - "icon": "", - "path": "/dataAlyPrediction/parkingAlyOverview" - }, - { - "text": "停车分析报表", - "name": "parkingAlyReport", - "icon": "", - "path": "/dataAlyPrediction/parkingAlyReport" - }, - { - "text": "停车时长分析", - "name": "parkingAlyDuration", - "icon": "", - "path": "/dataAlyPrediction/parkingAlyDuration" - }, - { - "text": "停车时段分析", - "name": "parkingAlyPeriod", - "icon": "", - "path": "/dataAlyPrediction/parkingAlyPeriod" - }, - { - "text": "临时停车统计", - "name": "temporaryParkStat", - "icon": "", - "path": "/dataAlyPrediction/temporaryParkStat" - }, - { - "text": "夜间停车统计", - "name": "nightParkStat", - "icon": "", - "path": "/dataAlyPrediction/nightParkStat" - }, - { - "text": "停车实况数据", - "name": "parkingLivedata", - "icon": "", - "path": "/dataAlyPrediction/parkingLivedata" - }, - { - "text": "泊位利用分析", - "name": "parkUsageAly", - "icon": "", - "path": "/dataAlyPrediction/parkUsageAly" - }, - { - "text": "泊位周转分析", - "name": "parkTurnoverAly", - "icon": "", - "path": "/dataAlyPrediction/parkTurnoverAly" - }, - { - "text": "车辆类型分析", - "name": "carTypeAly", - "icon": "", - "path": "/dataAlyPrediction/carTypeAly" - }, - { - "text": "停车泊位分析", - "name": "parkBerthAly", - "icon": "", - "path": "/dataAlyPrediction/parkBerthAly" - } - ] - }, - { - "text": "停车营收分析", - "name": "parkingIncomeAly", - "icon": "zongshujuliang", - "children": [ - { - "text": "欠费总分析", - "name": "arrearageAly", - "icon": "", - "path": "/dataAlyPrediction/arrearageAly" - }, - { - "text": "订单欠费分析", - "name": "orderArrearageAly", - "icon": "", - "path": "/dataAlyPrediction/orderArrearageAly" - }, - { - "text": "城市欠费分析", - "name": "cityArrearageAly", - "icon": "", - "path": "/dataAlyPrediction/cityArrearageAly" - }, - { - "text": "欠费追缴分析", - "name": "arrearageRecoverAly", - "icon": "", - "path": "/dataAlyPrediction/arrearageRecoverAly" - }, - { - "text": "城市收入统计", - "name": "cityIncomeStat", - "icon": "", - "path": "/dataAlyPrediction/cityIncomeStat" - }, - { - "text": "城市收入分析", - "name": "cityIncomeAly", - "icon": "", - "path": "/dataAlyPrediction/cityIncomeAly" - }, - { - "text": "客单价分析", - "name": "priceAly", - "icon": "", - "path": "/dataAlyPrediction/priceAly" - } - ] - }, - { - "text": "会员统计", - "name": "memberStat", - "icon": "zongshujuliang", - "children": [ - { - "text": "停车分析", - "name": "parkingAly", - "icon": "", - "path": "/dataAlyPrediction/parkingAly" - }, - { - "text": "注册分析", - "name": "registerAly", - "icon": "", - "path": "/dataAlyPrediction/registerAly" - }, - { - "text": "支付分析", - "name": "payAly", - "icon": "", - "path": "/dataAlyPrediction/payAly" - } - ] - }, - { - "text": "设备分析", - "name": "equipmentAly", - "icon": "zongshujuliang", - "children": [ - { - "text": "设备运行统计", - "name": "equipmentRunningStat", - "icon": "", - "path": "/dataAlyPrediction/equipmentRunningStat" - } - ] - } - ] - } + "total_records": 1 } } \ No newline at end of file diff --git a/src/pages/InRoadMgm/BusinessMgm/Blacklist/loadable.jsx b/src/pages/InRoadMgm/BusinessMgm/Blacklist/loadable.jsx index fabd5da..fa93928 100644 --- a/src/pages/InRoadMgm/BusinessMgm/Blacklist/loadable.jsx +++ b/src/pages/InRoadMgm/BusinessMgm/Blacklist/loadable.jsx @@ -66,9 +66,9 @@ function Blacklist(props) { let data = { ...getAddData } - if (getAddData.plate == '') { + if (getAddData.plate === '') { message.error('请输入车牌号') - } else if (getAddData.operator_id == '') { + } else if (getAddData.operator_id === '') { message.error('请选择商户名称') } else if (getAddData.plate_color_id === '') { message.error('请选择车牌颜色') @@ -179,16 +179,17 @@ function Blacklist(props) { content: record.content })) } + console.log(getEditData); const editSubmit = () => { let data = { ...getEditData, black_id: getValueId.id } - if (getEditData.plate == '') { + if (getEditData.plate === '') { message.error('请输入车牌号') - } else if (getEditData.operator_id == '') { + } else if (getEditData.operator_id === '') { message.error('请选择商户名称') - } else if (getEditData.plate_color_id == '') { + } else if (getEditData.plate_color_id === '') { message.error('请选择车牌颜色') }else{ ajax.detailChange(data).then(res => { diff --git a/src/pages/InRoadMgm/EquipmentOpe/berthStatus/loadable.jsx b/src/pages/InRoadMgm/EquipmentOpe/berthStatus/loadable.jsx index f6a545e..d88e634 100644 --- a/src/pages/InRoadMgm/EquipmentOpe/berthStatus/loadable.jsx +++ b/src/pages/InRoadMgm/EquipmentOpe/berthStatus/loadable.jsx @@ -19,11 +19,11 @@ function berthStatus(props) { const parameter = { berth_code: '', road_name: '', - operate_name: '0', - berth_type_name: '0', - service_type_name: '0', + operator_id: '0', + berth_type: '0', + service_type: '0', park_name: '', - status:'1', + status:'0', pn: 1, page_size: Number(pageSizeOptions[0]), // 每页条数 } @@ -36,15 +36,15 @@ function berthStatus(props) { } //泊位编号 const handleBerthCode = (v) => { - setFormData({ ...formData, model_id: v.target.value }) + setFormData({ ...formData, berth_code: v.target.value }) } //泊位类型 const handleBerthTypeName = (v) => { - setFormData({ ...formData, berth_type_name: v }) + setFormData({ ...formData, berth_type: v }) } //商户名称 const handleDeployType = (value) => { - setFormData({ ...formData, operate_name: value }) + setFormData({ ...formData, operator_id: value }) } //停车场名称 const handleParkname = (v) => { @@ -52,7 +52,7 @@ function berthStatus(props) { } //服务属性 const handleServiceTypeName=(v)=>{ - setFormData({ ...formData, service_type_name: v}) + setFormData({ ...formData, service_type: v}) } //运营状态 const handleStatus=(v)=>{ @@ -194,9 +194,9 @@ function berthStatus(props) { setFormData({ berth_code: sessionTabList?.berth_code, road_name: sessionTabList?.road_name, - operate_name: sessionTabList?.operate_name, - berth_type_name: sessionTabList?.berth_type_name, - service_type_name: sessionTabList?.service_type_name, + operator_id: sessionTabList?.operator_id, + berth_type: sessionTabList?.berth_type, + service_type: sessionTabList?.service_type, park_name: sessionTabList?.park_name, status: sessionTabList?.status, pn: sessionTabList?.pn, @@ -232,7 +232,7 @@ function berthStatus(props) { @@ -270,7 +270,7 @@ function berthStatus(props) { @@ -268,8 +270,8 @@ function faultReport(props) {
{ - setFormData({ ...formData, warning_type_name: v }) + setFormData({ ...formData, warning_type: v }) } //商户名称 const handleDeployType = (value) => { - setFormData({ ...formData, operate_name: value }) + setFormData({ ...formData, operator_id: value }) } //停车场名称 const handleParkname = (v) => { @@ -54,8 +54,8 @@ function patrolStatistics(props) { const onHandleDateChange = (v) => { setFormData({ ...formData, - start: v.startDateTime, - end: v.endDateTime + start_time: v.startDateTime, + end_time: v.endDateTime }) } //导出 @@ -64,7 +64,7 @@ function patrolStatistics(props) { ...formData } ajax.getBerthWarningListExport(data).then(res => { - window.open(res.export_url) + window.open(res.data.export_url) }) } //列表 @@ -118,8 +118,8 @@ function patrolStatistics(props) { }, { title: '点位', - dataIndex: 'reason', - key: 'reason', + dataIndex: 'location_name', + key: 'location_name', }, { title: '处理状态', @@ -227,12 +227,12 @@ function patrolStatistics(props) { if (sessionTabList && Object.values(sessionTabList).length > 0) { setFormData({ road_name: sessionTabList?.road_name, - operate_name: sessionTabList?.operate_name, + operator_id: sessionTabList?.operator_id, park_name: sessionTabList?.park_name, - warning_type_name: sessionTabList?.warning_type_name, + warning_type: sessionTabList?.warning_type, pn: sessionTabList?.pn, - start: sessionTabList?.start, - end: sessionTabList?.end, + start_time: sessionTabList?.start_time, + end_time: sessionTabList?.end_time, page_size: sessionTabList?.page_size, }) } @@ -255,7 +255,7 @@ function patrolStatistics(props) { @@ -291,8 +291,8 @@ function patrolStatistics(props) {
import("./loadable")) +export default (pros) => } /> \ No newline at end of file diff --git a/src/pages/InRoadMgm/PersonMgm/ReportMsg/index.scss b/src/pages/InRoadMgm/PersonMgm/ReportMsg/index.scss new file mode 100644 index 0000000..190eeb0 --- /dev/null +++ b/src/pages/InRoadMgm/PersonMgm/ReportMsg/index.scss @@ -0,0 +1,200 @@ +@import "@/assets/css/mixin.scss"; +$color-container-bg : var(--color-container-bg); +$color-user-list-bg : var(--color-user-list-bg); +$color-text : var(--color-text); +$color-primary : var(--color-primary); + + +.colorBtn { + width: 90px; + height: 36px; + background: linear-gradient(180deg, #3aa9ff, #59b7ff) !important; + border-radius: 4px; + &:hover { + color: var(--color-text); + border-color: transparent; + // background: var(--button-default-bg-hover); + width: 90px; + height: 36px; + background: linear-gradient(180deg, #3aa9ff, #59b7ff); + border-radius: 4px; + } +} +.colorReset { + width: 90px; + height: 36px; + border-radius: 4px; + border: none; + background: #636d80 !important; + &:hover { + color: var(--color-text); + border-color: transparent; + // background: var(--button-default-bg-hover); + width: 90px; + height: 36px; + background: #636d80; + border: none; + border-radius: 4px; + } +} +.paid-ReportMsg{ + display: flex; + padding: 15px; + width: 100%; + .paid-search{ + .search{ + font-size: 16px; + font-family: Microsoft YaHei, Microsoft YaHei-Bold; + font-weight: 700; + text-align: left; + color: #eeeff1; + } + label{ + margin:0 10px; + } + .yisa-search{ + margin-top: 10px; + display: flex; + label{ + line-height: 31px; + } + } + .ant-select:not(.ant-select-customize-input) .ant-select-selector{ + background-color: #50586c !important; + } + .ant-select-arrow .anticon{ + background-color: #50586c !important; + } + .ant-input:placeholder-shown{ + background-color: #50586c !important; + } + .timePicker{ + width: 350px; + margin-top: 22px; + .btnBox{ + display:flex ; + margin-top: 20px; + .yisa-btn{ + margin-left: 20px; + width: 130px; + } + .root_gfkk{ + margin-left: 20px; + .export-content{ + width: 130px; + height: 33px; + display: flex; + align-items: center; + justify-content: center; + background: #3b97ff; + border-radius: 3px; + cursor: pointer; + color: #fff; + margin-right: 10px; + } + } + + } + } + } + .paid-result{ + width: 100%; + height: 800px; + background: #505a6f; + border-radius: 20px; + margin-left: 17px; + .result{ + padding: 25px; + .font{ + font-family: Microsoft YaHei, Microsoft YaHei-Regular; + font-weight: 400; + text-align: left; + color: #eeeff1; + margin-bottom: 10px; + display: inline-block; + + em{ + color: #3aa8fe; + margin: 0 5px; + } + } + .yisa-table .ant-table-thead .ant-table-cell{ + background-color: #616b83 !important; + color: #ffffff !important; + font-size: 14px; + font-family: Microsoft YaHei, Microsoft YaHei-Bold; + font-weight: 700; + text-align: center; + border-right: none !important; + border-top-color: #888f9d !important; + border-color: #888f9d !important; + } + .ant-table.ant-table-bordered>.ant-table-container>.ant-table-content>table, .ant-table.ant-table-bordered>.ant-table-container>.ant-table-header>table{ + border-top: none !important; + border-left: none !important; + } + .ant-table-tbody .ant-table-row .ant-table-cell{ + background-color: #3e4557 !important; + color: #ffffff !important; + text-align: center; + font-size: 14px; + font-family: Microsoft YaHei, Microsoft YaHei-Regular; + font-weight: 400; + border-right: none !important; + border-left: none !important; + border-bottom-color: #626b7e !important; + } + } + + } + +} +.revenue{ + .tab-title{ + text-align: center; + font-size: 18px; + font-weight: 400; + font-family: Microsoft YaHei, Microsoft YaHei-Regular; + } + width: 700px !important; + .tab-index{ + .tab-top{ + display: flex; + margin-top: 10px; + height: 30px; + line-height: 30px; + white-space: nowrap; + overflow: hidden; + border-bottom: 1px solid #e4e7ed; + .tab-li{ + margin-left: 20px; + cursor: pointer; + } + .active{ + color:#409eff ; + cursor: pointer; + margin-left: 20px; + border-bottom: 1px solid #409eff !important; + margin-bottom: -1px !important; + } + } + .tab-bottom{ + .yisa-tab{ + .ant-table-cell{ + background-color: #616b83 !important; + color: #ffffff !important; + font-size: 14px; + font-family: Microsoft YaHei, Microsoft YaHei-Bold; + font-weight: 700; + text-align: center; + border-right: none !important; + border-left: none !important; + border-bottom-color: #868d9d !important; + } + } + } + } +} +.report-pic{ + width: 30px; +} \ No newline at end of file diff --git a/src/pages/InRoadMgm/PersonMgm/ReportMsg/loadable.jsx b/src/pages/InRoadMgm/PersonMgm/ReportMsg/loadable.jsx new file mode 100644 index 0000000..081ce5b --- /dev/null +++ b/src/pages/InRoadMgm/PersonMgm/ReportMsg/loadable.jsx @@ -0,0 +1,361 @@ +import React, { useState, useRef, useEffect } from "react"; +import { ResultFlowResult, FormSliderPicker } from "@/components" +import { Select, Button, Input, Table, message, Pagination,Image } from 'antd' +import { + pageSizeOptions +} from '@/config/character.config.js' +import "./index.scss"; +import moment from "moment"; +import { SearchOutlined, DeleteOutlined } from '@ant-design/icons'; +import ajax from '@/services' +import { useSessionStorageState } from "ahooks" +const { TextArea } = Input; +function ReportMsg(props) { + const [ajaxLoading, setAjaxLoading] = useState(false) + const [resultData, setResultData] = useState({ + data: [], + total_records: 0, + export_url: '', + process_url: "" + }) + const parameter = { + road_name: '', + name: '', + operator_id: '0', + status: '0', + report_type_name:'', + start_time: moment().format('YYYY-MM-DD 00:00:00'), + end_time: moment().format("YYYY-MM-DD 23:59:59"), + pn: 1, + page_size: Number(pageSizeOptions[0]), // 每页条数 + } + const [formData, setFormData] = useState(parameter) + const lastFormDataRef = useRef(formData) + const [lastFormData, setLastFormData] = useState(formData) + //物品型号 + const handleRoadName = (v) => { + setFormData({ ...formData, road_name: v.target.value }) + } + //上报人 + const handleName = (v) => { + setFormData({ ...formData, name: v.target.value }) + } + //在职状态 + const handleStatus=(v)=>{ + setFormData({ ...formData, name: v}) + } + //报备类型 + const handleReportTypeName = (v) => { + setFormData({ ...formData, report_type_name: v }) + } + //商户名称 + const handleDeployType = (value) => { + setFormData({ ...formData, operator_id: value }) + } + //停车场名称 + const handleParkname = (v) => { + setFormData({ ...formData, park_name: v.target.value }) + } + const onHandleDateChange = (v) => { + setFormData({ + ...formData, + start_time: v.startDateTime, + end_time: v.endDateTime + }) + } + //导出 + const getExportData = () => { + let data = { + ...formData + } + ajax.getFaultReportExport(data).then(res => { + window.open(res.export_url) + }) + } + //列表 + const handleColumns = (tab) => { + let result = [...deployListColumns]; + switch (tab) { + case '1': + result.splice(5, 1) + break; + + } + return result; + } + //重置数据 + const getResetData = () => { + setFormData({ + ...parameter + }) + getData({ ...parameter }) + } + //列表 + const deployListColumns = [ + { + title: '序号', + render: (text, record, index) => index + 1, + }, + { + title: '所属运营商', + dataIndex: 'operator_name', + key: 'operator_name', + }, + { + title: '路段', + dataIndex: 'road_name', + key: 'road_name', + }, + { + title: '姓名', + dataIndex: 'name', + key: 'name', + }, + { + title: '手机号', + dataIndex: 'phone', + key: 'phone', + }, + { + title: '报备类型', + dataIndex: 'report_type_name', + key: 'report_type_name', + }, + { + title: '报备时间', + dataIndex: 'report_time', + key: 'report_time', + }, + { + title: '地点', + dataIndex: 'location', + key: 'location', + }, + { + title: '备注', + dataIndex: 'notes', + key: 'notes', + }, + { + title: '图片', + render:(text,record)=>{ + return
+ +
+ } + }] + + // 获取列表数据 + const getData = (data = formData) => { + setAjaxLoading(true) + ajax.getReportList(data).then(res => { + setAjaxLoading(false) + if (res.status === 20000) { + let resDataArr = res.data.list.map((item) => { + item.key = item.id + return item + }) + setResultData({ + ...resultData, + data: resDataArr, + total_records: res.data.total_records + }) + } else { + setResultData({ + data: [], + total_records: 0, + export_url: '', + process_url: "" + }) + message.error(res.message) + } + }, err => { + console.log(err) + }) + } + //切换分页 + const changePn = (pn, length) => { + if (formData.page_size === length) { + setFormData(Object.assign({}, formData, { pn: pn, page_size: length })) + setLastFormData(Object.assign({}, lastFormData, { pn: pn, page_size: length })) + lastFormDataRef.current = Object.assign({}, lastFormData, { pn: pn, page_size: length }) + getData(Object.assign({}, formData, { pn: pn, page_size: length })) + } + } + //切换每页条数 + const changeLength = (pn, length) => { + setFormData(Object.assign({}, formData, { pn: 1, page_size: length })) + setLastFormData(Object.assign({}, lastFormData, { pn: 1, page_size: length })) + lastFormDataRef.current = Object.assign({}, lastFormData, { pn: pn, page_size: length }) + getData(Object.assign({}, formData, { pn: 1, page_size: length })) + } + //检索数据 + const getSearchData = (data = formData) => { + getData(data) + } + + const [getMerchantDataName, setGetMerchantDataName] = useState([]) + const merchantDataName = () => { + ajax.getOperator().then(res => { + setGetMerchantDataName(res.data) + }) + } + + + + const [sessionTabList, setSessionTabList] = useSessionStorageState('ReportMsg', { + value: { + } + }) + useEffect(() => { + console.log(location) + if (sessionTabList && Object.values(sessionTabList).length > 0) { + setFormData({ + road_name: sessionTabList?.road_name, + operator_id: sessionTabList?.operator_id, + status: sessionTabList?.status, + name: sessionTabList?.name, + report_type_name: sessionTabList?.report_type_name, + start_time: sessionTabList?.start_time, + end_time: sessionTabList?.end_time, + pn: sessionTabList?.pn, + page_size: sessionTabList?.page_size, + }) + } + }, []) + console.log(formData); + useEffect(() => { + setSessionTabList({ + ...formData + }) + }, [formData]) + useEffect(() => { + getData() + merchantDataName() + }, []) + return <> +
+
+ +
+ + +
+
+ + +
+
+ + +
+
+ +