ソースを参照

人员管理保存后跳到列表

seimin 3 年 前
コミット
4b0d409c71
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1 0
      assets/js/controllers/system/systemFormCtrl.js

+ 1 - 0
assets/js/controllers/system/systemFormCtrl.js

@@ -887,6 +887,7 @@ sysFormly.controller('SystemformCtrl', ['$rootScope', '$scope', '$parse', '$filt
887
                                                             confirmButtonColor: "#007AFF"
887
                                                             confirmButtonColor: "#007AFF"
888
                                                         }, function () {
888
                                                         }, function () {
889
                                                             console.log(vm.model);
889
                                                             console.log(vm.model);
890
+                                                            $state.go($scope.formData.cancelUrl);
890
                                                             // if (vm.fields[0].templateOptions.label == '新增/编辑用户') {
891
                                                             // if (vm.fields[0].templateOptions.label == '新增/编辑用户') {
891
                                                             //     var modalInstance = $modal.open({
892
                                                             //     var modalInstance = $modal.open({
892
                                                             //         templateUrl: 'assets/views/system/qxts.html',
893
                                                             //         templateUrl: 'assets/views/system/qxts.html',