数据分析

This commit is contained in:
caozehui
2025-02-14 13:30:50 +08:00
parent 1d918f3335
commit 95022f62a8
2 changed files with 4 additions and 3 deletions

View File

@@ -86,6 +86,7 @@ export const downloadDevData = (params: Device.ReqDevReportParams) => {
return http.download(`/report/downloadReport`, params)
}
export const staticsAnalyse = (planId: string) => {
return http.download(`/adPlan/analyse?planId=${planId}`)
export const staticsAnalyse = (params: { planId: string }) => {
return http.download(`/adPlan/analyse?planId=${params.planId}`)
}

View File

@@ -395,7 +395,7 @@ const showDeviceOpen = (row: Partial<Plan.ReqPlan> = {}) => {
const myDict = new Map<string, any[]>();
const statisticalAnalysis = async (row: Partial<Plan.ReqPlan> = {}) => {
await staticsAnalyse(row.id)
useDownload(staticsAnalyse,row.name+'分析结果', {planId:row.id}, false,'.xlsx')
// const response = await getTestConfig() as unknown as Base.ResTestConfig
// const maxTime= response.data.maxTime//检测最大次数