From 245895f78be2ed25a615608a092490a4042a906b Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期一, 29 九月 2025 17:43:08 +0800
Subject: [PATCH] test

---
 pages/selpsn/index.vue |   20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/pages/selpsn/index.vue b/pages/selpsn/index.vue
index badd763..416c86b 100644
--- a/pages/selpsn/index.vue
+++ b/pages/selpsn/index.vue
@@ -1,5 +1,5 @@
 <template>
-	<view class="uni-page-selpsn">
+	<view class="uni-page-selpsn" :class="largeMode?'large-mode':''">
 		<view style="height:90%;">
 			<input type="text" class="txt_search" v-model="searchVal" @input="onkeyup"
 				:placeholder="translate('input_user_name_jp_query')">
@@ -34,9 +34,12 @@
 	import {
 		querySelPsn
 	} from "@/api/index.js"
+	import {showInfo,
+		showError} from "@/js/Page.js"
 	export default {
 		data() {
 			return {
+					largeMode: getApp().globalData.largeMode || false,
 				title: this.translate('select_user'),
 				mulit: '',
 				param: {},
@@ -103,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 = [];
@@ -134,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