瀏覽代碼

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

cuiyalong 6 月之前
父節點
當前提交
ae83f9cf99
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      apps/bigmember_pc/src/views/analysisReport/MarketAnalysis.vue

+ 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;
   }
 }