瀏覽代碼

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

seimin 3 年之前
父節點
當前提交
4aad1e8d32
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      assets/js/controllers/inspect/inspectReportCtrl.js

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

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