Selaa lähdekoodia

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

seimin 3 vuotta sitten
vanhempi
commit
4aad1e8d32
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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
     };