调整统计分析功能
This commit is contained in:
@@ -86,7 +86,7 @@ export const downloadDevData = (params: Device.ReqDevReportParams) => {
|
|||||||
return http.download(`/report/downloadReport`, params)
|
return http.download(`/report/downloadReport`, params)
|
||||||
}
|
}
|
||||||
|
|
||||||
export const staticsAnalyse = (params: { planId: string }) => {
|
export const staticsAnalyse = (params: { id: string[] }) => {
|
||||||
return http.download(`/adPlan/analyse?planId=${params.planId}`)
|
return http.download('/adPlan/analyse', params)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ const showDeviceOpen = (row: Partial<Plan.ReqPlan> = {}) => {
|
|||||||
const myDict = new Map<string, any[]>();
|
const myDict = new Map<string, any[]>();
|
||||||
|
|
||||||
const statisticalAnalysis = async (row: Partial<Plan.ReqPlan> = {}) => {
|
const statisticalAnalysis = async (row: Partial<Plan.ReqPlan> = {}) => {
|
||||||
useDownload(staticsAnalyse,row.name+'分析结果', {planId:row.id}, false,'.xlsx')
|
useDownload(staticsAnalyse,'分析结果', [row.id], false,'.xlsx')
|
||||||
|
|
||||||
// const response = await getTestConfig() as unknown as Base.ResTestConfig
|
// const response = await getTestConfig() as unknown as Base.ResTestConfig
|
||||||
// const maxTime= response.data.maxTime//检测最大次数
|
// const maxTime= response.data.maxTime//检测最大次数
|
||||||
|
|||||||
Reference in New Issue
Block a user