110 lines
2.5 KiB
JavaScript
110 lines
2.5 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
|
|
// 变电站管理-分页查询设备信息
|
|
export function getSubstationListPageApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/substation/list',
|
|
method: 'get',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
params:data
|
|
})
|
|
}
|
|
// 变电站管理-新增
|
|
export function addSubstationApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/substation/add',
|
|
method: 'post',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 变电站管理-修改信息
|
|
export function updateSubstationApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/substation/edit',
|
|
method: 'post',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
data: data
|
|
})
|
|
}editProdectionApi
|
|
|
|
// 变电站管理-删除信息
|
|
export function deleteSubstationApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/substation/del',
|
|
method: 'post',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 定值单管理-分页查询设备信息
|
|
export function getProtectionOrderListPageApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/protectionOrder/list',
|
|
method: 'get',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
params:data
|
|
})
|
|
}
|
|
|
|
// 保护定值单管理-新增/修改信息
|
|
export function editProdectionApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/protectionOrder/edit',
|
|
method: 'post',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 保护定值单管理-删除信息
|
|
export function deleteProtectionApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/protectionOrder/del',
|
|
method: 'post',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
data: data
|
|
})
|
|
}
|
|
|
|
export function getProdectionByIdApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/protectionOrder/detail',
|
|
method: 'get',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
params:data
|
|
})
|
|
}
|
|
|
|
|
|
export function getProtectionAnalysisListPageApi(data) {
|
|
return request({
|
|
url: '/protection/protection_manage/protectionAnalysis/list',
|
|
method: 'get',
|
|
headers: {
|
|
//"merchant-id":"378915229716713472",
|
|
},
|
|
params:data
|
|
})
|
|
}
|
|
|