| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-10-26 16:09:35 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-10-28 11:04:58 |
| | | * @FilePath: \bigScreen\src\views\layout\components\mainSearch.vue |
| | | * @LastEditTime: 2024-11-27 15:28:29 |
| | | * @FilePath: \bigScreen\src\pages\layout\components\mainSearch.vue |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2024 by shuishen, All Rights Reserved. |
| | | --> |
| | | <template> |
| | | <div class="page-search"> |
| | | <el-input size="medium" placeholder="请输入内容" :suffix-icon="Search" @input="onSearch()" v-model="searchVal" |
| | | <el-input placeholder="请输入内容" :suffix-icon="Search" @input="onSearch()" v-model="searchVal" |
| | | @focus="onFocus"></el-input> |
| | | <div class="page-search-value-box" v-show="isShowSearchSKValBox"> |
| | | <ul> |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { Search } from '@element-plus/icons-vue' |
| | | |
| | | import { fuzzyQuery } from '../../../api/firmInfo/firmInfo' |
| | | |
| | | // 搜索栏相关 |
| | |
| | | } |
| | | let addTileLayers = {} |
| | | const handleCheckChange = (item) => { |
| | | console.log(item) |
| | | // 先清空,在添加 |
| | | clearPoint() |
| | | if (!addTileLayers[item.name]) { |
| | |
| | | window.$viewer.flyToPosition(new DC.Position(item.lng, item.lat, 2000, 0, -90, 0)) |
| | | |
| | | } else { |
| | | // console.log('已存在*******************************') |
| | | window.$viewer.removeLayer(addTileLayers[item.name]) |
| | | addTileLayers = {} |
| | | } |