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/selPrj/index.vue | 24 ++++++------------------
1 files changed, 6 insertions(+), 18 deletions(-)
diff --git a/pages/selPrj/index.vue b/pages/selPrj/index.vue
index 09989bb..55751b9 100644
--- a/pages/selPrj/index.vue
+++ b/pages/selPrj/index.vue
@@ -35,6 +35,8 @@
import {
projectGetAnalysisList
} from "@/api/index.js"
+ import {showInfo,
+ showError} from "@/js/Page.js"
export default {
data() {
return {
@@ -79,12 +81,7 @@
this.data = list;
}).catch(ex => {
// console.log(ex);
- uni.showModal({
- title: this.translateSys("error") + "1.1",
- content: ex.errMsg,
- showCancel: false,
- confirmText: this.translateSys("close")
- });
+ showError(ex, this.translateSys('error') + "1.1")
});
},
methods: {
@@ -137,12 +134,7 @@
}).catch(ex => {
// console.log(ex);
- uni.showModal({
- title: this.translateSys("error") + "2.1",
- content: ex.errMsg,
- showCancel: false,
- confirmText: this.translateSys("close")
- });
+ showError(ex, this.translateSys('error') + "2.1")
});
},
@@ -166,12 +158,8 @@
}
}
if (data.length == 0) {
- uni.showModal({
- title: this.translateSys("tip"),
- content: this.translate('tip_no_select_project'),
- showCancel: false,
- confirmText: this.translateSys("close")
- });
+ showInfo(this.translate('tip_no_select_project'))
+
return;
}
const eventChannel = this.getOpenerEventChannel();
--
Gitblit v1.9.1