|
|
@ -63,7 +63,7 @@ export function putSpecificVehicle(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'put_SPECIFIC_VEHICLE', |
|
|
|
url: ApiTable.putSpecificVehicle, |
|
|
|
msg: { error: '编辑车辆信息失败' }, |
|
|
|
msg: { option: '编辑车辆信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -74,7 +74,7 @@ export function putHouseholds(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'put_HOUSEHOLDS', |
|
|
|
url: ApiTable.putHouseholds, |
|
|
|
msg: { error: '编辑业户信息失败' }, |
|
|
|
msg: { option: '编辑业户信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -107,7 +107,7 @@ export function putRoadway(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'PUT_ROADWAY', |
|
|
|
url: ApiTable.putRoadway, |
|
|
|
msg: { error: '编辑道路信息失败' }, |
|
|
|
msg: { option: '编辑道路信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -129,7 +129,7 @@ export function putBridge(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'PUT_BRIDGE', |
|
|
|
url: ApiTable.putBridge, |
|
|
|
msg: { error: '编辑桥梁信息失败' }, |
|
|
|
msg: { option: '编辑桥梁信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -151,7 +151,7 @@ export function putProject(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'GET_PROJECT', |
|
|
|
url: ApiTable.putProject, |
|
|
|
msg: { error: '编辑工程信息失败' }, |
|
|
|
msg: { option: '编辑工程信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -173,7 +173,7 @@ export function putHighways(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'GET_HIGHWAYS', |
|
|
|
url: ApiTable.putHighways, |
|
|
|
msg: { error: '编辑路政信息失败' }, |
|
|
|
msg: { option: '编辑路政信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -195,7 +195,7 @@ export function putCircuit(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'PUT_CIRCUIT', |
|
|
|
url: ApiTable.putCircuit, |
|
|
|
msg: { error: '编辑线路信息失败' }, |
|
|
|
msg: { option: '编辑线路信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -217,7 +217,7 @@ export function putVehicle(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'PUT_VEHICLE', |
|
|
|
url: ApiTable.putVehicle, |
|
|
|
msg: { error: '编辑车辆信息失败' }, |
|
|
|
msg: { option: '编辑车辆信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -227,7 +227,7 @@ export function delRoadway(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_ROADWAY', |
|
|
|
url: ApiTable.delRoadway.replace("{roadId}", query?.roadId), |
|
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
|
msg: { option: '删除车辆信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -237,7 +237,7 @@ export function delProject(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_PROJECT', |
|
|
|
url: ApiTable.delProject.replace("{projectId}", query?.projectId), |
|
|
|
msg: { error: '删除工程信息失败' }, |
|
|
|
msg: { option: '删除工程信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -247,7 +247,7 @@ export function delBridge(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_BRIDGE', |
|
|
|
url: ApiTable.delBridge.replace("{bridgeId}", query?.bridgeId), |
|
|
|
msg: { error: '删除桥梁信息失败' }, |
|
|
|
msg: { option: '删除桥梁信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -257,7 +257,7 @@ export function delSpecificVehicle(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_SPECIFICVENICLE', |
|
|
|
url: ApiTable.delSpecificVehicle.replace("{vehicleId}", query?.vehicleId), |
|
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
|
msg: { option: '删除车辆信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -267,7 +267,7 @@ export function delHouseholds(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_HOUSEHOLDS', |
|
|
|
url: ApiTable.delHouseholds.replace("{businessId}", query?.businessId), |
|
|
|
msg: { error: '删除业户信息失败' }, |
|
|
|
msg: { option: '删除业户信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -277,7 +277,7 @@ export function delCircuit(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_CIRCUIT', |
|
|
|
url: ApiTable.delCircuit.replace("{lineId}", query?.lineId), |
|
|
|
msg: { error: '删除运营线路信息失败' }, |
|
|
|
msg: { option: '删除运营线路信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -287,7 +287,7 @@ export function delVehicle(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_VEHICLE', |
|
|
|
url: ApiTable.delVehicle.replace("{carId}", query?.carId), |
|
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
|
msg: { option: '删除车辆信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -310,7 +310,7 @@ export function putPurchase(query) { |
|
|
|
data: query, |
|
|
|
actionType: 'PUT_PURCHASE', |
|
|
|
url: ApiTable.putPurchase, |
|
|
|
msg: { error: '获取治超信息失败' }, |
|
|
|
msg: { option: '编辑治超信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
@ -320,7 +320,7 @@ export function delPurchase(query) { |
|
|
|
dispatch: dispatch, |
|
|
|
actionType: 'DEL_PURCHASE', |
|
|
|
url: ApiTable.delPurchase.replace("{overspeedId}", query?.overspeedId), |
|
|
|
msg: { error: '删除车辆信息失败' }, |
|
|
|
msg: { option: '删除车辆信息' }, |
|
|
|
|
|
|
|
}); |
|
|
|
} |