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

森中灵 最后提交于2月前 修复cache显示错误,增加移动不带条件方法,增加操作日志不带说明方法
validatePassword.zml1KB
${Styles.htmlOverflowHidden()}
<script>
function doValidatePassword()
{
    var operatorPass = Z("#operatorPass").val();
    if (!operatorPass)
    {
        Z.alert("请输入操作员密码");
        return;
    }
    
    var ajax = new Z.Ajax();
    ajax.setClassName("ZmrOperatorPresenter");
    ajax.setMethodName("doValidatePassword");
    ajax.addParam(operatorPass);
    ajax.setFailureAlert();
    ajax.setSuccess(function(){parent.doValidatePasswordCallback("${param}");});
    ajax.execute();
}
</script>

<#-- 查询 -->
<table class="z-table z-mg-t20 z-pd10 z-lh50">
<tr class="z-h60">
    <td width="110">验证密码:</td>
    <td width="*">
        <input id="operatorPass" type="password" class="z-float-left z-input z-w180 zi-h35 zi-bd-r-none" placeholder="操作员密码" maxlength="20">
        <button class="z-float-left z-button z-w70 z-h35 zi-bd-rd0 ${zmr_color_class}" onclick="doValidatePassword();">验证</button>
    </td>
</tr>
</table>
 
<#-- 操作 -->
<div class="z-absolute z-b0 z-l0 z-w100p z-h60 z-text-center z-bg-gray z-pd10">
    <button type="button" class="z-button z-large z-w150" onclick="parent.Z.Dialog.close(location.hash);">关闭</button>
</div>