소스 검색

智能仓房添加查询条件(前端)

hanqingsong 3 년 전
부모
커밋
62de30f283
1개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 6 3
      src/main/resources/static/app/intelligent/grainDetection/service/temperatureRecordService.js

+ 6 - 3
src/main/resources/static/app/intelligent/grainDetection/service/temperatureRecordService.js

@@ -148,7 +148,8 @@ angular.module('app.intelligent').service("temperatureRecordService", function($
148 148
             method : 'POST',
149 149
             url : APP_CONFIG.intelligentUrl + '/intelligents/temperatureRecord/sendTemperatureDetection',
150 150
             data : {
151
-                storeCode : storeCode
151
+                storeCode : storeCode,
152
+                orgId : $rootScope.orgInfo.orgId
152 153
             }
153 154
         }).then(function successCallback(response) {
154 155
             // 请求成功执行代码
@@ -167,7 +168,8 @@ angular.module('app.intelligent').service("temperatureRecordService", function($
167 168
             method : 'GET',
168 169
             url : APP_CONFIG.intelligentUrl + '/intelligents/temperatureRecord/sendTemperatureDetectionAll',
169 170
             params : {
170
-                tType: tType
171
+                tType: tType,
172
+                orgId : $rootScope.orgInfo.orgId
171 173
             }
172 174
         }).then(function successCallback(response) {
173 175
             // 请求成功执行代码
@@ -187,7 +189,8 @@ angular.module('app.intelligent').service("temperatureRecordService", function($
187 189
             url : APP_CONFIG.intelligentUrl + '/intelligents/temperatureRecord/sendOnlyStoreDetection',
188 190
             data : {
189 191
                 storeCode : storehouse,
190
-                tType: tType
192
+                tType: tType,
193
+                orgId : $rootScope.orgInfo.orgId
191 194
             }
192 195
         }).then(function successCallback(response) {
193 196
             // 请求成功执行代码