This commit is contained in:
sjl
2025-02-14 11:44:19 +08:00
parent f992637ad2
commit 1d918f3335
3 changed files with 9 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
{
"cSpell.words": [
"Analyse",
"CHNFACTOR",
"CHNPACTOR",
"Chns",

View File

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

View File

@@ -68,7 +68,7 @@ import ImportExcel from "@/components/ImportExcel/index.vue";
import {useDownload} from "@/hooks/useDownload";
import {getTestConfig } from '@/api/system/base/index'
import {type Base } from '@/api/system/base/interface'
import { getBoundPqDevList } from '@/api/plan/plan.ts'
import { getBoundPqDevList ,staticsAnalyse} from '@/api/plan/plan.ts'
// defineOptions({
// name: 'planList'
@@ -395,6 +395,8 @@ const showDeviceOpen = (row: Partial<Plan.ReqPlan> = {}) => {
const myDict = new Map<string, any[]>();
const statisticalAnalysis = async (row: Partial<Plan.ReqPlan> = {}) => {
await staticsAnalyse(row.id)
// const response = await getTestConfig() as unknown as Base.ResTestConfig
// const maxTime= response.data.maxTime//检测最大次数
// const dev = await getBoundPqDevList({ 'planId': row.id })