|
@@ -39,7 +39,7 @@ return request.post(constant.chargingServerUrl + "/chargingRecord/update", formM
|
|
|
}
|
|
|
|
|
|
function remove(id){
|
|
|
-return request.post(constant.chargingServerUrl + "/chargingRecord/delete/" + id);
|
|
|
+ return request.post(constant.chargingServerUrl + "/chargingRecord/delete/" + id);
|
|
|
}
|
|
|
|
|
|
function batchRemove(idList){
|
|
@@ -65,8 +65,12 @@ function finishCharge(c202Packet){
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+function refund(id){
|
|
|
+ return request.post(constant.chargingServerUrl + "/chargingRecord/refund/" + id);
|
|
|
+}
|
|
|
+
|
|
|
export default {
|
|
|
pageList,create,edit,add,update,remove,batchRemove,
|
|
|
dailyReportSearch,chargingStatementReport,notifyChargeOrderInfo,
|
|
|
- finishCharge
|
|
|
+ finishCharge,refund
|
|
|
}
|