From 862a5b8eccaca23f901d601fe8c117a415849366 Mon Sep 17 00:00:00 2001
From: zhouyanli <593579392@qq.com>
Date: Mon, 9 Nov 2026 17:25:01 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A1=86=E6=A0=A1=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/detail/UserSummaryCard.vue | 6 +++---
src/views/biz/appUser/index.vue | 2 +-
.../device/components/DeviceFormDialog.vue | 4 ++--
src/views/biz/help/index.vue | 6 +++---
src/views/biz/income/index.vue | 2 +-
src/views/biz/merchant/detail.vue | 2 +-
src/views/login.vue | 2 +-
src/views/system/phone/index.vue | 20 ++++++++++++++++++-
8 files changed, 31 insertions(+), 13 deletions(-)
diff --git a/src/views/biz/appUser/components/detail/UserSummaryCard.vue b/src/views/biz/appUser/components/detail/UserSummaryCard.vue
index 389cc25..e8171da 100644
--- a/src/views/biz/appUser/components/detail/UserSummaryCard.vue
+++ b/src/views/biz/appUser/components/detail/UserSummaryCard.vue
@@ -11,13 +11,13 @@
-
手机号:{{ user.phoneNumber || '—' }}
-
房间号:{{ user.roomNo || user.roomName || '—' }}
+
手机号:{{ user.phoneNumber}}
+
房间号:{{ user.installLocation }}
绑定设备:{{ deviceCountText }}
-
最近缴费:{{ user.lastRechargeTime || '—' }}
+
最近缴费:{{ user.lastRechargeTime}}
diff --git a/src/views/biz/appUser/index.vue b/src/views/biz/appUser/index.vue
index 9b54612..2f26548 100644
--- a/src/views/biz/appUser/index.vue
+++ b/src/views/biz/appUser/index.vue
@@ -48,7 +48,7 @@
- {{ scope.row.roomNo}}
+ {{ scope.row.installLocation}}
{{ scope.row.recentRechargeAmount }}
diff --git a/src/views/biz/device/components/DeviceFormDialog.vue b/src/views/biz/device/components/DeviceFormDialog.vue
index 903267a..1c036db 100644
--- a/src/views/biz/device/components/DeviceFormDialog.vue
+++ b/src/views/biz/device/components/DeviceFormDialog.vue
@@ -2,10 +2,10 @@
-
+
-
+
diff --git a/src/views/biz/help/index.vue b/src/views/biz/help/index.vue
index dad01f5..3ecef6c 100644
--- a/src/views/biz/help/index.vue
+++ b/src/views/biz/help/index.vue
@@ -63,13 +63,13 @@
-
+
{{ parseTime(scope.row.updateTime) || '-' }}
-
+
@@ -98,7 +98,7 @@
-
+
diff --git a/src/views/biz/income/index.vue b/src/views/biz/income/index.vue
index 4eb4226..1469d97 100644
--- a/src/views/biz/income/index.vue
+++ b/src/views/biz/income/index.vue
@@ -48,7 +48,7 @@
-
+
{{ deviceTypeText(scope.row.deviceType) }}
diff --git a/src/views/biz/merchant/detail.vue b/src/views/biz/merchant/detail.vue
index 1b0cd6e..ccec824 100644
--- a/src/views/biz/merchant/detail.vue
+++ b/src/views/biz/merchant/detail.vue
@@ -61,7 +61,7 @@
{{ deviceTypeText(scope.row.deviceType) }}
- {{ scope.row.roomNo || scope.row.roomName || scope.row.roomId }}
+ {{ scope.row.installLocation }}
diff --git a/src/views/login.vue b/src/views/login.vue
index b654ad7..0c1a415 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -89,7 +89,7 @@
-
+
diff --git a/src/views/system/phone/index.vue b/src/views/system/phone/index.vue
index 6cef498..891dbb8 100644
--- a/src/views/system/phone/index.vue
+++ b/src/views/system/phone/index.vue
@@ -9,7 +9,14 @@
-
+
@@ -208,8 +215,19 @@ const cancel = () => {
closeDialog();
};
+/** 筛选条件:电话号码只允许输入数字(手机号最多 11 位) */
+const handlePhoneNumberInput = (value: string) => {
+ const digits = (value ?? '').replace(/\D/g, '').slice(0, 11);
+ if (digits !== value) {
+ queryParams.value.phoneNumber = digits;
+ }
+};
+
/** 搜索按钮操作 */
const handleQuery = () => {
+ if (queryParams.value.phoneNumber) {
+ queryParams.value.phoneNumber = String(queryParams.value.phoneNumber).replace(/\D/g, '');
+ }
queryParams.value.pageNum = 1;
getList();
};