From c9a6f7cbb5209415e626df29c7572cf40fe92b66 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期一, 06 一月 2025 11:44:50 +0800
Subject: [PATCH] 1、工作流程功能优化,解决流程图模拟功能simulation不生效的bug 2、system menu等页面修改 3、Footer copyright年份修改为动态

---
 src/views/data/channel/opcua/tag/index.vue |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/views/data/channel/opcua/tag/index.vue b/src/views/data/channel/opcua/tag/index.vue
index 524f4b5..2c8d799 100644
--- a/src/views/data/channel/opcua/tag/index.vue
+++ b/src/views/data/channel/opcua/tag/index.vue
@@ -1,7 +1,7 @@
 <template>
   <el-drawer
     v-model="drawer"
-    size="50%"
+    size="60%"
     title="Opcua Tag"
     :direction="direction"
     :before-close="handleClose"
@@ -67,6 +67,12 @@
             <Icon icon="ep:download" />导出
           </el-button>
         </el-form-item>
+        <el-form-item label="更新当前值" label-width="100px">
+          <el-switch
+            v-model="queryParams.currentValue"
+            active-color="#13ce66"
+            inactive-color="#ff4949"/>
+        </el-form-item>
       </el-form>
     </ContentWrap>
     <!-- 列表 -->
@@ -113,19 +119,22 @@
           label="数据值"
           header-align="center"
           align="center"
+          min-width="100"
           :formatter="(row) => {if (row.dataValue === -2.0) {return '--';}return row.dataValue;}"
         />
         <el-table-column
-          prop="quality"
+          prop="dataTime"
+          label="数据时间"
+          header-align="center"
+          align="center"
+          min-width="150"
+        />
+        <el-table-column
+          prop="dataQuality"
           label="数据质量"
           header-align="center"
           align="center"
-        >
-          <template #default="scope">
-            <el-tag v-if="scope.row.dataValue === Number(-2.0)" type="danger" size="small">bad</el-tag>
-            <el-tag v-else size="small">good</el-tag>
-          </template>
-        </el-table-column>
+        />
         <el-table-column label="操作" align="center" min-width="110" fixed="right">
           <template #default="scope">
             <el-button

--
Gitblit v1.9.3