Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于11天前 替换为8.0.5版本
role.zml2KB
${zhiqim_manager_breadcrumb("角色管理")}
${zhiqim_manager_content()}

<#-- 导航 -->
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
<nav>
<ul class="z-mg-r10">
    ${zhiqim_manager_tabnav("操作员", "/"+zhiqim_manager+"/operator.htm", true)}
    ${zhiqim_manager_tabnav("部门", "/"+zhiqim_manager+"/dept.htm", true)}
    <li class="z-active">角色</li>
    ${zhiqim_manager_tabnav("日志", "/"+zhiqim_manager+"/operateLog.htm", true)}
    ${zhiqim_manager_tabnav("在线", "/"+zhiqim_manager+"/operatorOnline.htm", true)}
</ul>
<div class="z-float-right z-mg-t10 z-mg-r5">
<#if ZmrAdminRule.check(request)>
    <button class="z-button ${zmr_color_class}" onclick="Z.L.href('roleAdd.htm');"><i class="z-font z-add"></i>增加角色</button>
    <button class="z-button ${zmr_color_class}" onclick="Z.L.check('roleModify.htm', 'roleId');"><i class="z-font z-modify"></i>修改角色</button>
    <button class="z-button z-red" onclick="Z.L.confirm('roleDelete.htm', '确认要删除该角色?', 'roleId', zCallFrame);"><i class="z-font z-delete"></i>删除角色</button>
</#if>
</div>
</nav>
</div>

<#-- 列表 -->
<table class="z-table z-bordered z-h40-tr z-text-center z-bg-white">
<tr bgcolor="${zmr_thead_bgcolor}">
    <#if ZmrAdminRule.check(request)>
    <td width="50" align="center">选择</td>
    </#if>
    <td width="160">角色编号</td>
    <td width="*" class="zi-pd-l6 z-text-left">角色名称</td>
    <td width="15%">角色状态</td>
    <td width="10%">角色排序数</td>
    <td width="200">操作</td>
</tr>
${zhiqim_manager_tr_no_record(list, "暂时没有角色信息")}
<#for item : list>
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
    <#if ZmrAdminRule.check(request)>
    <td align="center"><input name="roleId" type="radio" data-role="z-radio" data-class="${zmr_color_class}" value="${item.getRoleId()}"></td>
    </#if>
    <td>${item.getRoleId()}</td>
    <td class="zi-pd-l6 z-text-left">#{item.getRoleName()}</td>
    <td><#if item.isRoleValid()>正常<#else><span class="z-color-red">停用</span></#if></td>
    <td>${item.getRoleSeq()}</td>
    <#if ZmrAdminRule.check(request)>
    <td>
        <button class="z-button z-cyan" onclick="Z.L.href('roleOperator.htm?roleId=${item.getRoleId()}');">成员管理</button>
        <button class="z-button z-purple" onclick="Z.L.href('roleRule.htm?roleId=${item.getRoleId()}');">权限管理</button>
    </td>
    </#if>
</tr>
</#for>
</table>
${zhiqim_manager_list(list.size())}
${zhiqim_manager_content_end()}