|
|
@@ -141,10 +141,10 @@ define(['app/app'], function (app) {
|
|
|
* @param module 模块名称
|
|
|
*/
|
|
|
$scope.showEdit = function (module) {
|
|
|
- if ($rootScope.userInfo.userUU != $rootScope.userInfo.enterprise.enAdminuu) {
|
|
|
- toaster.pop('error', '您无该模块的编辑权限,请联系企业管理员进行编辑维护!');
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if ($rootScope.userInfo.userUU != $rootScope.userInfo.enterprise.enAdminuu) {
|
|
|
+ // toaster.pop('error', '您无该模块的编辑权限,请联系企业管理员进行编辑维护!');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
changeEditStatus(module, true);
|
|
|
};
|
|
|
|
|
|
@@ -545,10 +545,10 @@ define(['app/app'], function (app) {
|
|
|
$scope.cancleProductEdit = cancleProductEdit;
|
|
|
|
|
|
function editRecommendProduct(module, status) {
|
|
|
- if ($rootScope.userInfo.userUU != $rootScope.userInfo.enterprise.enAdminuu) {
|
|
|
- toaster.pop('error', '您无该模块的编辑权限,请联系企业管理员进行编辑维护!');
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if ($rootScope.userInfo.userUU != $rootScope.userInfo.enterprise.enAdminuu) {
|
|
|
+ // toaster.pop('error', '您无该模块的编辑权限,请联系企业管理员进行编辑维护!');
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
if (module == 'BATCH_OPERATION') {
|
|
|
$scope.canBatchOperation = status;
|
|
|
return ;
|