微调
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"cSpell.words": [
|
||||
"Analyse",
|
||||
"CHNFACTOR",
|
||||
"CHNPACTOR",
|
||||
"Chns",
|
||||
|
||||
@@ -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}`)
|
||||
}
|
||||
|
||||
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user