From 29c1c791d4aa3b9465e187ea5b863302a382dcfa Mon Sep 17 00:00:00 2001 From: coward Date: Mon, 4 Nov 2024 17:25:27 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=E8=B0=83=E6=95=B4=E4=BA=86=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/client/index.vue | 46 +++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/web/src/views/client/index.vue b/web/src/views/client/index.vue index abd8885..a9bd464 100644 --- a/web/src/views/client/index.vue +++ b/web/src/views/client/index.vue @@ -85,14 +85,14 @@ {{ cip }} - - - - - - - {{ aip }} - - + + + + + + + + {{ row.createUser }} @@ -106,7 +106,7 @@ 禁用 - + 启用 @@ -114,12 +114,12 @@ 禁用 - - - 创建时间: {{ row.createdAt }} - 更新时间: {{ row.updatedAt }} - - + + + + + + @@ -228,12 +228,18 @@ 禁用 - + 启用 禁用 + + + 创建时间: {{ editModalForm.createdAt }} + 更新时间: {{ editModalForm.updatedAt }} + + 确认 @@ -319,7 +325,7 @@ 禁用 - + 启用 禁用 @@ -440,7 +446,9 @@ const editModalForm = ref({ presharedKey: '' }, enabled: 1, - offlineMonitoring: 1 + offlineMonitoring: 1, + createdAt: '', + updatedAt: '' }) // 添加模态框的数据集 @@ -576,6 +584,8 @@ function openEditModal(row) { editModalForm.value.keys.presharedKey = row.keys.presharedKey editModalForm.value.enabled = row.enabled editModalForm.value.offlineMonitoring = row.offlineMonitoring + editModalForm.value.createdAt = row.createdAt + editModalForm.value.updatedAt = row.updatedAt } // 更改客户端信息