xjc 4 سال پیش
والد
کامیت
068bbbdcd3
2فایلهای تغییر یافته به همراه17 افزوده شده و 7 حذف شده
  1. 8 3
      src/views/message/InnerSurvey.vue
  2. 9 4
      src/views/message/OutSurvey.vue

+ 8 - 3
src/views/message/InnerSurvey.vue

@@ -631,10 +631,15 @@ export default {
       this.qrcodeUrl = row.template_qrcode;
     },
     showMessageAnalyse(row) {
-      this.$router.push({
-        path: "/message/innerSurvey/analyse",
-        query: { id: row.id, type: row.type },
+      if(row.finish_ids.length){
+        this.$router.push({
+          path: "/message/innerSurvey/analyse",
+          query: { id: row.id, type: row.type },
       });
+      }else{
+        this.$message({ message: "暂无人员填报"});
+      }
+      
     },
     downloadExcel() {
       this.$api

+ 9 - 4
src/views/message/OutSurvey.vue

@@ -595,10 +595,15 @@ export default {
       this.qrcodeUrl = row.template_qrcode;
     },
     showMessageAnalyse(row) {
-      this.$router.push({
-        path: "/message/outSurvey/analyse",
-        query: { id: row.id, type: row.type },
-      });
+      if(row.finish_ids.length){
+        this.$router.push({
+          path: "/message/outSurvey/analyse",
+          query: { id: row.id, type: row.type },
+        });
+      }else{
+        this.$message({ message: "暂无人员填报"});
+      }
+      
     },
     downloadExcel() {
       this.$api