联调 辽宁台账维护 页面 修改 冀北 bug
This commit is contained in:
10
src/api/device-boot/newEnergy.ts
Normal file
10
src/api/device-boot/newEnergy.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 新能源场站高低电压穿越信息更新
|
||||
export function editNewStation(data: any) {
|
||||
return request({ url: '/device-boot/newStation/editNewStation', method: 'post', data })
|
||||
}
|
||||
// 新能源场站高低电压穿越信息删除
|
||||
export function delNewStation(data: any) {
|
||||
return request({ url: '/device-boot/newStation/delNewStation', method: 'delete', params: data })
|
||||
}
|
||||
@@ -86,3 +86,11 @@ export const cancel = (data: any) => {
|
||||
data
|
||||
})
|
||||
}
|
||||
// 根据id获取用户档案录入的详细数据
|
||||
export const getByDeptDevLine = (params: any) => {
|
||||
return createAxios({
|
||||
url: '/device-boot/line/getByDeptDevLine',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
@@ -47,6 +47,16 @@ export const downloadSensitiveUserTemplate = () => {
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 下载敏感及重要用户模板
|
||||
*/
|
||||
export const downloadDevTemplate = () => {
|
||||
return createAxios({
|
||||
url: SUPERVISION_BOOT + '/deVReport/downloadDevTemplate',
|
||||
method: 'GET',
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 下载干扰源用户台账模板
|
||||
*/
|
||||
@@ -81,6 +91,17 @@ export const importSensitiveReportData = (data: any) => {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量导入终端台账入网
|
||||
*/
|
||||
export const deVReportImportSensitive = (data: any) => {
|
||||
return createAxios({
|
||||
url: SUPERVISION_BOOT + '/deVReport/importSensitiveUserData',
|
||||
method: 'POST',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user