From 0ef9dc7934ae94f28b2a9d3431da664afe809a4a Mon Sep 17 00:00:00 2001
From: fengerli <528575642@qq.com>
Date: Sat, 9 Aug 2025 10:40:47 +0800
Subject: [PATCH] =?UTF-8?q?210=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/210/historyRecords/index.vue | 66 ++++++++++++++++++++++++++++++
pages/6170/deviceControl/index.vue | 26 +++++++++---
2 files changed, 87 insertions(+), 5 deletions(-)
diff --git a/pages/210/historyRecords/index.vue b/pages/210/historyRecords/index.vue
index 02409e3..b7c7a5b 100644
--- a/pages/210/historyRecords/index.vue
+++ b/pages/210/historyRecords/index.vue
@@ -1,8 +1,74 @@
+
+
+
+
+ {{tab.name}}
+
+
+
+
\ No newline at end of file
diff --git a/pages/6170/deviceControl/index.vue b/pages/6170/deviceControl/index.vue
index e205ef5..f9532d8 100644
--- a/pages/6170/deviceControl/index.vue
+++ b/pages/6170/deviceControl/index.vue
@@ -136,19 +136,23 @@
单位:
-
+
姓名:
-
+
职位:
-
+
ID:
-
+
@@ -160,7 +164,8 @@
-
+
@@ -359,6 +364,15 @@
}
},
methods: {
+ filterChinese(e) {
+ const value = e.detail.value;
+ // 允许中文和常见中文标点
+ this.messageToSend = value.replace(/[^\u4e00-\u9fa5,。?!、;:“”‘’()【】《》…—]/g, '');
+ // 修复某些平台输入法兼容性问题
+ this.$nextTick(() => {
+ e.target.value = this.messageToSend;
+ });
+ },
// 点击弹框外的区域关闭
closePopup() {
this.lightModeA = false;
@@ -1321,6 +1335,7 @@
.form-label {
font-size: 32rpx;
color: rgba(255, 255, 255, 0.87);
+ white-space: nowrap;
}
.form-input {
@@ -1328,6 +1343,7 @@
border: 1rpx solid transparent;
font-size: 32rpx;
color: rgba(255, 255, 255, 0.87);
+ width: 100%;
}
.form-input1 {