|
@@ -289,18 +289,28 @@ function initPoints() {
|
|
|
}
|
|
|
mapStore.setOption(option)
|
|
|
}
|
|
|
+
|
|
|
+const showTool = ref(false)
|
|
|
+
|
|
|
+function showTools() {
|
|
|
+ showTool.value = true
|
|
|
+}
|
|
|
+function closeTool() {
|
|
|
+ showTool.value = false
|
|
|
+}
|
|
|
+
|
|
|
const homeSrc = ref(new URL('@/assets/images/home.png', import.meta.url).href)
|
|
|
const weatherSrc = ref(new URL('@/assets/images/weather.png', import.meta.url).href)
|
|
|
const flagSrc = ref(new URL('@/assets/images/flag.png', import.meta.url).href)
|
|
|
const walkSrc = ref(new URL('@/assets/images/walk.png', import.meta.url).href)
|
|
|
const cultureSrc = ref(new URL('@/assets/images/culture.png', import.meta.url).href)
|
|
|
+const weaTool = ref(new URL('@/assets/images/weatherTool.png', import.meta.url).href)
|
|
|
|
|
|
onMounted(() => {
|
|
|
reloadLeft2()
|
|
|
-
|
|
|
reloadRight1()
|
|
|
getStationList()
|
|
|
- reloadRight3()
|
|
|
+ // reloadRight3()
|
|
|
})
|
|
|
|
|
|
// 订阅一个具体的事件
|
|
@@ -336,28 +346,39 @@ bus.on('point_click', (data: any) => {
|
|
|
</card01>
|
|
|
</template>
|
|
|
<template #rightModule>
|
|
|
- <card01 style="height: 33%" title="超警超保统计">
|
|
|
- <chart ref="right1Ref"></chart>
|
|
|
- </card01>
|
|
|
- <card01 style="height: 33%" title="站点清单">
|
|
|
+ <card01 style="height: 66%" title="站点清单">
|
|
|
<stripe-table :columns="tableColumns" :data="tableData"></stripe-table>
|
|
|
</card01>
|
|
|
- <card01 style="height: 33%">
|
|
|
- <template v-slot:header>
|
|
|
- <span class="title">水质分析</span>
|
|
|
- <span style="font-size: 0.8rem;"> 江南大运河沿线</span>
|
|
|
- </template>
|
|
|
- <chart ref="right3Ref"></chart>
|
|
|
+ <card01 style="height: 33%" title="超警超保统计">
|
|
|
+ <chart ref="right1Ref"></chart>
|
|
|
</card01>
|
|
|
</template>
|
|
|
<template #btnGroup>
|
|
|
<div style="display: flex;flex-direction: column;">
|
|
|
<div><img :src="homeSrc"></div>
|
|
|
- <div><img :src="weatherSrc"></div>
|
|
|
+ <div><img :src="weatherSrc" @click="showTools"></div>
|
|
|
<div><img :src="flagSrc"></div>
|
|
|
<div><img :src="walkSrc"></div>
|
|
|
<div><img :src="cultureSrc"></div>
|
|
|
</div>
|
|
|
+ <div v-if="showTool"
|
|
|
+ style="position: absolute;background:rgba(133,199,245,0.6);width:300px;height:200px;top:60px;right:50px;"
|
|
|
+ @click="closeTool">
|
|
|
+ <!-- <div>时间与现实同步</div>-->
|
|
|
+ <!-- <el-row>-->
|
|
|
+ <!-- <el-col :span="4"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- <el-col :span="4"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- <el-col :span="4"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- </el-row>-->
|
|
|
+ <!-- <div>天气与现实同步</div>-->
|
|
|
+ <!-- <el-row>-->
|
|
|
+ <!-- <el-col :span="3"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- <el-col :span="3"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- <el-col :span="3"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- <el-col :span="3"><img :src="homeSrc"></el-col>-->
|
|
|
+ <!-- </el-row>-->
|
|
|
+ <img :src="weaTool" style="width: 300px;height: 230px;">
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</right-frame>
|
|
|
</template>
|