|
|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
angular.module('app').controller('SettingController', ['$scope', '$state', '$stateParams', function ($scope, $state, $stateParams) {
|
|
|
|
|
|
- // lxtalkClient.Invoke('{B36B3985-B13D-45F3-A755-AFA6937B4F33}', '_Register', '', $scope);
|
|
|
+ lxtalkClient.Invoke('{B36B3985-B13D-45F3-A755-AFA6937B4F33}', '_Register', '', $scope);
|
|
|
$scope.user = {
|
|
|
name: '陆趣趣',
|
|
|
l:'0578+0-lslqq',
|
|
|
@@ -64,9 +64,12 @@ angular.module('app').controller('SettingController', ['$scope', '$state', '$sta
|
|
|
var group = reg.exec($scope.user.l);
|
|
|
$scope.user.shortL = group == null? $scope.user.l : group[1];
|
|
|
$scope.sys = settings.sys;
|
|
|
+ $scope.webPanels = settings.webPanels;
|
|
|
console.log(JSON.stringify($scope.sys));
|
|
|
- if ($scope.user.shortL.length >= 15)
|
|
|
- $state.go('setting-enterprise');
|
|
|
+ alert(JSON.stringify($scope.webPanels));
|
|
|
+ //宁夏企税通企业版使用
|
|
|
+ // if ($scope.user.shortL.length >= 15)
|
|
|
+ // $state.go('setting-enterprise');
|
|
|
}
|
|
|
|
|
|
$scope.save = function() {
|
|
|
@@ -79,7 +82,7 @@ angular.module('app').controller('SettingController', ['$scope', '$state', '$sta
|
|
|
settings.hotkey = $scope.hotkey;
|
|
|
if ($scope.netChanged)
|
|
|
settings.net = $scope.net;
|
|
|
- // lxtalkClient.Invoke('{B36B3985-B13D-45F3-A755-AFA6937B4F33}', 'Save', JSON.stringify(settings), null);
|
|
|
+ lxtalkClient.Invoke('{B36B3985-B13D-45F3-A755-AFA6937B4F33}', 'Save', JSON.stringify(settings), null);
|
|
|
$scope.userChanged = false;
|
|
|
$scope.sysChanged = false;
|
|
|
$scope.hotkeyChanged = false;
|