提交
This commit is contained in:
26
src/api/BusinessAdministrator/AlarmInformation.js
Normal file
26
src/api/BusinessAdministrator/AlarmInformation.js
Normal file
@@ -0,0 +1,26 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
//告警信息
|
||||
export function alarmList(data) {
|
||||
return request({
|
||||
url: "/device-boot/alarm/alarmList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//告警详细信息
|
||||
export function alarmDetail(data) {
|
||||
return request({
|
||||
url: "/device-boot/alarm/alarmDetail",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//未处理
|
||||
export function updateAlarmInfo(data) {
|
||||
return request({
|
||||
url: "/device-boot/alarm/updateAlarmInfo?type=" + data.type + "&&devLineId=" + data.devLineId,
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
10
src/api/BusinessAdministrator/OperationStatistics.js
Normal file
10
src/api/BusinessAdministrator/OperationStatistics.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
//监测点统计
|
||||
export function getNewDeviceRunStatistics(data) {
|
||||
return request({
|
||||
url: "/device-boot/operation/getNewDeviceRunStatistics",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
//查询所有模板
|
||||
export function getList(data) {
|
||||
return request({
|
||||
url: "/system-boot/EventTemplate/getList",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//字典树
|
||||
export function getDictTree(data) {
|
||||
return request({
|
||||
url: "/system-boot/reportDict/DictTree",
|
||||
method: "post",
|
||||
params:data
|
||||
});
|
||||
}
|
||||
//新增模板
|
||||
export function add(data) {
|
||||
return request({
|
||||
url: "/system-boot/EventTemplate/add",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//修改模板
|
||||
export function update(data) {
|
||||
return request({
|
||||
url: "/system-boot/EventTemplate/update",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//删除模板
|
||||
export function deleteData(data) {
|
||||
return request({
|
||||
url: "/system-boot/EventTemplate/delete",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
//获取字典树数据
|
||||
export function getDictTree(data) {
|
||||
return request({
|
||||
url: "/system-boot/reportDict/DictTree",
|
||||
method: "post",
|
||||
params:data
|
||||
});
|
||||
}
|
||||
|
||||
//查询字典列表
|
||||
export function getReportDictList(data) {
|
||||
return request({
|
||||
url: "/system-boot/reportDict/getReportDictList",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
//新增字典表
|
||||
export function addDict(data) {
|
||||
return request({
|
||||
url: "/system-boot/reportDict/addDict",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
//更新字典表
|
||||
export function updateDict(data) {
|
||||
return request({
|
||||
url: "/system-boot/reportDict/updateDict",
|
||||
method: "put",
|
||||
data
|
||||
});
|
||||
}
|
||||
//删除字典表
|
||||
export function deleteDict(data) {
|
||||
return request({
|
||||
url: "/system-boot/reportDict/deleteDict",
|
||||
method: "delete",
|
||||
params:data
|
||||
});
|
||||
}
|
||||
10
src/api/BusinessAdministrator/Statistics.js
Normal file
10
src/api/BusinessAdministrator/Statistics.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
//监测点统计
|
||||
export function getLineStatisticsDetail(data) {
|
||||
return request({
|
||||
url: "/device-boot/operation/getLineStatisticsDetail",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
44
src/api/BusinessAdministrator/TerminalMaintenance.js
Normal file
44
src/api/BusinessAdministrator/TerminalMaintenance.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
//程序版本查询
|
||||
export function getProgramVersion(data) {
|
||||
return request({
|
||||
url: "/device-boot/programVersion/getProgramVersion",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
||||
//新增程序版本
|
||||
export function addProgramVersion(data) {
|
||||
return request({
|
||||
url: "/device-boot/programVersion/addProgramVersion",
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//修改程序版本
|
||||
export function updateProgramVersion(data) {
|
||||
return request({
|
||||
url: "/device-boot/programVersion/updateProgramVersion",
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
//删除程序版本
|
||||
export function delProgramVersion(data) {
|
||||
return request({
|
||||
url: "/device-boot/programVersion/delProgramVersion",
|
||||
method: "post",
|
||||
params:data
|
||||
});
|
||||
}
|
||||
//修改程序版本状态
|
||||
export function updateVersionFlag(data) {
|
||||
return request({
|
||||
url: "/device-boot/programVersion/updateVersionFlag",
|
||||
method: "post",
|
||||
params:data
|
||||
});
|
||||
}
|
||||
10
src/api/BusinessAdministrator/distribution.js
Normal file
10
src/api/BusinessAdministrator/distribution.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
|
||||
//监测点分布
|
||||
export function getLineDistribution(data) {
|
||||
return request({
|
||||
url: "/device-boot/operation/getLineDistribution",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
12
src/api/BusinessAdministrator/monthreport/monthreport.js
Normal file
12
src/api/BusinessAdministrator/monthreport/monthreport.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export default {
|
||||
//监测点半月报
|
||||
getHalfReport(data) {
|
||||
return request({
|
||||
url: '/device-boot/line/getHalfReport',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
},
|
||||
}
|
||||
38
src/api/BusinessAdministrator/powerweight/powerweight.js
Normal file
38
src/api/BusinessAdministrator/powerweight/powerweight.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export default {
|
||||
//查询监测点权重
|
||||
LineWeightList(data) {
|
||||
return request({
|
||||
url: '/device-boot/LineWeight/LineWeightList',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
},
|
||||
//监测点评分权重修改
|
||||
addLineWeight(data) {
|
||||
return request({
|
||||
url: '/device-boot/LineWeight/addLineWeight',
|
||||
method: 'post',
|
||||
data,
|
||||
})
|
||||
},
|
||||
//监测点评分权重模板导出
|
||||
export(data) {
|
||||
return request({
|
||||
url: '/device-boot/LineWeight/export',
|
||||
method: 'post',
|
||||
data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
},
|
||||
//批量导入监测点评分权重
|
||||
batchWeight(data) {
|
||||
return request({
|
||||
url: '/device-boot/LineWeight/batchWeight',
|
||||
method: 'post',
|
||||
data,
|
||||
headers: { 'Content-Type': 'multipart/form-data' },
|
||||
})
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user