parent
8b906269fc
commit
09ef384736
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,56 @@
|
||||
import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State} from '@/services/api'
|
||||
import { request, METHOD, } from '@/utils/request'
|
||||
|
||||
// export async function index (data) {
|
||||
// return request(Battery_Maintain_Log, METHOD.GET, data)
|
||||
// }
|
||||
|
||||
export async function index (data) {
|
||||
return request( Battery_Details, METHOD.GET, data)
|
||||
}
|
||||
export async function alarmone (data) {
|
||||
return request( Battery_Alarm_One, METHOD.GET, data)
|
||||
}
|
||||
export async function alarmtwo (data) {
|
||||
return request( Battery_Alarm_Two, METHOD.GET, data)
|
||||
}
|
||||
export async function Relaystatus (data) {
|
||||
return request( Relay_status, METHOD.GET, data)
|
||||
}
|
||||
export async function Chargedischargecurrent (data) {
|
||||
return request( Charge_discharge_current, METHOD.GET, data)
|
||||
}
|
||||
|
||||
export async function Runningstate (data) {
|
||||
return request( Running_State, METHOD.GET, data)
|
||||
}
|
||||
|
||||
|
||||
// export async function store (data) {
|
||||
// return request(Battery_Maintain_Log, METHOD.POST, data)
|
||||
// }
|
||||
|
||||
// export async function update (data) {
|
||||
// return request(Battery_Maintain_Log, METHOD.PUT, data)
|
||||
// }
|
||||
|
||||
// export async function destroy (id) {
|
||||
// return request(Battery_Maintain_Log + '/' + id, METHOD.DELETE)
|
||||
// }
|
||||
|
||||
// export async function batchDelete (data) {
|
||||
// return request(Battery_Maintain_Log + '/BatchDelete', METHOD.POST, data)
|
||||
// }
|
||||
|
||||
export default {
|
||||
index,
|
||||
alarmone,
|
||||
alarmtwo,
|
||||
Relaystatus,
|
||||
Chargedischargecurrent,
|
||||
Runningstate,
|
||||
// store,
|
||||
// update,
|
||||
// destroy,
|
||||
// batchDelete
|
||||
}
|
Loading…
Reference in new issue