Zhiqim Admin(简版的管理台)是从知启蒙管理台分离出来,保留系统参数表、系统菜单表、操作员、操作日志,去除组织、部门、角色等复杂权限功能,仅保留操作员独立权限功能。系统设计时保留ZmrSessionUser和ZmrOperator类,方便以后升级到知启蒙管理台。

森中灵 最后提交于2月前 修复cache显示错误,增加移动不带条件方法,增加操作日志不带说明方法
operatorsSelector.zml1KB
${Styles.htmlOverflowHidden()}
<script>
Z.onload(function()
{
    Z(document.forms[0].operatorKey).focusEnd();
});

function doSelector()
{
    var operatorCodes = Z.FM.getCheckeds("operatorCodes");
    parent.doOperatorsSelectorCallback(operatorCodes);
    parent.Z.Dialog.close(location.hash);
}
</script>

<#-- 查询 -->
<div class="z-fixed z-t0 z-l0 z-w100p z-pd10 z-bg-gray">
<form method="post">
    <input name="operatorKey" class="z-float-left z-input z-w300 zi-h35 zi-bd-r-none" placeholder="操作员账号或名称" value="${operatorKey}" maxlength="20">
    <button type="submit" class="z-float-left z-button z-w70 z-h35 zi-bd-rd0 ${zmr_color_class}"><i class="z-font z-query"></i></button>
</form>
</div>

<#-- 列表 -->
<div class="z-w100p z-pd10 z-overflow-auto" style="margin-top:55px;height:306px;">
<table class="z-table z-bordered z-pd5 z-text-center">
<tr class="z-h40 z-bg-gray">
    <td width="60">选择</td>
    <td width="90">操作员头像</td>
    <td width="110">操作员账号</td>
    <td width="*">操作员姓名</td>
</tr>
${zhiqim_manager_tr_no_record(list, "没有可选择的操作员")}
<#for item : list>
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_checkbox()}>
    <td><input name="operatorCodes" type="checkbox" data-role="z-checkbox" data-class="z-blue" value="${item.getOperatorCode()}"></td>
    <td><img class="z-w50 z-h50 z-bd-rd50p" src="${sessionUser.getAvatarUrl(item.getOperatorAvatar(), 50)}"></td>
    <td>${item.getOperatorCode()}</td>
    <td>${item.getOperatorName()}</td>
</tr>
</#for>
</tale>
</div>

<#-- 操作 -->
<div class="z-fixed z-b0 z-l0 z-w100p z-h60 z-pd10 z-bg-gray z-text-center">
    <button class="z-button z-large z-w150 ${zmr_color_class}" onclick="doSelector();">确定</button>
    <button class="z-button z-large z-w70 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
</div>