From cde6ad77663a80d78d77568428a6287b53347716 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期四, 19 三月 2026 17:19:55 +0800
Subject: [PATCH] feat: 新增API路由缓存预热并完善机器人消息日志
---
Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/src/views/ProtocolTemplatesView.vue | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/src/views/ProtocolTemplatesView.vue b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/src/views/ProtocolTemplatesView.vue
index 75f038f..be2a12f 100644
--- a/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/src/views/ProtocolTemplatesView.vue
+++ b/Code/WCS/WIDESEAWCS_S7Simulator/WIDESEAWCS_S7Simulator.Web/src/views/ProtocolTemplatesView.vue
@@ -1,5 +1,5 @@
锘�<template>
- <div>
+ <div class="admin-page">
<div class="page-header">
<div>
<h2>鍗忚妯℃澘绠$悊</h2>
@@ -8,7 +8,8 @@
<el-button type="primary" @click="openNewTemplate">鏂板缓妯℃澘</el-button>
</div>
- <el-table :data="templates" border>
+ <el-card shadow="never" class="panel-card">
+ <el-table :data="templates" border>
<el-table-column prop="id" label="妯℃澘ID" width="240" />
<el-table-column prop="name" label="鍚嶇О" min-width="240" />
<el-table-column prop="version" label="鐗堟湰" width="140" />
@@ -21,7 +22,8 @@
<el-button size="small" type="danger" @click="removeTemplate(row.id)">鍒犻櫎</el-button>
</template>
</el-table-column>
- </el-table>
+ </el-table>
+ </el-card>
<el-dialog v-model="dialogVisible" title="鍗忚妯℃澘" width="96vw" top="2vh" class="protocol-dialog">
<el-form :model="editing" label-width="100px">
@@ -187,18 +189,6 @@
</script>
<style scoped>
-.page-header {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- margin-bottom: 16px;
-}
-
-.text-muted {
- color: #909399;
- margin: 4px 0 0 0;
-}
-
.mt-2 {
margin-top: 12px;
}
--
Gitblit v1.9.3