liuhj 1 miesiąc temu
rodzic
commit
f692e7e0c1
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      src/components/OP/performanceanalysis.vue

+ 5 - 0
src/components/OP/performanceanalysis.vue

@@ -326,6 +326,11 @@ export default {
                     that.SCgridData=res.data.data;
                     if (val.depName == '市场部') {
                         if(text=='查看'){
+                            if (val.hasPerformanceData==false) {
+                                that.performanLoading=false;
+                                that.$message.error('该用户尚未生成AI绩效分析,请先生成!');
+                                return
+                            }
                             that.AiPerformanceAnalysis_Query(val)
                         }else{
                             that.AiPerformanceAnalysis_JobMarketing(val);