From 3f488d2e727ff6675df2a8e41943f5145b85f521 Mon Sep 17 00:00:00 2001
From: Lxq <19852720163@163.com>
Date: Wed, 27 May 2026 15:13:58 +0800
Subject: [PATCH] =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=9B=91=E6=8E=A7=E7=95=8C?=
=?UTF-8?q?=E9=9D=A2=E4=BF=AE=E5=A4=8D+=E5=AF=BC=E5=87=BA=E6=93=8D?=
=?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97+=E5=AF=BC=E5=87=BA=E5=BC=82?=
=?UTF-8?q?=E5=B8=B8=E8=AE=B0=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
rc_autoplc_front/src/api/system/manage-log.ts | 11 +-
rc_autoplc_front/src/api/tb/recordinfo.ts | 9 +
rc_autoplc_front/src/views/Layout.vue | 2 +-
.../src/views/manage-log/index.vue | 76 +++++--
.../src/views/recordinfo/index.vue | 67 +++++-
.../src/views/statusmonitor/index.vue | 190 +++++++++++++++++-
6 files changed, 327 insertions(+), 28 deletions(-)
diff --git a/rc_autoplc_front/src/api/system/manage-log.ts b/rc_autoplc_front/src/api/system/manage-log.ts
index 83611b4..d35f14e 100644
--- a/rc_autoplc_front/src/api/system/manage-log.ts
+++ b/rc_autoplc_front/src/api/system/manage-log.ts
@@ -36,4 +36,13 @@ export function managelogbyid(id: string | number) {
url: `/manage-log/getById/${id}`,
method: 'get',
})
-}
\ No newline at end of file
+}
+
+export function managelogexport(params: any) {
+ return request({
+ url: '/manage-log/export',
+ method: 'get',
+ params,
+ responseType: 'blob',
+ })
+}
diff --git a/rc_autoplc_front/src/api/tb/recordinfo.ts b/rc_autoplc_front/src/api/tb/recordinfo.ts
index e85b6e2..d35ecd6 100644
--- a/rc_autoplc_front/src/api/tb/recordinfo.ts
+++ b/rc_autoplc_front/src/api/tb/recordinfo.ts
@@ -37,3 +37,12 @@ export function recordInfoupd(data: any) {
data,
})
}
+
+export function recordInfoexport(params: any) {
+ return request({
+ url: '/recordInfo/export',
+ method: 'get',
+ params,
+ responseType: 'blob',
+ })
+}
diff --git a/rc_autoplc_front/src/views/Layout.vue b/rc_autoplc_front/src/views/Layout.vue
index 0ecd42f..cecb6dd 100644
--- a/rc_autoplc_front/src/views/Layout.vue
+++ b/rc_autoplc_front/src/views/Layout.vue
@@ -105,7 +105,7 @@
- 状态监控界面
+ 状态监控
diff --git a/rc_autoplc_front/src/views/manage-log/index.vue b/rc_autoplc_front/src/views/manage-log/index.vue
index f2f4620..8d9279c 100644
--- a/rc_autoplc_front/src/views/manage-log/index.vue
+++ b/rc_autoplc_front/src/views/manage-log/index.vue
@@ -59,6 +59,10 @@
查询
重置
+
+
+ 导出日志
+
@@ -131,7 +135,7 @@
@@ -427,6 +523,37 @@ onMounted(loadData)
right: 12px;
}
+.record-dot {
+ position: absolute;
+ min-width: 18px;
+ height: 18px;
+ padding: 0 5px;
+ border-radius: 999px;
+ background: #f56c6c;
+ color: #fff;
+ font-size: 12px;
+ font-weight: 700;
+ line-height: 18px;
+ text-align: center;
+ box-shadow: 0 0 0 2px #fff;
+ pointer-events: none;
+}
+
+.action-record-dot {
+ top: 10px;
+ right: 10px;
+}
+
+.island-list-record-dot {
+ bottom: 10px;
+ right: 10px;
+}
+
+.island-detail-record-dot {
+ top: 10px;
+ right: 10px;
+}
+
.island-card-main {
padding-right: 80px;
}
@@ -622,6 +749,63 @@ onMounted(loadData)
color: var(--el-text-color-secondary);
}
+.record-section {
+ margin-top: 16px;
+ padding-top: 12px;
+ border-top: 1px solid #ebeef5;
+}
+
+.record-section-title {
+ margin-bottom: 10px;
+ font-size: 14px;
+ font-weight: 700;
+ color: var(--el-text-color-primary);
+}
+
+.record-list {
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+}
+
+.record-empty-text {
+ color: var(--el-text-color-secondary);
+ font-size: 13px;
+ line-height: 1.6;
+}
+
+.record-item {
+ padding: 12px 14px;
+ border-radius: 10px;
+ background: #fafcff;
+ border: 1px solid #ebeef5;
+}
+
+.record-item-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 12px;
+ margin-bottom: 6px;
+}
+
+.record-item-name {
+ font-weight: 600;
+ color: var(--el-text-color-primary);
+}
+
+.record-item-content {
+ font-size: 12px;
+ color: var(--el-text-color-secondary);
+ line-height: 1.5;
+}
+
+.dialog-footer-actions {
+ display: flex;
+ justify-content: flex-end;
+ gap: 12px;
+}
+
@media (min-width: 1201px) {
.actions-row {
grid-template-columns: repeat(var(--actions-count), minmax(340px, 1fr));