|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="home-title-nav">
|
|
<div class="home-title-nav">
|
|
<span class="l-span">
|
|
<span class="l-span">
|
|
- <img src="@/assets/images/logo.png" alt=""/>
|
|
|
|
|
|
+ <img src="@/assets/images/logo.png" alt="" @click="toTarget" style="cursor: pointer"/>
|
|
</span>
|
|
</span>
|
|
<span class="title-text">国网四川电力交易中心运行环境风险监测</span>
|
|
<span class="title-text">国网四川电力交易中心运行环境风险监测</span>
|
|
<span class="r-span">{{date}} {{week}} {{time}}</span>
|
|
<span class="r-span">{{date}} {{week}} {{time}}</span>
|
|
@@ -10,7 +10,9 @@
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
import {parseTime} from "@/utils/ruoyi"
|
|
import {parseTime} from "@/utils/ruoyi"
|
|
import {onMounted} from "vue";
|
|
import {onMounted} from "vue";
|
|
|
|
+import {useRouter} from "vue-router";
|
|
|
|
|
|
|
|
+const router = useRouter()
|
|
const week = ref("");
|
|
const week = ref("");
|
|
const date = ref("");
|
|
const date = ref("");
|
|
const time = ref("");
|
|
const time = ref("");
|
|
@@ -29,4 +31,8 @@ function getWeek(){
|
|
week.value = weekText[dayOfWeek]
|
|
week.value = weekText[dayOfWeek]
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+function toTarget(){
|
|
|
|
+ router.push({path:"/link/localhost/30080/pxf-pp-jy/main"})
|
|
|
|
+}
|
|
|
|
+
|
|
</script>
|
|
</script>
|