From 8086e7d224b4c2bcb8f54ef7859c0b0138040b51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cyu=E2=80=9D?= <“winebunny@163.com”>
Date: Sun, 14 Jul 2024 01:41:11 +0800
Subject: [PATCH] yu
---
src/views/pages/homePage/runListenPage.vue | 28 ++++++++++------------
1 file changed, 12 insertions(+), 16 deletions(-)
diff --git a/src/views/pages/homePage/runListenPage.vue b/src/views/pages/homePage/runListenPage.vue
index bd945b8..783e156 100644
--- a/src/views/pages/homePage/runListenPage.vue
+++ b/src/views/pages/homePage/runListenPage.vue
@@ -341,7 +341,7 @@
- {{ scope.row.time }}
+ {{ scope.row.datetime }}
@@ -467,7 +467,7 @@ const handleTabPage = (val: number) => {
// hideRight.value = false;
};
-let infolistFlag=ref(true)//告警信息详情
+let infolistFlag=ref(false)//告警信息详情
// lengendDate
let lengendDate = reactive([
{
@@ -748,6 +748,7 @@ const alertInfo = () => {
console.log(res, "88888889999");
if (res?.data.length > 0) {
alertdata.alertArr = res.data;
+ tableData.tdate=res.data;
console.log(alertdata.alertArr, "0");
} else {
console.log("没有数据");
@@ -923,24 +924,19 @@ let selectDateObj = ref(null);
// 表格
// let alert_pvFlag = ref(false);
+
interface TableDate {
name: string;
loadRate: string;
- time: string;
- type:string;
+ datetime: string;
+ type: string;
}
-interface TDATE{
- tdate:TableDate[]
+interface TDATE {
+ tdate: TableDate[];
}
-let tableData = reactive([
- {
- name: "**光伏",
- type:"线路",
- loadRate: "9999",
- time: "2024-07-12",
- },
-
-]);
+let tableData = reactive({
+ tdate:[]
+});
const handeleTable = () => {
// tableHeaderColor ({row, column, rowIndex, columnIndex}) {
// return 'text-align: center;'