From 6f78dd91ffd0544b5fd3993d5f7d316ee08264d4 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 17 三月 2026 15:50:46 +0800
Subject: [PATCH] #
---
src/main/webapp/views/dashboard/dashboard.html | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/dashboard/dashboard.html b/src/main/webapp/views/dashboard/dashboard.html
index 1a806a2..6e51310 100644
--- a/src/main/webapp/views/dashboard/dashboard.html
+++ b/src/main/webapp/views/dashboard/dashboard.html
@@ -717,6 +717,13 @@
</div>
<div class="hero-actions">
<el-button size="small" plain @click="openMonitor">{{ i18n('dashboard.openMonitor', '鎵撳紑鐩戞帶鐢婚潰') }}</el-button>
+ <el-button
+ size="small"
+ :type="overview.systemRunning ? 'danger' : 'success'"
+ plain
+ :disabled="switchingSystem"
+ :loading="switchingSystem"
+ @click="toggleSystem">{{ overview.systemRunning ? i18n('dashboard.stopSystem', '鍋滄绯荤粺') : i18n('dashboard.startSystem', '鍚姩绯荤粺') }}</el-button>
<el-button size="small" type="primary" :loading="refreshing" @click="loadDashboard(true)">{{ i18n('dashboard.refreshNow', '绔嬪嵆鍒锋柊') }}</el-button>
</div>
</div>
@@ -1054,6 +1061,6 @@
<script type="text/javascript" src="../../static/vue/js/vue.min.js"></script>
<script type="text/javascript" src="../../static/vue/element/element.js"></script>
<script type="text/javascript" src="../../static/js/echarts/echarts.min.js"></script>
-<script type="text/javascript" src="../../static/js/dashboard/dashboard.js?v=20260317-dashboard-network-i18n"></script>
+<script type="text/javascript" src="../../static/js/dashboard/dashboard.js?v=20260317-dashboard-stop-password-mask"></script>
</body>
</html>
--
Gitblit v1.9.1