|
|
@ -1,10 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.controller('JoinClassController', ['$scope', '$http', 'auth', 'config', 'alertService','$location','$routeParams','rms', function($scope, $http, auth, config, alertService, $location,$routeParams, rms){
|
|
|
|
app.controller('JoinClassController', ['$scope', '$http', 'auth', 'config', 'alertService','$location','$routeParams','rms','wx', function($scope, $http, auth, config, alertService, $location,$routeParams, rms,wx){
|
|
|
|
var vm = $scope;
|
|
|
|
var vm = $scope;
|
|
|
|
|
|
|
|
|
|
|
|
// vm.current_edit_member = rms.get('current_edit_member');
|
|
|
|
// vm.current_edit_member = rms.get('current_edit_member');
|
|
|
|
vm.current_edit_member = null;
|
|
|
|
vm.current_edit_member = null;
|
|
|
|
|
|
|
|
var tag = $routeParams.tag;
|
|
|
|
|
|
|
|
|
|
|
|
vm.alertService = alertService.create();
|
|
|
|
vm.alertService = alertService.create();
|
|
|
|
|
|
|
|
|
|
|
@ -17,7 +18,13 @@ app.controller('JoinClassController', ['$scope', '$http', 'auth', 'config', 'ale
|
|
|
|
// vm.alertService.showMessage('提示', '您确定不对角色进行变更吗?', function(){
|
|
|
|
// vm.alertService.showMessage('提示', '您确定不对角色进行变更吗?', function(){
|
|
|
|
// window.history.back();
|
|
|
|
// window.history.back();
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
window.history.back();
|
|
|
|
if(tag){
|
|
|
|
|
|
|
|
window.history.back();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else{
|
|
|
|
|
|
|
|
wx.closeWindow();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
vm.joinClass = function(){
|
|
|
|
vm.joinClass = function(){
|
|
|
|