联调app
This commit is contained in:
@@ -212,10 +212,30 @@ export const lineTree = (params) => {
|
||||
url: '/cs-device-boot/csLedger/lineTree',
|
||||
method: 'POST',
|
||||
data: {
|
||||
type:'engineering'
|
||||
type: 'engineering',
|
||||
},
|
||||
// header: {
|
||||
// 'Content-Type': 'application/json',
|
||||
// },
|
||||
})
|
||||
}
|
||||
// 查询工程
|
||||
export const queryEngineeringPage = (params) => {
|
||||
return request({
|
||||
url: '/cs-device-boot/engineering/queryEngineeringPage',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
header: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
}
|
||||
// 通过ndid查询出厂设备
|
||||
export const queryEquipmentByndid = (params) => {
|
||||
return request({
|
||||
url: '/cs-device-boot/EquipmentDelivery/queryEquipmentByndid',
|
||||
method: 'POST',
|
||||
data: params,
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ export function getModuleState(params) {
|
||||
}
|
||||
export function getBaseRealData(id) {
|
||||
return request({
|
||||
url: 'cs-harmonic-boot/realData/getBaseRealData?lineId='+id,
|
||||
url: '/cs-harmonic-boot/realData/getBaseRealData?lineId='+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
40
common/api/report.js
Normal file
40
common/api/report.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import request from '../js/request'
|
||||
|
||||
// 下载稳态报告
|
||||
export function downloadHarmonicReport(data) {
|
||||
return request({
|
||||
url: '/cs-report-boot/csAppReport/downloadHarmonicReport',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
}
|
||||
// 申请暂态报告
|
||||
export function applicationReport(data) {
|
||||
return request({
|
||||
url: '/cs-report-boot/csAppReport/applicationReport',
|
||||
method: 'post',
|
||||
data,
|
||||
header: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
})
|
||||
}
|
||||
// 生成暂态报告
|
||||
export function createEventReport(params) {
|
||||
return request({
|
||||
url: '/cs-report-boot/csAppReport/createEventReport',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
// 下载暂态报告
|
||||
export function downloadEventReport(params) {
|
||||
return request({
|
||||
url: '/cs-report-boot/csAppReport/downloadEventReport',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user