فهرست منبع

Merge remote-tracking branch 'origin/master'

wangqiang 2 سال پیش
والد
کامیت
c0427cab29
1فایلهای تغییر یافته به همراه9 افزوده شده و 7 حذف شده
  1. 9 7
      src/views/modules/cw/reportManagement/reportReview/ReportReviewForm.vue

+ 9 - 7
src/views/modules/cw/reportManagement/reportReview/ReportReviewForm.vue

@@ -833,13 +833,15 @@
                 this.inputForm.taskName = data
               })
             }
-            data.reviewBys.forEach(re => {
-              let va = {
-                label: re.name,
-                value: re.sysUserId
-              }
-              this.reviewBys.push(va)
-            })
+            if(data.reviewBys){
+              data.reviewBys.forEach(re => {
+                let va = {
+                  label: re.name,
+                  value: re.sysUserId
+                }
+                this.reviewBys.push(va)
+              })
+            }
             this.$refs.enclosure.newUpload('view', data.cwFileInfoList2, 'cwWorkContract', null, null, null, null, false)
             // this.$refs.archiveFile.newUpload('view', data.cwFileInfoList, 'cwWorkContract', null, null, null, null, false)
             this.loading = false