declare namespace App.Health { } declare namespace App.Health.Index { interface Model { id: string; name: string; /** 单位 */ unit: string; precision: number; /** 值 */ values?: { value: number; abnormal: boolean; description?: string; date?: string }[]; /** 值范围 */ readonly range: [min: number, max: number], /** 标准范围 */ readonly scope: [min: number, max: number], readonly defaultValue?: number; } interface Data { quotaId: string; name: string; unit: string; minVal: number; maxVal: number; inputMin?: number; inputMax?: number; inputPrecision?: number; isAuto?: 'Y' | 'N'; patientQuotaRecordDTOS?: { quotaVal: string; abnormal: boolean; abnormalDesc?: string, time2?: string; }[] } interface Ruler { id: string; name: string; unit: string; min: number; max: number; precision: number; markLine: [ { value: number, style: Record }, { value: number, style: Record }, ], value?: number; } interface Chart { yAxis: AnyObject; series: AnyObject; visualMap: AnyObject; } }