完成 区域报告 事件报告 迁移
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
//波形高级分析
|
||||
export function analysis(data) {
|
||||
return createAxios({
|
||||
url: '/advance-boot/waveAnalysis/analysis',
|
||||
method: 'post',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 分析记录管理
|
||||
export function queryRelevantLogPage(data: any) {
|
||||
export function queryRelevantLogPage(data) {
|
||||
return createAxios({
|
||||
url: '/advance-boot/process/queryRelevantLogPage',
|
||||
method: 'post',
|
||||
@@ -9,34 +17,34 @@ export function queryRelevantLogPage(data: any) {
|
||||
})
|
||||
}
|
||||
// 删除策略
|
||||
export function delRelevantLog(data: any) {
|
||||
export function delRelevantLog(data) {
|
||||
return createAxios({
|
||||
url: '/advance-boot/process/delRelevantLog',
|
||||
method: 'get',
|
||||
params:data,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 影响范围分析 查询
|
||||
export function queryEventsAssPage(data: any) {
|
||||
export function queryEventsAssPage(data) {
|
||||
return createAxios({
|
||||
url: '/advance-boot/process/queryEventsAssPage',
|
||||
method: 'post',
|
||||
data,
|
||||
data
|
||||
})
|
||||
}
|
||||
// 启动关联分析
|
||||
export function processEvents(data: any) {
|
||||
export function processEvents(data) {
|
||||
return createAxios({
|
||||
url: '/advance-boot/process/processEvents',
|
||||
method: 'get',
|
||||
params:data,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
// 暂降源定位
|
||||
export function queryEventDetailByAssId(data: any) {
|
||||
export function queryEventDetailByAssId(data) {
|
||||
return createAxios({
|
||||
url: '/advance-boot/process/queryEventDetailByAssId',
|
||||
method: 'get',
|
||||
params:data,
|
||||
params: data
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
34
src/api/event-boot/report.ts
Normal file
34
src/api/event-boot/report.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
//事件报告
|
||||
export function getEventReport(data) {
|
||||
return createAxios({
|
||||
url: '/event-boot/report/getEventReport',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 生成报告
|
||||
export function getAreaReport(data) {
|
||||
return createAxios({
|
||||
url: "/event-boot/report/getAreaReport",
|
||||
method: "post",
|
||||
data,
|
||||
responseType: "blob",
|
||||
});
|
||||
}
|
||||
//查询所有模板
|
||||
export function getList(data) {
|
||||
return createAxios({
|
||||
url: "/system-boot/EventTemplate/getList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
export function selectReleation(data) {
|
||||
return createAxios({
|
||||
url: "/system-boot/EventTemplate/selectReleation",
|
||||
method: "post",
|
||||
params:data
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user