瀏覽代碼

报修人接口修改

seimin 11 月之前
父節點
當前提交
68787d4318

+ 6 - 6
assets/js/controllers/customform/customformCtrl.js

@@ -13962,7 +13962,7 @@ appFormly.config(function config(formlyConfigProvider) {
13962 13962
                       user: {
13963 13963
                         name: searchKey,
13964 13964
                         selectType: "pinyin_all",
13965
-                        engineer: 0,
13965
+                        engineer: undefined,
13966 13966
                       },
13967 13967
                       idx: 0,
13968 13968
                       sum: 10,
@@ -13972,7 +13972,7 @@ appFormly.config(function config(formlyConfigProvider) {
13972 13972
                       idx: 0,
13973 13973
                       sum: 10,
13974 13974
                       user: {
13975
-                        engineer: 0,
13975
+                        engineer: undefined,
13976 13976
                       },
13977 13977
                     };
13978 13978
                   }
@@ -14329,7 +14329,7 @@ appFormly.config(function config(formlyConfigProvider) {
14329 14329
                             user: {
14330 14330
                               name: selectedItem.account,
14331 14331
                               selectType: "pinyin_all",
14332
-                              engineer: 0,
14332
+                              engineer: undefined,
14333 14333
                             },
14334 14334
                           }).then((res) => {
14335 14335
                             baoxiurenTo.options = res.list;
@@ -14432,7 +14432,7 @@ appFormly.config(function config(formlyConfigProvider) {
14432 14432
                       user: {
14433 14433
                         name: searchKey,
14434 14434
                         selectType: "pinyin_all",
14435
-                        engineer: 0,
14435
+                        engineer: undefined,
14436 14436
                       },
14437 14437
                       idx: 0,
14438 14438
                       sum: 10,
@@ -14442,7 +14442,7 @@ appFormly.config(function config(formlyConfigProvider) {
14442 14442
                       idx: 0,
14443 14443
                       sum: 10,
14444 14444
                       user:{
14445
-                        engineer: 0,
14445
+                        engineer: undefined,
14446 14446
                       }
14447 14447
                     };
14448 14448
                   }
@@ -21983,7 +21983,7 @@ appFormly.controller("CustomformCtrl", [
21983 21983
         sum: 10,
21984 21984
         user: {
21985 21985
           name: loginUser.name,
21986
-          engineer: 0,
21986
+          engineer: undefined,
21987 21987
         },
21988 21988
       };
21989 21989
       api_user_data.fetchDataList("user", userData).then(function (res) {

+ 2 - 2
assets/js/controllers/desk/chartCtrl.js

@@ -242,7 +242,7 @@ app.controller('chartCtrl', ["$scope", "i18nService", "$rootScope", "$state", "$
242 242
             "user": {
243 243
                 "name": key,
244 244
                 selectType: "pinyin_all",
245
-                engineer: 0,
245
+                engineer: undefined,
246 246
             }
247 247
         }
248 248
         getUser(filuser);
@@ -250,7 +250,7 @@ app.controller('chartCtrl', ["$scope", "i18nService", "$rootScope", "$state", "$
250 250
     getUser({
251 251
         "idx": 0,
252 252
         "sum": 10,
253
-        user: {engineer: 0,}
253
+        user: {engineer: undefined,}
254 254
     });
255 255
     //搜索
256 256
     $scope.chiceIncident = function (item) {

+ 3 - 3
assets/js/controllers/desk/recordCtrl.js

@@ -215,7 +215,7 @@ app.controller("recordCtrl", [
215 215
         sum: 10,
216 216
         user: {
217 217
           phone: recorddata.ano,
218
-          engineer: 0,
218
+          engineer: undefined,
219 219
         },
220 220
       };
221 221
       api_user_data
@@ -273,7 +273,7 @@ app.controller("recordCtrl", [
273 273
                       user: {
274 274
                         searchKey: searchKey,
275 275
                         selectType: "pinyin_all",
276
-                        engineer: 0,
276
+                        engineer: undefined,
277 277
                       },
278 278
                       idx: 0,
279 279
                       sum: 10,
@@ -283,7 +283,7 @@ app.controller("recordCtrl", [
283 283
                       idx: 0,
284 284
                       sum: 10,
285 285
                       user: {
286
-                        engineer: 0,
286
+                        engineer: undefined,
287 287
                       }
288 288
                     };
289 289
                   }

+ 1 - 1
assets/js/controllers/incident/incidentCtrl.js

@@ -737,7 +737,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
737 737
             idx: 0,
738 738
             sum: 100,
739 739
             user:{
740
-                engineer: 0,
740
+                engineer: undefined,
741 741
             }
742 742
         }).then(function (data) {
743 743
             // console.log(data);

+ 7 - 7
assets/js/controllers/mainCtrl.js

@@ -1097,7 +1097,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
1097 1097
                                                 if (response.cdrid) {
1098 1098
                                                     var cdrid = response.cdrid;
1099 1099
                                                     // var response={cdrid:'219023836'}
1100
-                                                    var filterData = { "idx": 0, "sum": 10, "user": { "phone": $rootScope.phone, engineer: 0, } }
1100
+                                                    var filterData = { "idx": 0, "sum": 10, "user": { "phone": $rootScope.phone, engineer: undefined, } }
1101 1101
                                                     api_user_data.fetchDataList('user', filterData).then(function(data) {
1102 1102
                                                         var myData = Restangular.stripRestangular(data);
1103 1103
                                                         // $rootScope.phone="";
@@ -1155,7 +1155,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
1155 1155
                                                                                 'user': {
1156 1156
                                                                                     'name': searchKey,
1157 1157
                                                                                     selectType: "pinyin_all",
1158
-                                                                                    engineer: 0,
1158
+                                                                                    engineer: undefined,
1159 1159
                                                                                 },
1160 1160
                                                                                 idx: 0,
1161 1161
                                                                                 sum: 10
@@ -1165,7 +1165,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
1165 1165
                                                                                 idx: 0,
1166 1166
                                                                                 sum: 10,
1167 1167
                                                                                 user: {
1168
-                                                                                  engineer: 0,
1168
+                                                                                  engineer: undefined,
1169 1169
                                                                                 }
1170 1170
                                                                             };
1171 1171
                                                                         }
@@ -1449,7 +1449,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
1449 1449
                   "sum": 100,
1450 1450
                   "user": {
1451 1451
                     "phone": jry_findPhone,
1452
-                    engineer: 0,
1452
+                    engineer: undefined,
1453 1453
                   }
1454 1454
                 }
1455 1455
                 api_user_data.fetchDataList('user', filterData).then(function (data) {
@@ -1502,7 +1502,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
1502 1502
                               'user': {
1503 1503
                                 'name': searchKey,
1504 1504
                                 selectType: "pinyin_all",
1505
-                                engineer: 0,
1505
+                                engineer: undefined,
1506 1506
                               },
1507 1507
                               idx: 0,
1508 1508
                               sum: 10
@@ -1511,7 +1511,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
1511 1511
                             var filterData = {
1512 1512
                               idx: 0,
1513 1513
                               sum: 10,
1514
-                              user: {engineer: 0,}
1514
+                              user: {engineer: undefined,}
1515 1515
                             };
1516 1516
                           }
1517 1517
                           api_user_data.fetchDataList('user', filterData).then(function (response) {
@@ -4704,7 +4704,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
4704 4704
               user: {
4705 4705
                 name: key,
4706 4706
                 selectType: "pinyin_all",
4707
-                engineer: 0,
4707
+                engineer: undefined,
4708 4708
               },
4709 4709
             };
4710 4710
             api_user_data.fetchDataList("user", postData).then(function (data) {

+ 2 - 2
assets/js/controllers/system/user/adminrequesterCtrl.js

@@ -319,7 +319,7 @@ app.controller('adminUserListCtrl_requ', ["$rootScope", "$scope", "$http", "$sta
319 319
                         "houseNumber": data.houseNumber,
320 320
                         "requesterType": data.requesterType,
321 321
                         "weixin": data.weixin,
322
-                        engineer: 0,
322
+                        engineer: undefined,
323 323
                     }
324 324
                 }
325 325
             };
@@ -343,7 +343,7 @@ app.controller('adminUserListCtrl_requ', ["$rootScope", "$scope", "$http", "$sta
343 343
                         "houseNumber": data.houseNumber,
344 344
                         "requesterTypeDTO": data.requesterTypeDTO,
345 345
                         "weixin": data.weixin,
346
-                        engineer: 0,
346
+                        engineer: undefined,
347 347
                     }
348 348
                 }
349 349
             };