|
|
@@ -406,6 +406,10 @@ define(['app/app'], function (app) {
|
|
|
* 变更到更新状态
|
|
|
*/
|
|
|
$scope.changeToUpdate = function (isUpdate) {
|
|
|
+ if ($rootScope.userInfo.userUU != $rootScope.userInfo.enterprise.enAdminuu) {
|
|
|
+ toaster.pop('error', '您无该模块的编辑权限,请联系企业管理员进行编辑维护!');
|
|
|
+ return;
|
|
|
+ }
|
|
|
$scope.updateState = isUpdate;
|
|
|
if ($scope.updateState == false) {
|
|
|
$scope.enterpriseInfo = angular.copy($scope.enterpriseInfoBackup);
|