Przeglądaj źródła

feat: 定制化分析报告提示添加

cuiyalong 6 miesięcy temu
rodzic
commit
ae83f9cf99

+ 7 - 1
apps/bigmember_pc/src/views/analysisReport/MarketAnalysis.vue

@@ -353,6 +353,10 @@ export default {
         } else {
           this.generateConfirm(data)
         }
+      } else {
+        if (msg) {
+          this.$toast(msg || '操作失败!')
+        }
       }
     },
     showAnalysisResult(id) {
@@ -377,6 +381,8 @@ export default {
             }
           })
         })
+      } else if (resData.status === -1) {
+        this.$toast(resData.msg || '报告生成失败!')
       }
     },
     // 跳转到推送设置页
@@ -594,7 +600,7 @@ export default {
       }
     }
   }
-  .analyse-filter-time .s-header{
+  .analyse-filter-time .s-header {
     margin-top: 2px;
   }
 }