更新
This commit is contained in:
@@ -48,3 +48,11 @@ export const getCircuitBreakerDetail = (data) => {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 设备配置
|
||||
export const getDeviceConfigListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceConfigListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
58
src/api/masterStation/equipment.js
Normal file
58
src/api/masterStation/equipment.js
Normal file
@@ -0,0 +1,58 @@
|
||||
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',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export const deviceOperation = (data) => {
|
||||
return service({
|
||||
url: '/device/deviceOperation',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 曲线
|
||||
export const getDeviceDetailsListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceDetailsListByPage',
|
||||
method: 'post',
|
||||
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
|
||||
})
|
||||
}
|
||||
// 设备配置
|
||||
export const getDeviceConfigListByPage = (data) => {
|
||||
return service({
|
||||
url: '/device/getDeviceConfigListByPage',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
16
src/api/securityControl/alarmList.js
Normal file
16
src/api/securityControl/alarmList.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import service from '@/utils/request'
|
||||
// echarts图
|
||||
export const getAlarmCategorySummary = (data) => {
|
||||
return service({
|
||||
url: '/device/getAlarmCategorySummary',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
export const getAlarmTrend = (data) => {
|
||||
return service({
|
||||
url: '/device/getAlarmTrend',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user