微调
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
|
"Analyse",
|
||||||
"CHNFACTOR",
|
"CHNFACTOR",
|
||||||
"CHNPACTOR",
|
"CHNPACTOR",
|
||||||
"Chns",
|
"Chns",
|
||||||
|
|||||||
@@ -85,3 +85,7 @@ export const generateDevReport = (params: Device.ReqDevReportParams) => {
|
|||||||
export const downloadDevData = (params: Device.ReqDevReportParams) => {
|
export const downloadDevData = (params: Device.ReqDevReportParams) => {
|
||||||
return http.download(`/report/downloadReport`, params)
|
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 {useDownload} from "@/hooks/useDownload";
|
||||||
import {getTestConfig } from '@/api/system/base/index'
|
import {getTestConfig } from '@/api/system/base/index'
|
||||||
import {type Base } from '@/api/system/base/interface'
|
import {type Base } from '@/api/system/base/interface'
|
||||||
import { getBoundPqDevList } from '@/api/plan/plan.ts'
|
import { getBoundPqDevList ,staticsAnalyse} from '@/api/plan/plan.ts'
|
||||||
|
|
||||||
// defineOptions({
|
// defineOptions({
|
||||||
// name: 'planList'
|
// name: 'planList'
|
||||||
@@ -395,6 +395,8 @@ 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> = {}) => {
|
||||||
|
await staticsAnalyse(row.id)
|
||||||
|
|
||||||
// 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//检测最大次数
|
||||||
// const dev = await getBoundPqDevList({ 'planId': row.id })
|
// const dev = await getBoundPqDevList({ 'planId': row.id })
|
||||||
|
|||||||
Reference in New Issue
Block a user