zmc
2023-12-01 28cbf4f043cfc0a4621cc8683ba66bcbdd350eca
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
 
 
import {$http} from '@/api/index.js'
export default {
 
   /**
   *  根据设备编码查询该站点信息
   */
  querySiteInfoByMnCode(mnCode) {
    let params = {}
    params.mnCode = mnCode
    return $http.get('/dust/siteInfo/info',{params:params})
  },
 
 
  /**
   *  查询所有的运维商
   */
  queryDutyCompany() {
    return $http.get('/dust/siteInfo/dutyCompany')
  },
 
 
   /**
   *  根据地址查询街道
   */
  queryStreet(street) {
     return $http.get('/dust/siteInfo/street',{params:{street:street}})
  },
 
 
  /**
   * 获取不同的异常类型
   */
  queryScenarioTypeName(){
    return $http.get('/dust/scenario')
  },
 
  /**
   * 根据点位名字查询对应的设备编号
   * @param: 
   * @returns:
   */
  queryMnCode(siteName){
    return $http.get('/dust/siteInfo/mncode',{params:{siteName:siteName}})
  }
 
}