Kaynağa Gözat

巡检报告增加计划主题传参

seimin 3 yıl önce
ebeveyn
işleme
4aad1e8d32

+ 2 - 0
assets/js/controllers/inspect/inspectReportCtrl.js

@@ -132,10 +132,12 @@ app.controller("inspectReportCtrl", [
132 132
         return;
133 133
       }
134 134
       $scope.isMask = false;
135
+      console.log($scope.queryList)
135 136
       $scope.fileData = {
136 137
         idx: 0,
137 138
         sum: 10,
138 139
         batchNo: $scope.queryList.batchNo.name,
140
+        inspectionId: $scope.queryList.title.id
139 141
       };
140 142
       $scope.refreshData("expand-right", $scope.fileData);
141 143
     };