From 7662665a4f88da0f8afa804bd4a34dfbefc1fb56 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 29 八月 2025 15:17:59 +0800
Subject: [PATCH] get_pre_page_subtable_next_row

---
 pages/selpsn/index.vue |   17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/pages/selpsn/index.vue b/pages/selpsn/index.vue
index 3eb218a..416c86b 100644
--- a/pages/selpsn/index.vue
+++ b/pages/selpsn/index.vue
@@ -34,6 +34,8 @@
 	import {
 		querySelPsn
 	} from "@/api/index.js"
+	import {showInfo,
+		showError} from "@/js/Page.js"
 	export default {
 		data() {
 			return {
@@ -104,12 +106,7 @@
 						})
 						.catch(ex => {
 							// console.log(ex);
-							uni.showModal({
-								title: this.translateSys("error"),
-								content: ex.errMsg,
-								showCancel: false,
-								confirmText: this.translateSys("close")
-							});
+							showError(ex,  this.translateSys('error') )
 						});
 				} else
 					this.data = [];
@@ -135,12 +132,8 @@
 					}
 				}
 				if (data.length == 0) {
-					uni.showModal({
-						title: this.translateSys("tip"),
-						content: this.translate('tip_no_select_user'),
-						showCancel: false,
-						confirmText: this.translateSys("close")
-					});
+					showInfo(this.translate('tip_no_select_user'))
+				
 					return;
 				}
 				const eventChannel = this.getOpenerEventChannel();

--
Gitblit v1.9.1