he wei
2022-09-27 23786b9ef2dc1d9f06dd7d9458e926369aab8c25
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import axios from "@/assets/js/axios";
 
/**
 * 查询台站列表
 */
export const getStation = () => {
  return axios({
    method: "GET",
    url: "station/getStation"
  })
}
 
/**
 * 台站下添加文件
 */
export const addFileInStation = (params) => {
  return axios({
    method: "GET",
    url: "stationInfo/addFileInStation",
    params
  })
}
/**
 * 移除台站下文件(单个文件)
 * ?FilePath=1&stationName=1
 */
export const delFileFromStation = (params) => {
  return axios({
    method: "GET",
    url: "stationInfo/delFileFromStation",
    params
  })
}
/**
 * 添加台站
 */
export const addStation = (params) => {
  return axios({
    method: "GET",
    url: "stationInfo/addStation",
    params
  })
}
/**
 * 删除台站
 * ?stationName1=null&stationName2=null&stationName3=null 
 */
export const deleteStation = (params) => {
  return axios({
    method: "GET",
    url: "stationInfo/deleteStation",
    params
  })
}
/**
 * 编辑台站
 */
export const updateStation = (params) => {
  return axios({
    method: "GET",
    url: "stationInfo/updateStation",
    params
  })
}
/**
 * 解析xml文件
 * filePath
 */
export const getXmlValue = (params) => {
  return axios({
    method: "GET",
    url: "fileInfo/getXmlValue",
    params
  })
}