From daa2cec25875276f3462e09d102f9d2fd52a96e1 Mon Sep 17 00:00:00 2001
From: L <L@132>
Date: 星期三, 18 三月 2026 16:03:43 +0800
Subject: [PATCH] *
---
src/main/webapp/views/index.html | 30 +++++++++++++++++++++++++-----
1 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index adfffa2..f0b14fc 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -5,6 +5,7 @@
<title>鐜舰绌挎杞︽櫤鑳界郴缁�</title>
<link rel="stylesheet" href="../static/css/element.css">
<link rel="stylesheet" href="../static/css/indexHCDD.css">
+ <link rel="stylesheet" href="../static/css/indexHCDDXKD.css">
<link rel="stylesheet" href="../static/css/element-ui.css">
<link rel="icon" href="../static/images/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
@@ -20,6 +21,17 @@
<div class="particles-container" id="particles-container"></div>
</div>
<div id="app">
+
+ <!-- 鏂板鐨勮鍙瘉妯箙锛屾斁鍦� header 涔嬪悗锛宎pp 涔嬪墠 -->
+ <div v-if="licenseDayI <= 30"
+ :class="['license-banner', licenseDayI <= 0 ? 'expired' : licenseDayI <= 7 ? 'urgent' : 'warning']"
+ style="z-index: 9999;">
+ <div class="license-content">
+ <i :class="licenseDayI <= 0 ? 'el-icon-error' : licenseDayI <= 7 ? 'el-icon-warning' : 'el-icon-info'"></i>
+ <span class="license-text">{{ licenseDay }}</span>
+ <span v-if="licenseDayI > 0" class="license-days">{{ licenseDayI }} 澶�</span>
+ </div>
+ </div>
<div class="map">
<div class="system-control-panel">
<div class="system-status">
@@ -392,15 +404,23 @@
this.getValueSystem()
this.getLicenseDays()
- // 楂橀鏇存柊锛氬皬杞﹀拰璁惧浣嶇疆锛�1绉掞級
+ // 楂橀鏇存柊锛氬皬杞﹀拰璁惧浣嶇疆锛�1.5绉掞級
setInterval(() => {
this.getTableDataRgv()
- this.getTableDataDev()
+ }, 1000)
+
+ // 楂橀鏇存柊锛氬疄鏃朵换鍔″垪琛ㄧ瓑锛�2绉掞級
+ setInterval(() => {
this.getTableDataLeft()
this.getTableDataRight()
- }, 1500)
+ }, 2000)
- // 浣庨鏇存柊锛氫换鍔″垪琛ㄧ瓑锛�5绉掞級
+ // 楂橀鏇存柊锛氬疄鏃剁珯鐐逛俊鎭瓑锛�3绉掞級
+ setInterval(() => {
+ this.getTableDataDev()
+ }, 3000)
+
+ // 浣庨鏇存柊锛氫换鍔″垪琛ㄧ瓑锛�10绉掞級
setInterval(() => {
this.getTableDataLeft1()
this.getTableDataRight1()
@@ -412,7 +432,7 @@
this.getLicenseDays()
}, 30000)
- // 浣庨鏇存柊锛氳鍙瘉淇℃伅锛�30绉掞級
+ // 闈欐�佷綆棰戞洿鏂帮細PLC锛�1灏忔椂锛�
setInterval(() => {
this.getTableDataTrack()
}, 60*60*1000)
--
Gitblit v1.9.1