微调
This commit is contained in:
@@ -4,7 +4,7 @@ export namespace CheckData {
|
||||
errorSysName: string,
|
||||
dataRule: string,
|
||||
deviceName: string,
|
||||
monitorIdx: string,
|
||||
chnNum: string,
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -46,7 +46,7 @@ export namespace CheckData {
|
||||
export interface ScriptItem{
|
||||
scriptName: string,
|
||||
scriptType?: string,
|
||||
children?: ScriptItem1[]
|
||||
children?: ScriptItem[]
|
||||
}
|
||||
// 用来描述 通道检测结果
|
||||
export enum ChnCheckResultEnum {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import http from "@/api";
|
||||
import {CheckData} from "@/api/check/interface";
|
||||
|
||||
export const getBigTestItem = (planId: string) => {
|
||||
return http.get(`/adPlan/getBigTestItem?planId=${planId}`, {loading: false});
|
||||
@@ -28,7 +29,7 @@ export const getTreeData = (params: {
|
||||
scriptType: string | null,
|
||||
code: string
|
||||
}) => {
|
||||
return http.post("/result/treeData/", params, {loading: false});
|
||||
return http.post<CheckData.ScriptItem[]>("/result/treeData/", params, {loading: true});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user