|
|
|
@ -89,6 +89,9 @@ define(['angular', 'uiRouter'], function (angular) {
|
|
|
|
|
var param = {nick:servant.nick};
|
|
|
|
|
$http.put('/sys/openim/servant/'+servant.manager_id+'/nick',param).then(function (resp) {
|
|
|
|
|
$scope.ctrl.nick[servant.display_name] = false;
|
|
|
|
|
if(!servant.password){
|
|
|
|
|
$scope.loadServants();
|
|
|
|
|
}
|
|
|
|
|
},function (resp) {
|
|
|
|
|
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
|
|
|
|
|
});
|
|
|
|
|