Browse Source

去掉拦截器添加orgId条件

hanqingsong 4 years ago
parent
commit
b72c5b273f

+ 3 - 2
src/main/resources/static/app/intelligent/intelligentDetection/service/batchTaskSchemaService.js

@@ -1,5 +1,5 @@
1 1
 "use strict";
2
-angular.module('app.intelligent').service("bathcTaskSchemaService", function($http, $q, APP_CONFIG) {
2
+angular.module('app.intelligent').service("bathcTaskSchemaService", function($http, $q, APP_CONFIG, $rootScope) {
3 3
 
4 4
     // 分页列表数据
5 5
     this.getTaskSchemaPageInfo = function (pageInfo,search,type) {
@@ -12,7 +12,8 @@ angular.module('app.intelligent').service("bathcTaskSchemaService", function($ht
12 12
                 pageSize : pageInfo.pageSize,
13 13
                 tName : search == undefined ? "":search.tName,
14 14
                 tState : search == undefined ? "":search.tState,
15
-                tCategory : type
15
+                tCategory : type,
16
+                orgId : $rootScope.orgInfo.orgId
16 17
             }
17 18
         }).then(function successCallback(response) {
18 19
             // 请求成功执行代码