|
|
@ -1,7 +1,7 @@ |
|
|
|
import { basicAction } from '@peace/utils' |
|
|
|
import { ApiTable } from '$utils' |
|
|
|
|
|
|
|
export function getDepMessage () { |
|
|
|
export function getDepMessage() { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -23,7 +23,7 @@ export function getDepMessage () { |
|
|
|
// });
|
|
|
|
|
|
|
|
// }
|
|
|
|
export function getOperaTional (query) { |
|
|
|
export function getOperaTional(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -34,7 +34,7 @@ export function getOperaTional (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putOperaTional (query) { |
|
|
|
export function putOperaTional(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -45,7 +45,7 @@ export function putOperaTional (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getSpecificVehicle (query) { |
|
|
|
export function getSpecificVehicle(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -56,7 +56,7 @@ export function getSpecificVehicle (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putSpecificVehicle (query) { |
|
|
|
export function putSpecificVehicle(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -67,7 +67,7 @@ export function putSpecificVehicle (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putHouseholds (query) { |
|
|
|
export function putHouseholds(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -78,7 +78,7 @@ export function putHouseholds (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getHouseholds (query) { |
|
|
|
export function getHouseholds(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -89,7 +89,7 @@ export function getHouseholds (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getRoadway (query) { |
|
|
|
export function getRoadway(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -100,7 +100,7 @@ export function getRoadway (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putRoadway (query) { |
|
|
|
export function putRoadway(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -111,7 +111,7 @@ export function putRoadway (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getBridge (query) { |
|
|
|
export function getBridge(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -122,7 +122,7 @@ export function getBridge (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putBridge (query) { |
|
|
|
export function putBridge(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -133,7 +133,7 @@ export function putBridge (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getProject (query) { |
|
|
|
export function getProject(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -144,7 +144,7 @@ export function getProject (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putProject (query) { |
|
|
|
export function putProject(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -155,7 +155,7 @@ export function putProject (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getHighways (query) { |
|
|
|
export function getHighways(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -166,7 +166,7 @@ export function getHighways (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putHighways (query) { |
|
|
|
export function putHighways(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -177,7 +177,7 @@ export function putHighways (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getCircuit (query) { |
|
|
|
export function getCircuit(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -188,7 +188,7 @@ export function getCircuit (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putCircuit (query) { |
|
|
|
export function putCircuit(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -199,7 +199,7 @@ export function putCircuit (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function getVehicle (query) { |
|
|
|
export function getVehicle(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -210,7 +210,7 @@ export function getVehicle (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putVehicle (query) { |
|
|
|
export function putVehicle(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -221,7 +221,7 @@ export function putVehicle (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delRoadway (query) { |
|
|
|
export function delRoadway(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -231,7 +231,7 @@ export function delRoadway (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delProject (query) { |
|
|
|
export function delProject(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -241,7 +241,7 @@ export function delProject (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delBridge (query) { |
|
|
|
export function delBridge(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -251,7 +251,7 @@ export function delBridge (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delSpecificVehicle (query) { |
|
|
|
export function delSpecificVehicle(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -261,7 +261,7 @@ export function delSpecificVehicle (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delHouseholds (query) { |
|
|
|
export function delHouseholds(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -271,7 +271,7 @@ export function delHouseholds (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delCircuit (query) { |
|
|
|
export function delCircuit(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -281,7 +281,7 @@ export function delCircuit (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delVehicle (query) { |
|
|
|
export function delVehicle(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -292,7 +292,7 @@ export function delVehicle (query) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export function getPurchase (query) { |
|
|
|
export function getPurchase(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -303,7 +303,7 @@ export function getPurchase (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putPurchase (query) { |
|
|
|
export function putPurchase(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -314,7 +314,7 @@ export function putPurchase (query) { |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delPurchase (query) { |
|
|
|
export function delPurchase(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
@ -325,7 +325,7 @@ export function delPurchase (query) { |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
export function getPropagata (query) { |
|
|
|
export function getPropagata(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'get', |
|
|
|
dispatch: dispatch, |
|
|
@ -336,7 +336,7 @@ export function getPropagata (query) { |
|
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putAddPropagata (query) { |
|
|
|
export function putAddPropagata(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -347,7 +347,7 @@ export function putAddPropagata (query) { |
|
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function putEditPropagata (query) { |
|
|
|
export function putEditPropagata(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'put', |
|
|
|
dispatch: dispatch, |
|
|
@ -358,7 +358,7 @@ export function putEditPropagata (query) { |
|
|
|
// reducer: { name: 'reportstatistic' }
|
|
|
|
}); |
|
|
|
} |
|
|
|
export function delPropagata (query) { |
|
|
|
export function delPropagata(query) { |
|
|
|
return dispatch => basicAction({ |
|
|
|
type: 'del', |
|
|
|
dispatch: dispatch, |
|
|
|