Selaa lähdekoodia

统计报表第一次打开页面时 查询了2次

zhulu 1 vuosi sitten
vanhempi
commit
3bfb542940

+ 1 - 0
src/views/core/reportForms/intrusionTestReport.vue

@@ -236,6 +236,7 @@ export default {
 
 
     getList() {
+      if(!this.queryParams.orgId) return;
       this.loading = true;
       listIntrusionTestReport(this.queryParams).then(response => {
         this.checkList = response.data;

+ 1 - 0
src/views/core/reportForms/serviceBankReport.vue

@@ -237,6 +237,7 @@ export default {
 
 
     getList() {
+      if(!this.queryParams.orgId) return;
       this.loading = true;
       listServiceBankReport(this.queryParams).then(response => {
         this.checkList = response.data;

+ 1 - 0
src/views/core/reportForms/standbyPowerReport.vue

@@ -272,6 +272,7 @@ getDeptTree() {
 
 
     getList() {
+      if(!this.queryParams.orgId) return;
       this.loading = true;
       listStandbyPowerReport(this.queryParams).then(response => {
         this.checkList = response.data;