riku
2024-05-15 80079d9802dd2445820b112fe818d61e1cc21c6f
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
import scene_1 from '@/assets/mipmap/scene_1.png';
import scene_4 from '@/assets/mipmap/scene_4.png';
import scene_5 from '@/assets/mipmap/scene_5.png';
import scene_6 from '@/assets/mipmap/scene_6.png';
import scene_15 from '@/assets/mipmap/scene_15.png';
import scene_16 from '@/assets/mipmap/scene_16.png';
import scene_17 from '@/assets/mipmap/scene_17.png';
import scene_18 from '@/assets/mipmap/scene_18.png';
import scene_19 from '@/assets/mipmap/scene_19.png';
import scene_20 from '@/assets/mipmap/scene_20.png';
 
function sceneTypes() {
  return [
    {
      label: '工地',
      value: '1'
    },
    // {
    //   label: '码头',
    //   value: '2',
    // },
    // {
    //   label: '搅拌站',
    //   value: '3',
    // },
    {
      label: '工业企业',
      value: '4'
    },
    {
      label: '餐饮',
      value: '5'
    },
    {
      label: '汽修',
      value: '6'
    },
    // {
    //   label: '降尘点',
    //   value: '7',
    // },
    // {
    //   label: '空气质量监测点',
    //   value: '8',
    // },
    // {
    //   label: '道路扬尘监测点',
    //   value: '9',
    // },
    // {
    //   label: '道路',
    //   value: '10',
    // },
    // {
    //   label: '河流断面',
    //   value: '11',
    // },
    // {
    //   label: '工业园区',
    //   value: '12',
    // },
    // {
    //   label: '无固定场景',
    //   value: '13',
    // },
    // {
    //   label: '堆场',
    //   value: '14',
    // },
    {
      label: '实验室',
      value: '15'
    },
    {
      label: '精品小区',
      value: '16'
    },
    {
      label: '加油站',
      value: '17'
    },
    {
      label: '商业体',
      value: '18'
    },
    {
      label: '国控点',
      value: '19'
    },
    {
      label: '市控点',
      value: '20'
    }
  ];
}
 
function sceneIcon(type) {
  switch (type) {
    case '1':
      return scene_1;
    case '4':
      return scene_4;
    case '5':
      return scene_5;
    case '6':
      return scene_6;
    case '15':
      return scene_15;
    case '16':
      return scene_16;
    case '17':
      return scene_17;
    case '18':
      return scene_18;
    case '19':
      return scene_19;
    case '20':
      return scene_20;
    default:
      return scene_1;
  }
}
 
export { sceneTypes, sceneIcon };