|
@@ -10,6 +10,8 @@ import ImageTag from "@/components/tag/ImageTag.vue";
|
|
|
|
|
|
const route = useRoute()
|
|
|
let dibaImage = ref(new URL('@/assets/images/dike.png', import.meta.url).href)
|
|
|
+const jiankong = new URL('@/assets/images/tmp/jiankong.png', import.meta.url).href
|
|
|
+
|
|
|
|
|
|
function getStation(stcd) {
|
|
|
return stations.find(item => item.stcd === stcd)
|
|
@@ -17,7 +19,7 @@ function getStation(stcd) {
|
|
|
|
|
|
const station = ref(getStation(route.params.stcd))
|
|
|
const introduces = ref(station.value.detail?.split('\n'))
|
|
|
-const introduceImg = new URL(station.value.img, import.meta.url)
|
|
|
+const introduceImg = new URL(station.value.img, import.meta.url).href
|
|
|
|
|
|
const deviceInfoColumns = [
|
|
|
{label: '设备名称', prop: 'name'},
|
|
@@ -63,6 +65,7 @@ onMounted(() => {
|
|
|
<img v-if="station.img" :src="introduceImg" alt="" class="introduce-img"/>
|
|
|
</card01>
|
|
|
<card01 style="height: 30%" title="现场监控">
|
|
|
+ <img :src="jiankong" alt="" style="width: 100%;height: 100%;"/>
|
|
|
</card01>
|
|
|
</template>
|
|
|
<template #rightModule>
|