12 files renamed
3 files modified
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2023-04-04 16:24:42 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-07-10 19:11:58 |
| | | * @LastEditTime: 2023-07-13 15:24:08 |
| | | * @FilePath: \srs-police-affairs\src\components\warningSelect\index.vue |
| | | * @Description: |
| | | * |
| | |
| | | |
| | | <script> |
| | | import { getWarningsAll } from "@/api/icons/index" |
| | | |
| | | |
| | | let warningImgData = [ |
| | | { |
| | | title: '核心区1', |
| | | url: 'hxq-one' |
| | | }, |
| | | { |
| | | title: '核心区2', |
| | | url: 'hxq-two' |
| | | }, |
| | | { |
| | | title: '核心区3', |
| | | url: 'hxq-three' |
| | | }, |
| | | { |
| | | title: '防范区1', |
| | | url: 'ffq-one' |
| | | }, |
| | | { |
| | | title: '防范区2', |
| | | url: 'ffq-two' |
| | | }, |
| | | { |
| | | title: '防范区3', |
| | | url: 'ffq-three' |
| | | }, |
| | | { |
| | | title: '缓冲区1', |
| | | url: 'hcq-one' |
| | | }, |
| | | { |
| | | title: '缓冲区2', |
| | | url: 'hcq-two' |
| | | }, |
| | | { |
| | | title: '缓冲区3', |
| | | url: 'hcq-three' |
| | | }, |
| | | { |
| | | title: '警戒线1', |
| | | url: 'jjx-one' |
| | | }, |
| | | { |
| | | title: '警戒线2', |
| | | url: 'jjx-two' |
| | | }, |
| | | { |
| | | title: '警戒线3', |
| | | url: 'jjx-three' |
| | | }, |
| | | ] |
| | | |
| | | export default { |
| | | name: 'WarningSelect', |
| | | |
| | |
| | | |
| | | let title = imgArr[imgArr.length - 1].split('.')[0] |
| | | |
| | | let cur = warningImgData.find(i => i.url == title) |
| | | |
| | | this.imageUrls.push({ |
| | | url: item, |
| | | title |
| | | title: cur.title |
| | | }) |
| | | }) |
| | | this.loading = false |
| | |
| | | let color = global.DC.Namespace.Cesium.Color.fromBytes(r, g, b, a) |
| | | let position = item.position.slice(12, item.position.length - 2).replace(/,/g, ';').replace(/ /g, ',') |
| | | |
| | | let positions = position.split(';').map((item, index) => `${item},140`) |
| | | let positions = position.split(';').map((item, index) => `${item},20`) |
| | | positions.push(positions[0]) |
| | | positions = positions.join(';') |
| | | if (item.type == 5 && (item.areaType == 2 || item.areaType == 3)) { |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-07-13 14:58:44 |
| | | * @LastEditTime: 2023-07-13 15:44:37 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |