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 };