| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-31 10:47:29 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-12-03 13:29:41 |
| | | * @LastEditTime: 2024-12-03 13:44:43 |
| | | * @FilePath: \bigScreen\src\pages\map\components\scomponents\layersControl.vue |
| | | * @Description: |
| | | * |
| | |
| | | import { getList as getRiskList } from "@/api/riskSource/riskSource" |
| | | import { getPanoramaList } from "@/api/panorama/" |
| | | import yqfw from "@/assets/json/yqfw" |
| | | import gsgw from "@/assets/json/gsgw" |
| | | import rqgw from "@/assets/json/rqgw" |
| | | // import gsgw from "@/assets/json/gsgw" |
| | | // import rqgw from "@/assets/json/rqgw" |
| | | import wsgw from "@/assets/json/wsgw" |
| | | import ysgw from "@/assets/json/ysgw" |
| | | import { onUnmounted } from 'vue' |
| | |
| | | color: DC.Color.CYAN.withAlpha(0.9), |
| | | height: 60, |
| | | }, |
| | | { |
| | | id: '3-3-1', |
| | | label: '给水管网', |
| | | type: 'layer', |
| | | subType: 'geojsonPipe', |
| | | layerName: 'gsgw', |
| | | source: gsgw, |
| | | color: DC.Color.BLUE.withAlpha(0.9), |
| | | height: 60.4, |
| | | }, |
| | | { |
| | | id: '3-3-3', |
| | | label: '燃气管网', |
| | | type: 'layer', |
| | | subType: 'geojsonPipe', |
| | | layerName: 'rqgw', |
| | | source: rqgw, |
| | | color: DC.Color.RED.withAlpha(0.9), |
| | | height: 60.6, |
| | | }, |
| | | // { |
| | | // id: '3-3-1', |
| | | // label: '给水管网', |
| | | // type: 'layer', |
| | | // subType: 'geojsonPipe', |
| | | // layerName: 'gsgw', |
| | | // source: gsgw, |
| | | // color: DC.Color.BLUE.withAlpha(0.9), |
| | | // height: 60.4, |
| | | // }, |
| | | // { |
| | | // id: '3-3-3', |
| | | // label: '燃气管网', |
| | | // type: 'layer', |
| | | // subType: 'geojsonPipe', |
| | | // layerName: 'rqgw', |
| | | // source: rqgw, |
| | | // color: DC.Color.RED.withAlpha(0.9), |
| | | // height: 60.6, |
| | | // }, |
| | | ] |
| | | }, |
| | | |
| | |
| | | EventBus.emit('restHandleDelChange', `3-1`) |
| | | EventBus.emit('restHandleDelChange', `3-2`) |
| | | EventBus.emit('restHandleDelChange', `3-3`) |
| | | EventBus.emit('restHandleDelChange', `3-3-1`) |
| | | // EventBus.emit('restHandleDelChange', `3-3-1`) |
| | | EventBus.emit('restHandleDelChange', `3-3-2`) |
| | | EventBus.emit('restHandleDelChange', `3-3-3`) |
| | | // EventBus.emit('restHandleDelChange', `3-3-3`) |
| | | EventBus.emit('restHandleDelChange', `3-3-4`) |
| | | EventBus.emit('restHandleDelChange', `3-4`) |
| | | EventBus.emit('restHandleDelChange', `3-5`) |