|
@ -31,7 +31,7 @@ export function getOperaTional(query) { |
|
|
actionType: 'GET_OPERA_TIONAL', |
|
|
actionType: 'GET_OPERA_TIONAL', |
|
|
url: ApiTable.getOperaTional, |
|
|
url: ApiTable.getOperaTional, |
|
|
msg: { error: '获取客运信息失败' }, |
|
|
msg: { error: '获取客运信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putOperaTional(query) { |
|
|
export function putOperaTional(query) { |
|
@ -42,7 +42,7 @@ export function putOperaTional(query) { |
|
|
actionType: 'PUT_OPERA_TIONAL', |
|
|
actionType: 'PUT_OPERA_TIONAL', |
|
|
url: ApiTable.putOperaTional, |
|
|
url: ApiTable.putOperaTional, |
|
|
msg: { error: '获取车辆信息失败' }, |
|
|
msg: { error: '获取车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getSpecificVehicle(query) { |
|
|
export function getSpecificVehicle(query) { |
|
@ -53,7 +53,7 @@ export function getSpecificVehicle(query) { |
|
|
actionType: 'GET_SPECIFIC_VEHICLE', |
|
|
actionType: 'GET_SPECIFIC_VEHICLE', |
|
|
url: ApiTable.getSpecificVehicle, |
|
|
url: ApiTable.getSpecificVehicle, |
|
|
msg: { error: '获取车辆信息失败' }, |
|
|
msg: { error: '获取车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putSpecificVehicle(query) { |
|
|
export function putSpecificVehicle(query) { |
|
@ -64,7 +64,7 @@ export function putSpecificVehicle(query) { |
|
|
actionType: 'put_SPECIFIC_VEHICLE', |
|
|
actionType: 'put_SPECIFIC_VEHICLE', |
|
|
url: ApiTable.putSpecificVehicle, |
|
|
url: ApiTable.putSpecificVehicle, |
|
|
msg: { error: '编辑车辆信息失败' }, |
|
|
msg: { error: '编辑车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putHouseholds(query) { |
|
|
export function putHouseholds(query) { |
|
@ -75,7 +75,7 @@ export function putHouseholds(query) { |
|
|
actionType: 'put_HOUSEHOLDS', |
|
|
actionType: 'put_HOUSEHOLDS', |
|
|
url: ApiTable.putHouseholds, |
|
|
url: ApiTable.putHouseholds, |
|
|
msg: { error: '编辑业户信息失败' }, |
|
|
msg: { error: '编辑业户信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getHouseholds(query) { |
|
|
export function getHouseholds(query) { |
|
@ -86,7 +86,7 @@ export function getHouseholds(query) { |
|
|
actionType: 'GET_HOUSEHOLDS', |
|
|
actionType: 'GET_HOUSEHOLDS', |
|
|
url: ApiTable.getHouseholds, |
|
|
url: ApiTable.getHouseholds, |
|
|
msg: { error: '获取业户信息失败' }, |
|
|
msg: { error: '获取业户信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getRoadway(query) { |
|
|
export function getRoadway(query) { |
|
@ -97,7 +97,7 @@ export function getRoadway(query) { |
|
|
actionType: 'GET_ROADWAY', |
|
|
actionType: 'GET_ROADWAY', |
|
|
url: ApiTable.getRoadway, |
|
|
url: ApiTable.getRoadway, |
|
|
msg: { error: '获取道路信息失败' }, |
|
|
msg: { error: '获取道路信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putRoadway(query) { |
|
|
export function putRoadway(query) { |
|
@ -108,7 +108,7 @@ export function putRoadway(query) { |
|
|
actionType: 'PUT_ROADWAY', |
|
|
actionType: 'PUT_ROADWAY', |
|
|
url: ApiTable.putRoadway, |
|
|
url: ApiTable.putRoadway, |
|
|
msg: { error: '编辑道路信息失败' }, |
|
|
msg: { error: '编辑道路信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getBridge(query) { |
|
|
export function getBridge(query) { |
|
@ -119,7 +119,7 @@ export function getBridge(query) { |
|
|
actionType: 'GET_BRIDGE', |
|
|
actionType: 'GET_BRIDGE', |
|
|
url: ApiTable.getBridge, |
|
|
url: ApiTable.getBridge, |
|
|
msg: { error: '获取桥梁信息失败' }, |
|
|
msg: { error: '获取桥梁信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putBridge(query) { |
|
|
export function putBridge(query) { |
|
@ -130,7 +130,7 @@ export function putBridge(query) { |
|
|
actionType: 'PUT_BRIDGE', |
|
|
actionType: 'PUT_BRIDGE', |
|
|
url: ApiTable.putBridge, |
|
|
url: ApiTable.putBridge, |
|
|
msg: { error: '编辑桥梁信息失败' }, |
|
|
msg: { error: '编辑桥梁信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getProject(query) { |
|
|
export function getProject(query) { |
|
@ -141,7 +141,7 @@ export function getProject(query) { |
|
|
actionType: 'GET_PROJECT', |
|
|
actionType: 'GET_PROJECT', |
|
|
url: ApiTable.getProject, |
|
|
url: ApiTable.getProject, |
|
|
msg: { error: '获取工程信息失败' }, |
|
|
msg: { error: '获取工程信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putProject(query) { |
|
|
export function putProject(query) { |
|
@ -152,7 +152,7 @@ export function putProject(query) { |
|
|
actionType: 'GET_PROJECT', |
|
|
actionType: 'GET_PROJECT', |
|
|
url: ApiTable.putProject, |
|
|
url: ApiTable.putProject, |
|
|
msg: { error: '编辑工程信息失败' }, |
|
|
msg: { error: '编辑工程信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getHighways(query) { |
|
|
export function getHighways(query) { |
|
@ -163,7 +163,7 @@ export function getHighways(query) { |
|
|
actionType: 'GET_HIGHWAYS', |
|
|
actionType: 'GET_HIGHWAYS', |
|
|
url: ApiTable.getHighways, |
|
|
url: ApiTable.getHighways, |
|
|
msg: { error: '获取路政信息失败' }, |
|
|
msg: { error: '获取路政信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putHighways(query) { |
|
|
export function putHighways(query) { |
|
@ -174,7 +174,7 @@ export function putHighways(query) { |
|
|
actionType: 'GET_HIGHWAYS', |
|
|
actionType: 'GET_HIGHWAYS', |
|
|
url: ApiTable.putHighways, |
|
|
url: ApiTable.putHighways, |
|
|
msg: { error: '编辑路政信息失败' }, |
|
|
msg: { error: '编辑路政信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getCircuit(query) { |
|
|
export function getCircuit(query) { |
|
@ -185,7 +185,7 @@ export function getCircuit(query) { |
|
|
actionType: 'GET_CIRCUIT', |
|
|
actionType: 'GET_CIRCUIT', |
|
|
url: ApiTable.getCircuit, |
|
|
url: ApiTable.getCircuit, |
|
|
msg: { error: '获取线路信息失败' }, |
|
|
msg: { error: '获取线路信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putCircuit(query) { |
|
|
export function putCircuit(query) { |
|
@ -196,7 +196,7 @@ export function putCircuit(query) { |
|
|
actionType: 'PUT_CIRCUIT', |
|
|
actionType: 'PUT_CIRCUIT', |
|
|
url: ApiTable.putCircuit, |
|
|
url: ApiTable.putCircuit, |
|
|
msg: { error: '编辑线路信息失败' }, |
|
|
msg: { error: '编辑线路信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function getVehicle(query) { |
|
|
export function getVehicle(query) { |
|
@ -207,7 +207,7 @@ export function getVehicle(query) { |
|
|
actionType: 'GET_VEHICLE', |
|
|
actionType: 'GET_VEHICLE', |
|
|
url: ApiTable.getVehicle, |
|
|
url: ApiTable.getVehicle, |
|
|
msg: { error: '获取车辆信息失败' }, |
|
|
msg: { error: '获取车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putVehicle(query) { |
|
|
export function putVehicle(query) { |
|
@ -218,7 +218,7 @@ export function putVehicle(query) { |
|
|
actionType: 'PUT_VEHICLE', |
|
|
actionType: 'PUT_VEHICLE', |
|
|
url: ApiTable.putVehicle, |
|
|
url: ApiTable.putVehicle, |
|
|
msg: { error: '编辑车辆信息失败' }, |
|
|
msg: { error: '编辑车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delRoadway(query) { |
|
|
export function delRoadway(query) { |
|
@ -228,7 +228,7 @@ export function delRoadway(query) { |
|
|
actionType: 'DEL_ROADWAY', |
|
|
actionType: 'DEL_ROADWAY', |
|
|
url: ApiTable.delRoadway.replace("{roadId}", query?.roadId), |
|
|
url: ApiTable.delRoadway.replace("{roadId}", query?.roadId), |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delProject(query) { |
|
|
export function delProject(query) { |
|
@ -238,7 +238,7 @@ export function delProject(query) { |
|
|
actionType: 'DEL_PROJECT', |
|
|
actionType: 'DEL_PROJECT', |
|
|
url: ApiTable.delProject.replace("{projectId}", query?.projectId), |
|
|
url: ApiTable.delProject.replace("{projectId}", query?.projectId), |
|
|
msg: { error: '删除工程信息失败' }, |
|
|
msg: { error: '删除工程信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delBridge(query) { |
|
|
export function delBridge(query) { |
|
@ -248,7 +248,7 @@ export function delBridge(query) { |
|
|
actionType: 'DEL_BRIDGE', |
|
|
actionType: 'DEL_BRIDGE', |
|
|
url: ApiTable.delBridge.replace("{bridgeId}", query?.bridgeId), |
|
|
url: ApiTable.delBridge.replace("{bridgeId}", query?.bridgeId), |
|
|
msg: { error: '删除桥梁信息失败' }, |
|
|
msg: { error: '删除桥梁信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delSpecificVehicle(query) { |
|
|
export function delSpecificVehicle(query) { |
|
@ -258,7 +258,7 @@ export function delSpecificVehicle(query) { |
|
|
actionType: 'DEL_SPECIFICVENICLE', |
|
|
actionType: 'DEL_SPECIFICVENICLE', |
|
|
url: ApiTable.delSpecificVehicle.replace("{vehicleId}", query?.vehicleId), |
|
|
url: ApiTable.delSpecificVehicle.replace("{vehicleId}", query?.vehicleId), |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delHouseholds(query) { |
|
|
export function delHouseholds(query) { |
|
@ -268,7 +268,7 @@ export function delHouseholds(query) { |
|
|
actionType: 'DEL_HOUSEHOLDS', |
|
|
actionType: 'DEL_HOUSEHOLDS', |
|
|
url: ApiTable.delHouseholds.replace("{businessId}", query?.businessId), |
|
|
url: ApiTable.delHouseholds.replace("{businessId}", query?.businessId), |
|
|
msg: { error: '删除业户信息失败' }, |
|
|
msg: { error: '删除业户信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delCircuit(query) { |
|
|
export function delCircuit(query) { |
|
@ -278,7 +278,7 @@ export function delCircuit(query) { |
|
|
actionType: 'DEL_CIRCUIT', |
|
|
actionType: 'DEL_CIRCUIT', |
|
|
url: ApiTable.delCircuit.replace("{lineId}", query?.lineId), |
|
|
url: ApiTable.delCircuit.replace("{lineId}", query?.lineId), |
|
|
msg: { error: '删除运营线路信息失败' }, |
|
|
msg: { error: '删除运营线路信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delVehicle(query) { |
|
|
export function delVehicle(query) { |
|
@ -288,7 +288,7 @@ export function delVehicle(query) { |
|
|
actionType: 'DEL_VEHICLE', |
|
|
actionType: 'DEL_VEHICLE', |
|
|
url: ApiTable.delVehicle.replace("{carId}", query?.carId), |
|
|
url: ApiTable.delVehicle.replace("{carId}", query?.carId), |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -300,7 +300,7 @@ export function getPurchase(query) { |
|
|
actionType: 'GET_PURCHASE', |
|
|
actionType: 'GET_PURCHASE', |
|
|
url: ApiTable.getPurchase, |
|
|
url: ApiTable.getPurchase, |
|
|
msg: { error: '获取治超信息失败' }, |
|
|
msg: { error: '获取治超信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function putPurchase(query) { |
|
|
export function putPurchase(query) { |
|
@ -311,7 +311,7 @@ export function putPurchase(query) { |
|
|
actionType: 'PUT_PURCHASE', |
|
|
actionType: 'PUT_PURCHASE', |
|
|
url: ApiTable.putPurchase, |
|
|
url: ApiTable.putPurchase, |
|
|
msg: { error: '获取治超信息失败' }, |
|
|
msg: { error: '获取治超信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
export function delPurchase(query) { |
|
|
export function delPurchase(query) { |
|
@ -321,6 +321,6 @@ export function delPurchase(query) { |
|
|
actionType: 'DEL_PURCHASE', |
|
|
actionType: 'DEL_PURCHASE', |
|
|
url: ApiTable.delPurchase.replace("{overspeedId}", query?.overspeedId), |
|
|
url: ApiTable.delPurchase.replace("{overspeedId}", query?.overspeedId), |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |