1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 正态分布图接口
import request from '@/utils/request'
 
// 正态分布分析
export function normalDistributionAnalyze(data) {
  return request({
    url: '/chart/normalDistribution/analyze',
    method: 'post',
    data: data
  })
}
 
// 导出分析数据
export function exportNormalDistribution(query) {
  return request({
    url: '/chart/normalDistribution/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
 
// 获取检测项目列表
export function getProjectList(query) {
  return request({
    url: '/chart/normalDistribution/projectList',
    method: 'get',
    params: query
  })
}
 
// 获取检测参数列表
export function getParamList(projectId) {
  return request({
    url: '/chart/normalDistribution/paramList',
    method: 'get',
    params: { projectId }
  })
}