seimin 5 months ago
parent
commit
4e5bc6fc97
2 changed files with 17 additions and 17 deletions
  1. 1 1
      assets/js/config.router.js
  2. 16 16
      assets/js/controllers/customform/customformCtrl.js

+ 1 - 1
assets/js/config.router.js

@@ -199,7 +199,7 @@ app.config(['$authProvider', '$httpProvider', '$stateProvider', '$urlRouterProvi
199 199
         // $httpProvider.defaults.headers.get['Pragma'] = 'no-cache';
200 200
         // For any unmatched url, redirect to /app/dashboard
201 201
         // $urlRouterProvider.otherwise("/app/knowledge/forum");
202
-        // $urlRouterProvider.otherwise("/");
202
+        $urlRouterProvider.otherwise("/login/signin");
203 203
         //
204 204
         // Set up the states
205 205
         $stateProvider.state('app', {

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

@@ -9153,22 +9153,22 @@ appFormly.config(function config(formlyConfigProvider) {
9153 9153
             // })
9154 9154
             //黑名单
9155 9155
             // $scope.sumInfo.blacklist = "否"
9156
-            api_webservice1.fetchDataList("queryInhibit", { "userId": $scope.model.incident.account }).then(function(response) {
9157
-                // if (response.status == 200) {
9158
-                // $scope.loginsumInfo = response.data;
9159
-                if (response) {
9160
-                    if (response.data || response.data != null) {
9161
-                        $scope.sumInfo.blacklist = "是"
9162
-                    } else {
9163
-                        if (response.err) {
9164
-                            // SweetAlert.swal("系统错误!", "黑名单未取到,请刷新重试", "error");
9165
-                        } else {
9166
-                            $scope.sumInfo.blacklist = "否"
9167
-                        }
9168
-                    }
9169
-                }
9170
-                // }
9171
-            })
9156
+            // api_webservice1.fetchDataList("queryInhibit", { "userId": $scope.model.incident.account }).then(function(response) {
9157
+            //     // if (response.status == 200) {
9158
+            //     // $scope.loginsumInfo = response.data;
9159
+            //     if (response) {
9160
+            //         if (response.data || response.data != null) {
9161
+            //             $scope.sumInfo.blacklist = "是"
9162
+            //         } else {
9163
+            //             if (response.err) {
9164
+            //                 // SweetAlert.swal("系统错误!", "黑名单未取到,请刷新重试", "error");
9165
+            //             } else {
9166
+            //                 $scope.sumInfo.blacklist = "否"
9167
+            //             }
9168
+            //         }
9169
+            //     }
9170
+            //     // }
9171
+            // })
9172 9172
           }else{
9173 9173
             api_bpm_data
9174 9174
             .sumInfo($scope.model.incident.account)