cuiqian2004
2025-08-29 7662665a4f88da0f8afa804bd4a34dfbefc1fb56
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();