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();
};