From 795cd3affad471d6285a70979f7cbcd9646ce713 Mon Sep 17 00:00:00 2001 From: Lxq <19852720163@163.com> Date: Mon, 1 Jun 2026 10:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BB=A3=E7=A0=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc_autoplc_front/src/views/flowinfo/index.vue | 1092 ---------------- .../src/views/manage-log/index.vue | 66 +- .../src/views/plcdevicecontrol/index.vue | 1127 ----------------- rc_autoplc_front/src/views/position/index.vue | 412 ------ .../src/views/recordinfo/index.vue | 2 +- .../src/views/statusmonitor/index.vue | 25 +- 6 files changed, 77 insertions(+), 2647 deletions(-) delete mode 100644 rc_autoplc_front/src/views/flowinfo/index.vue delete mode 100644 rc_autoplc_front/src/views/plcdevicecontrol/index.vue delete mode 100644 rc_autoplc_front/src/views/position/index.vue diff --git a/rc_autoplc_front/src/views/flowinfo/index.vue b/rc_autoplc_front/src/views/flowinfo/index.vue deleted file mode 100644 index 25857d7..0000000 --- a/rc_autoplc_front/src/views/flowinfo/index.vue +++ /dev/null @@ -1,1092 +0,0 @@ - - - - 首页 - 流程管理 - 标准流程管理 - - - - - - - - - - 查询 - 重置 - - - - - - 新增流程 - - - - - - - - - - - - - - - - - - - - - {{ scope.row.hasWorkflow ? '编辑流程' : '配置流程' }} - - 选择样品 - 编辑 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ getGoodsStatusText(row.goodsStatus) }} - - - - - - - - - - - - - - - - - - - - diff --git a/rc_autoplc_front/src/views/manage-log/index.vue b/rc_autoplc_front/src/views/manage-log/index.vue index 8d9279c..64133f3 100644 --- a/rc_autoplc_front/src/views/manage-log/index.vue +++ b/rc_autoplc_front/src/views/manage-log/index.vue @@ -8,13 +8,13 @@ - - + + - + - + - + 查询 重置 - + 导出日志 @@ -419,11 +419,53 @@ onMounted(async () => { } .search-bar { + overflow-x: hidden; +} + +.search-form { display: flex; - justify-content: space-between; - align-items: flex-start; - flex-wrap: wrap; + align-items: center; + flex-wrap: nowrap; + width: 100%; gap: 8px; + white-space: nowrap; +} + +.search-item { + margin-bottom: 0; + flex: 0 0 auto; +} + +.search-item--log-type, +.search-item--operator { + flex-shrink: 1; +} + +.search-item--time { + flex: 1 1 420px; + min-width: 280px; +} + +.search-select--log-type { + width: 220px; +} + +.search-select--operator { + width: 180px; +} + +.search-range { + width: 100%; + max-width: 420px; +} + +.search-actions, +.search-export { + margin-left: 0; +} + +.search-export { + margin-right: 0; } .pagination { diff --git a/rc_autoplc_front/src/views/plcdevicecontrol/index.vue b/rc_autoplc_front/src/views/plcdevicecontrol/index.vue deleted file mode 100644 index dd77a4c..0000000 --- a/rc_autoplc_front/src/views/plcdevicecontrol/index.vue +++ /dev/null @@ -1,1127 +0,0 @@ - - - - 首页 - 流程管理 - PLC设备控制 - - - - - - - - - - - - - - - - - - - - - - - - - - 查询 - 重置 - - - - - - - - - - - - - - - {{ device.devName || '未命名设备' }} - - {{ getStatusText(device.status) }} - - - - - - - - - - - - - - - 型号: - {{ device.devModel || '暂无' }} - - - IP地址: - {{ device.ipAddr || '暂无' }} - - - 协议: - {{ device.protocolType || '暂无' }} - - - 运行模式: - {{ getModelText(device.realRunModel) }} - - - - - - - - - - - - - - - - - - - - - - - - - - 执行 - - - - - - - - - - - - - - - diff --git a/rc_autoplc_front/src/views/position/index.vue b/rc_autoplc_front/src/views/position/index.vue deleted file mode 100644 index 9282b04..0000000 --- a/rc_autoplc_front/src/views/position/index.vue +++ /dev/null @@ -1,412 +0,0 @@ - - - - 首页 - 系统管理 - 职位管理 - - - - - - - - - - - - 查询 - 重置 - - - - 新增职位 - - - - - - - - - - - - - 编辑 - 删除 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rc_autoplc_front/src/views/recordinfo/index.vue b/rc_autoplc_front/src/views/recordinfo/index.vue index 13a1c6e..1c4d372 100644 --- a/rc_autoplc_front/src/views/recordinfo/index.vue +++ b/rc_autoplc_front/src/views/recordinfo/index.vue @@ -29,7 +29,7 @@ 查询 重置 - + 导出记录 diff --git a/rc_autoplc_front/src/views/statusmonitor/index.vue b/rc_autoplc_front/src/views/statusmonitor/index.vue index c1c2875..6ccd644 100644 --- a/rc_autoplc_front/src/views/statusmonitor/index.vue +++ b/rc_autoplc_front/src/views/statusmonitor/index.vue @@ -46,9 +46,14 @@ > 绑定动作 {{ getActionName(action) }} - - {{ getStatusText(getActionStatus(action)) }} - + + + {{ getStatusText(getActionStatus(action)) }} + + + {{ getActionRecordCount(action) }} + + +{{ getIslandActionList(item).length - 2 }} @@ -619,6 +624,7 @@ onMounted(loadData) } .action-badge { + position: relative; display: inline-flex; align-items: center; gap: 8px; @@ -644,6 +650,19 @@ onMounted(loadData) text-overflow: ellipsis; } +.action-status-wrap { + position: relative; + flex: 0 0 auto; + display: inline-flex; + align-items: center; + gap: 4px; +} + +.action-badge-record-dot { + position: static; + margin-left: 4px; +} + .action-badge-more { display: inline-flex; align-items: center;