地图添加marker事件判断
This commit is contained in:
parent
00fb3b4554
commit
92b5de682a
@ -43,6 +43,11 @@
|
|||||||
<el-tag v-if="row.status == '1'" type="success" size="small">通过</el-tag>
|
<el-tag v-if="row.status == '1'" type="success" size="small">通过</el-tag>
|
||||||
<el-tag v-if="row.status == '2'" type="danger" size="small">拒绝</el-tag>
|
<el-tag v-if="row.status == '2'" type="danger" size="small">拒绝</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
<template #idCard="{ row }">
|
||||||
|
<span v-if="row.businessType == 2 || row.businessType == 3">{{ row.unifiedSocialCreditCode }}</span>
|
||||||
|
<span v-else>{{ row.idCard }}</span>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template #menu="scope">
|
<template #menu="scope">
|
||||||
<custom-table-operate :actions="state.options.actions" :data="scope" />
|
<custom-table-operate :actions="state.options.actions" :data="scope" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { reactive, ref } from 'vue';
|
import { reactive, ref } from 'vue';
|
||||||
import mapSplashed from '../home/components/mapSplashed.vue';
|
import mapSplashed from '../home/components/mapSplashed.vue';
|
||||||
const iframeUrl = ref('http://192.168.18.41:9000/v2/entities');
|
const iframeUrl = ref('http://192.168.1.214:9000/v2/entities');
|
||||||
const iframeStyle = ref({ width: '100%', height: ' calc(100vh - 120px)' });
|
const iframeStyle = ref({ width: '100%', height: ' calc(100vh - 120px)' });
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="map-center-warp">
|
<div class="map-center-warp">
|
||||||
<img :src="getAssetsFile('images/vsualized/gmmap.png')" class="map-img" />
|
<!-- <img :src="getAssetsFile('images/vsualized/gmmap.png')" class="map-img" /> -->
|
||||||
<div class="map-pos">
|
<div class="map-pos">
|
||||||
<custom-echart-maps :chart-data="chartsData.valData" height="100%" :option="chartsData.option" :geo="geoData" :name="mapName" />
|
<custom-echart-maps :chart-data="chartsData.valData" height="100%" :option="chartsData.option" :geo="geoData" :name="mapName" />
|
||||||
</div>
|
</div>
|
||||||
@ -60,24 +60,24 @@ const chartsData = reactive({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
// {
|
{
|
||||||
// name: '镇边界',
|
name: '镇边界',
|
||||||
// type: 'map',
|
type: 'map',
|
||||||
// mapType: mapName.value,
|
mapType: mapName.value,
|
||||||
// roam: true,
|
roam: true,
|
||||||
// zoom: 1.2,
|
zoom: 1.2,
|
||||||
// itemStyle: {
|
itemStyle: {
|
||||||
// normal: {
|
normal: {
|
||||||
// borderColor: '#000', // 设置镇边界的颜色
|
borderColor: '#000', // 设置镇边界的颜色
|
||||||
// borderWidth: 1, // 设置镇边界的宽度
|
borderWidth: 1, // 设置镇边界的宽度
|
||||||
// areaColor: 'transparent', // 设置背景透明,只显示边界
|
areaColor: 'transparent', // 设置背景透明,只显示边界
|
||||||
// },
|
},
|
||||||
// emphasis: {
|
emphasis: {
|
||||||
// borderColor: '#fff',
|
borderColor: '#fff',
|
||||||
// borderWidth: 2,
|
borderWidth: 2,
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// 闪烁散点图系列
|
// 闪烁散点图系列
|
||||||
{
|
{
|
||||||
name: '闪烁散点',
|
name: '闪烁散点',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user