|
@@ -1,7 +1,7 @@
|
|
|
<script lang="ts" setup>
|
|
|
import RightFrame from "@/components/RightFrame.vue";
|
|
|
import Card01 from "@/components/card/Card01.vue";
|
|
|
-import {computed, onMounted, ref, watch} from "vue";
|
|
|
+import {computed, onMounted, ref} from "vue";
|
|
|
import {useRoute} from 'vue-router';
|
|
|
import GwVideo from '@/components/Video/index.vue'
|
|
|
import {useStationStore} from '@/stores/station'
|
|
@@ -11,7 +11,7 @@ import {getTypicalData, getTypicalEvents} from "@/utils/typicalYear";
|
|
|
import TypicalChart from "@/components/TypicalChart.vue";
|
|
|
import {getVideoCodeByMark} from "@/components/Video/video";
|
|
|
import TimeScrollbar from "@/components/TimeScrollbar.vue";
|
|
|
-import {Label, Operate, View} from "@/utils/tdInstruction";
|
|
|
+import {Label, Operate, Setting, View} from "@/utils/tdInstruction";
|
|
|
import {getRainfallLatest, getWaterLevelAndFlowLatest} from "@/api/gx";
|
|
|
import {getRainfallLevel} from "@/utils/rainfall";
|
|
|
|
|
@@ -51,9 +51,12 @@ function sliderlTooltip(val) {
|
|
|
|
|
|
function handleTimeChange(status) {
|
|
|
if (status) {
|
|
|
+ Setting.setWeather("中雨")
|
|
|
View.changeView(station.value.stnm + '近')
|
|
|
stationStore.setLabelState2('测站主页', true)
|
|
|
stationStore.setLabelState2('仪器运维', false)
|
|
|
+ } else {
|
|
|
+ Setting.setWeather("晴")
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -144,7 +147,7 @@ onMounted(() => {
|
|
|
|
|
|
.typical-event-time-scrollbar {
|
|
|
position: fixed;
|
|
|
- bottom: 10vh;
|
|
|
+ bottom: 15vh;
|
|
|
left: 50%;
|
|
|
transform: translateX(-50%);
|
|
|
width: 50vw;
|