Compare commits

...

2 Commits

4 changed files with 7 additions and 6 deletions

View File

@ -60,7 +60,7 @@ export function MapFun(mapObj) {
/** /**
* 定义地物编辑服务 * 定义地物编辑服务
*/ */
const featureService = L.supermap && L.supermap.featureService && L.supermap.featureService( const featureService = L.supermap.featureService(
_mapConfig.config.EDITORDATA_URL _mapConfig.config.EDITORDATA_URL
) )

View File

@ -123,8 +123,7 @@ export function HieimpMap() {
// debugger; // debugger;
// //
L.supermap && L.supermap L.supermap
.layerInfoService && L.supermap
.layerInfoService(_mapConfig.config.QUERY_URL) .layerInfoService(_mapConfig.config.QUERY_URL)
.getLayersInfo(function (result) { .getLayersInfo(function (result) {
// doSomething // doSomething

View File

@ -41,6 +41,8 @@
<script setup> <script setup>
import DetalsTitle from '@/views/detailsAll/components/DetalsTitle' import DetalsTitle from '@/views/detailsAll/components/DetalsTitle'
import { ref, defineProps, watch } from 'vue' import { ref, defineProps, watch } from 'vue'
const itShowXiHaiAn = whoShow.itShowXiHaiAn
console.log('2222', itShowXiHaiAn)
let dataFrom = ref({ let dataFrom = ref({
title: '部署与安全', title: '部署与安全',
@ -62,7 +64,7 @@
dataList: { type: Object, default: null }, dataList: { type: Object, default: null },
}) })
if (props.dataList.infoList) { if (props.dataList.infoList) {
if (!whoShow1.value.itShowQingDao) { if (!whoShow1.value.itShowQingDao && !whoShow1.value.itShowXiHaiAn) {
let obj = { let obj = {
attrType: '访问地址', attrType: '访问地址',
attrValue: props.dataList.link || '------', attrValue: props.dataList.link || '------',
@ -119,7 +121,7 @@
if (val) { if (val) {
dataFrom.value.content[0].childrenContent = [] dataFrom.value.content[0].childrenContent = []
dataFrom.value.content[1].childrenContent = [] dataFrom.value.content[1].childrenContent = []
if (!whoShow1.value.itShowQingDao) { if (!whoShow1.value.itShowQingDao && !itShowXiHaiAn) {
let obj = { let obj = {
attrType: '访问地址', attrType: '访问地址',
attrValue: props.dataList.link || '------', attrValue: props.dataList.link || '------',

View File

@ -252,7 +252,7 @@
// //
initAddressMatchService() { initAddressMatchService() {
this.L = window.L || {} this.L = window.L || {}
this.addressMatchService = L.supermap && L.supermap.addressMatchService && L.supermap.addressMatchService( this.addressMatchService = L.supermap.addressMatchService(
this.addressMatchUrl this.addressMatchUrl
) )
}, },