示例#1
0
def add_role(ret, content, *args, **kwargs):
    '''
    增加岗位
    :param ret:
    :param content:
    :param args:
    :param kwargs:
    :return:
    '''
    return views.action_add(ret, 'Role', content)
示例#2
0
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)
示例#3
0
def add_department(ret, content, *args, **kwargs):
    '''
    增加部门
    :param ret:
    :param content:
    :param args:
    :param kwargs:
    :return:
    '''
    return views.action_add(ret, 'Department', content)
示例#4
0
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)
示例#5
0
def add_authority_user(ret, content, *args, **kwargs):
    '''
    增加用户权限
    :param ret:
    :param content:
    :param args:
    :param kwargs:
    :return:
    '''
    return views.action_add(ret, 'AuthorityUser', content)
示例#6
0
def add_authority_role(ret, content, *args, **kwargs):
    '''
    增加角色权限
    :param ret:
    :param content:
    :param args:
    :param kwargs:
    :return:
    '''
    return views.action_add(ret, 'AuthorityRole', content)
示例#7
0
def add_authority_company(ret, content, *args, **kwargs):
    '''
    增加公司权限
    :param ret:
    :param content:
    :param args:
    :param kwargs:
    :return:
    '''
    return views.action_add(ret, 'AuthorityCompany', content)
示例#8
0
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)
示例#9
0
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)
示例#10
0
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)
示例#11
0
def add_authority_department(ret, content, *args, **kwargs):
    '''
    增加部门权限
    :param ret:
    :param content:
    :param args:
    :param kwargs:
    :return:
    '''

    return views.action_add(ret, 'AuthorityDepartment', content)