联调 干扰源用户 谐波普测页面

This commit is contained in:
GGJ
2024-03-25 20:29:33 +08:00
parent 7e538fed6b
commit cc1edc0e96
15 changed files with 1247 additions and 534 deletions

View File

@@ -1,7 +1,7 @@
import createAxios from '@/utils/request'
//查询普测计划-新建页面
export function queryPlan(data:any) {
export function queryPlan(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/queryPlan',
method: 'post',
@@ -9,7 +9,7 @@ export function queryPlan(data:any) {
})
}
//导出普测计划信息
export function exportSurveyPlan(data:any) {
export function exportSurveyPlan(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/exportSurveyPlan',
method: 'post',
@@ -18,7 +18,7 @@ export function exportSurveyPlan(data:any) {
})
}
//新增
export function getGeneratrixByCondition(data:any) {
export function getGeneratrixByCondition(data: any) {
return createAxios({
url: '/device-boot/pms/generatrixWire/getGeneratrixByCondition',
method: 'post',
@@ -26,7 +26,7 @@ export function getGeneratrixByCondition(data:any) {
})
}
// 获取变电站名称
export function getstatationStatList(data:any) {
export function getstatationStatList(data: any) {
return createAxios({
url: '/device-boot/pms/statationStat/getstatationStatList',
method: 'post',
@@ -34,7 +34,7 @@ export function getstatationStatList(data:any) {
})
}
// 新增-修改普测计划
export function addPlan(data:any) {
export function addPlan(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/addPlan',
method: 'post',
@@ -43,7 +43,7 @@ export function addPlan(data:any) {
}
//查询普测计划-审核页面
export function queryPlanAudit(data:any) {
export function queryPlanAudit(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/queryPlanAudit',
method: 'post',
@@ -51,7 +51,7 @@ export function queryPlanAudit(data:any) {
})
}
//查询普测计划-结果页面
export function queryPlanResult(data:any) {
export function queryPlanResult(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/queryPlanResult',
method: 'post',
@@ -59,20 +59,21 @@ export function queryPlanResult(data:any) {
})
}
//下载普测结果报告
export function surveyResultDownload(data:any) {
export function surveyResultDownload(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/surveyResultDownload?planNo=' + data.planNo,
method: 'post'
url: '/process-boot/rGeneralSurveyPlan/surveyResultDownload',
method: 'post',
params: data
// responseType: 'blob',
})
}
//下载
export function downLoadData(data:any) {
export function downLoadData(data: any) {
return createAxios({
url: data
})
}
export function MultipartFile(data:any) {
export function MultipartFile(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/surveyResultUpload',
method: 'post',
@@ -80,7 +81,7 @@ export function MultipartFile(data:any) {
data
})
}
export function initDetpStataionTree(data:any) {
export function initDetpStataionTree(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/initDetpStataionTree',
method: 'post',
@@ -88,23 +89,22 @@ export function initDetpStataionTree(data:any) {
})
}
// 普测计划-审核
export function checkPlanAudit(data:any) {
export function checkPlanAudit(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/checkPlanAudit',
method: 'post',
data
})
}
// 普测计划-审核
export function queryPlanConfig(data:any) {
// 占比查询
export function queryPlanConfig() {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/queryPlanConfig',
method: 'post',
data
method: 'post'
})
}
// 增加普测计划参数
export function addPlanConfig(data:any) {
export function addPlanConfig(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/addPlanConfig',
method: 'post',
@@ -112,7 +112,7 @@ export function addPlanConfig(data:any) {
})
}
// 电站勾选接口
export function querySubStatation(data:any) {
export function querySubStatation(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/querySubStatation',
method: 'post',
@@ -120,7 +120,7 @@ export function querySubStatation(data:any) {
})
}
// 设置普测周期
export function addPlanCycle(data:any) {
export function addPlanCycle(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/addPlanCycle',
method: 'post',
@@ -128,7 +128,7 @@ export function addPlanCycle(data:any) {
})
}
// 批量提交审核
export function planStatus(data:any) {
export function planStatus(data: any) {
return createAxios({
url: '/process-boot/rGeneralSurveyPlan/planStatus',
method: 'post',