This commit is contained in:
xiaozhiyong
2026-06-10 09:39:21 +08:00
parent 93ccdace0f
commit f006955a77
10 changed files with 853 additions and 252 deletions

View File

@@ -1,5 +1,13 @@
import service from '@/utils/request'
// 网关
export const getDeviceGatewayListByPage = (data) => {
return service({
url: '/device/getDeviceGatewayListByPage',
method: 'post',
data: data
})
}
// 设备
export const getDeviceListByPage = (data) => {
return service({
url: '/device/getDeviceListByPage',
@@ -15,7 +23,7 @@ export const deviceOperation = (data) => {
data: data
})
}
// 曲线
export const getDeviceDetailsListByPage = (data) => {
return service({
url: '/device/getDeviceDetailsListByPage',
@@ -23,3 +31,20 @@ export const getDeviceDetailsListByPage = (data) => {
data: data
})
}
// 报警
export const getAlarmRecordListByPage = (data) => {
return service({
url: '/device/getAlarmRecordListByPage',
method: 'post',
data: data
})
}
// 报警
export const getCircuitBreakerDetail = (data) => {
return service({
url: '/device/getCircuitBreakerDetail',
method: 'post',
data: data
})
}

View File

@@ -1,9 +0,0 @@
import service from '@/utils/request'
export const getDeviceDetailsListByPage = (data) => {
return service({
url: '/device/getDeviceDetailsListByPage',
method: 'post',
data: data
})
}