地图添加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 == '2'" type="danger" size="small">拒绝</el-tag>
|
||||
</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">
|
||||
<custom-table-operate :actions="state.options.actions" :data="scope" />
|
||||
</template>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<script setup>
|
||||
import { reactive, ref } from '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)' });
|
||||
</script>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<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">
|
||||
<custom-echart-maps :chart-data="chartsData.valData" height="100%" :option="chartsData.option" :geo="geoData" :name="mapName" />
|
||||
</div>
|
||||
@ -60,24 +60,24 @@ const chartsData = reactive({
|
||||
},
|
||||
},
|
||||
series: [
|
||||
// {
|
||||
// name: '镇边界',
|
||||
// type: 'map',
|
||||
// mapType: mapName.value,
|
||||
// roam: true,
|
||||
// zoom: 1.2,
|
||||
// itemStyle: {
|
||||
// normal: {
|
||||
// borderColor: '#000', // 设置镇边界的颜色
|
||||
// borderWidth: 1, // 设置镇边界的宽度
|
||||
// areaColor: 'transparent', // 设置背景透明,只显示边界
|
||||
// },
|
||||
// emphasis: {
|
||||
// borderColor: '#fff',
|
||||
// borderWidth: 2,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
{
|
||||
name: '镇边界',
|
||||
type: 'map',
|
||||
mapType: mapName.value,
|
||||
roam: true,
|
||||
zoom: 1.2,
|
||||
itemStyle: {
|
||||
normal: {
|
||||
borderColor: '#000', // 设置镇边界的颜色
|
||||
borderWidth: 1, // 设置镇边界的宽度
|
||||
areaColor: 'transparent', // 设置背景透明,只显示边界
|
||||
},
|
||||
emphasis: {
|
||||
borderColor: '#fff',
|
||||
borderWidth: 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
// 闪烁散点图系列
|
||||
{
|
||||
name: '闪烁散点',
|
||||
|
Loading…
x
Reference in New Issue
Block a user