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

森中灵 最后提交于11天前 替换为8.0.5版本
operatorOnline.zml2KB
${zhiqim_manager_breadcrumb_parent("operator.htm", "操作员管理", "操作员在线列表")}
${zhiqim_manager_content()}

<script>
function doRemove(sessionId)
{
    var ajax = new Z.Ajax();
    ajax.setClassName("ZmrOperatorPresenter");
    ajax.setMethodName("doRemoveOnlineOperator");
    ajax.addParam(sessionId);
    ajax.setFailureAlert();
    ajax.setSuccessAlertReload("剔除成功");
    ajax.execute();
}
</script>

<#-- 导航 -->
<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)}
    ${zhiqim_manager_tabnav("角色", "/"+zhiqim_manager+"/role.htm", true)}
    ${zhiqim_manager_tabnav("日志", "/"+zhiqim_manager+"/operateLog.htm", true)}
    <li class="z-active">在线</li>
</ul>
</nav>
</div>

<#-- 列表 -->
<table class="z-table z-bordered z-mg-t20 z-pd10 z-bg-white z-lh150p z-text-center">
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
    <td width="180">操作员账号</td>
    <td width="180">操作员名称</td>
    <td width="20%">登录时间</td>
    <td width="*">最后访问</td>
    <td width="120">管理员</td>
    <td width="120">操作</td>
</tr>
<#for item : result.list()>
<tr class="z-h60" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
    <td>${item.getOperatorCode()}</td>
    <td>${item.getOperatorName()}</td>
    <td>${item.getCreateTime()}</td>
    <td>${item.getLastAccessTime()}(还剩<span class="z-text-red">${item.getRemainMinute()}</span>分钟)</td>
    <td><#if item.getOperatorType() lt 2>是<#else>否</#if></td>
    <td>
        <#if sessionUser.getSessionId() == item.getSessionId()>
        自己
        <#elseif ZmrAdminRule.check(request)>
        <button class="z-button z-red" onclick="doRemove('${item.getSessionId()}')">剔除</button>
        <#else>
        --
        </#if>
    </td>
</tr>
</#for>
${zhiqim_manager_tr_no_record(result, "暂时没有操作员在线")}
</table>
${zhiqim_manager_paging(result)}
${zhiqim_manager_content_end()}