技术监督 页面联调
This commit is contained in:
@@ -15,6 +15,7 @@ export function addUse(data) {
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
|
||||
}
|
||||
//承载能力评估用户编辑
|
||||
export function updateUse(data) {
|
||||
|
||||
177
src/api/process-boot/electricitymanagement.ts
Normal file
177
src/api/process-boot/electricitymanagement.ts
Normal file
@@ -0,0 +1,177 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
//获取电能质量问题查询维护数据
|
||||
export function getIssues(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/getIssues',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//填报普测超标问题 新增
|
||||
export function addGeneralSurveyIssues(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/addGeneralSurveyIssues',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//填报运维监控异常问题 新增
|
||||
export function addAbnormalIssues(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/addAbnormalIssues',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//填报用户投诉问题 新增
|
||||
export function addComplaintIssues(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/addComplaintIssues',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//填报在线监测超标问题 新增
|
||||
export function addExcessiveIssues(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/addExcessiveIssues',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//填报计划整改措施
|
||||
export function correctiveAction(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/correctiveAction',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//填报实际采取措施
|
||||
export function takeAction(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/takeAction',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//填报实际采取措施
|
||||
export function effectAnalysis(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/effectAnalysis',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//原因分析
|
||||
export function reasonAnalysis(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/reasonAnalysis',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//查询在线监测超标问题详情
|
||||
export function getExcessiveDetail(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/getExcessiveDetail?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
//查询普测超标问题详情
|
||||
export function getGeneralSurveyDetail(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/getGeneralSurveyDetail?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
//查询用户投诉问题详情
|
||||
export function getComplaintDetail(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/getComplaintDetail?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
//查询运维异常问题详情
|
||||
export function getAbnormalDetail(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/getAbnormalDetail?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
//删除问题
|
||||
export function deleteIssues(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/deleteIssues?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
//问题归档
|
||||
export function queryCheckTrack(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/queryCheckTrack?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
//问题归档
|
||||
export function archive(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/archive?powerQualityProblemNo=' + data,
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
||||
// device-boot
|
||||
//告警明细查看(主配网)
|
||||
export function getAllAlarmDetailList(data) {
|
||||
return createAxios({
|
||||
url: '/device-boot/rMpPwAlarmDetail/getAllAlarmDetailList',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//获取用电用户列表
|
||||
export function getPowerUtilizationUserList(data) {
|
||||
return createAxios({
|
||||
url: '/device-boot/pms/powerClient/getPowerUtilizationUserList',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
//获取用发电户列表
|
||||
export function getGenerateElectricityUserList(data) {
|
||||
return createAxios({
|
||||
url: '/device-boot/pms/powerGenerationUser/getGenerateElectricityUserList',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// pqs-procees
|
||||
//普测计划名称查询
|
||||
export function querySurveyPlanOnQuestion(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/rGeneralSurveyPlan/querySurveyPlanOnQuestion',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
export function querySurveyPlanName(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/rGeneralSurveyPlan/querySurveyPlanName',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 电能质量问题审核
|
||||
export function checkPowerQuality(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/electricityQuality/checkPowerQuality',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
100
src/api/process-boot/terminal.ts
Normal file
100
src/api/process-boot/terminal.ts
Normal file
@@ -0,0 +1,100 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
//新增-修改普测计划
|
||||
export function getTerminalPage(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/getTerminalPage',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//导出终端入网检测录入模板
|
||||
export function DownloadExport() {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/export',
|
||||
method: 'GET',
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
//终端检测监督删除
|
||||
export function delTerminal(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/delTerminal',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//终端检测监督单条新增
|
||||
export function insertTerminal(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/insertTerminal',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//终端检测监督修改
|
||||
export function updateTerminal(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/updateTerminal',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//检测报告下载
|
||||
export function reportDownload(params) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/reportDownload',
|
||||
method: 'get',
|
||||
params,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
//终端入网检测台账统计
|
||||
export function getStatistics(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/getStatistics',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
//终端入网检测台账统计
|
||||
export function getCycleStatistics(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/getCycleStatistics',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//批量导入检测报告
|
||||
export function importReport(data) {
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/importReport',
|
||||
method: 'post',
|
||||
data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
//批量导入终端入网检测录入
|
||||
export function batchTerminal(file) {
|
||||
let form = new FormData()
|
||||
form.append('file', file)
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/batchTerminal',
|
||||
method: 'post',
|
||||
data: form
|
||||
})
|
||||
}
|
||||
// 上传文件
|
||||
export function upload(file) {
|
||||
let form = new FormData()
|
||||
form.append('file', file)
|
||||
return createAxios({
|
||||
url: '/process-boot/process/pmsTerminalDetection/upload',
|
||||
method: 'POST',
|
||||
data: form
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user