洪海涛 4 سال پیش
والد
کامیت
099a46d635
1فایلهای تغییر یافته به همراه12 افزوده شده و 10 حذف شده
  1. 12 10
      src/views/monthlyReport/childrenPage/editReport/components/MrTable.vue

+ 12 - 10
src/views/monthlyReport/childrenPage/editReport/components/MrTable.vue

@@ -444,16 +444,18 @@ export default {
         run(tabPageData.children)
         console.log(obj)
         // 提交数据
-        updateAnalyticFeedback({
-          reportId: this.$route.query.reportId,
-          reportCatalog: obj
-        }).then((res) => {
-          if (res.code === 200) {
-            console.log(res.data)
-          }
-        })
-        // console.log(this.domKey)
-        // console.log(this.title)
+        if (obj) {
+          updateAnalyticFeedback({
+            reportId: this.$route.query.reportId,
+            reportCatalog: obj
+          }).then((res) => {
+            if (res.code === 200) {
+              console.log(res.data)
+            }
+          })
+          // console.log(this.domKey)
+          // console.log(this.title)
+        }
       }
     },
     /**