def add_role(ret, content, *args, **kwargs): ''' 增加岗位 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'Role', content)
def add_department_con(ret, content, *args, **kwargs): ''' 增加组织机构 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'Department_Con', content)
def add_department(ret, content, *args, **kwargs): ''' 增加部门 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'Department', content)
def department_user_add(ret, content, *args, **kwargs): ''' 为某部门添加账户 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'User_Con_Department', content)
def add_authority_user(ret, content, *args, **kwargs): ''' 增加用户权限 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'AuthorityUser', content)
def add_authority_role(ret, content, *args, **kwargs): ''' 增加角色权限 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'AuthorityRole', content)
def add_authority_company(ret, content, *args, **kwargs): ''' 增加公司权限 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'AuthorityCompany', content)
def user_role_add(ret, content, *args, **kwargs): ''' 添加账户角色 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'User_Con_Role', content)
def role_department_add(ret, content, *args, **kwargs): ''' 添加部门岗位 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'Role_Con_Department', content)
def user_add(ret, content, *args, **kwargs): ''' 添加用户 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'User_Con_Company', content)
def add_authority_department(ret, content, *args, **kwargs): ''' 增加部门权限 :param ret: :param content: :param args: :param kwargs: :return: ''' return views.action_add(ret, 'AuthorityDepartment', content)