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

森中灵 最后提交于9月前 整理为组织方式和替换新的jar
profile.zml3KB
${zhiqim_manager_breadcrumb("基本信息")}
${zhiqim_manager_content()}

<script>
function doCloseSuperAdmin()
{//关闭超级管理员
    var ajax = new Z.Ajax();
    ajax.setClassName("ZmrProfilePresenter");
    ajax.setMethodName("doCloseSuperAdmin");
    ajax.setFailureAlert();
    ajax.setSuccessAlertLocation("关闭成功,请确定退出...", "logout.htm", top);
    ajax.execute();
}

function doModifyAvatar()
{//修改头像
    var dialog = new Z.Dialog();
    dialog.title = "更换头像";
    dialog.url = "profileModifyAvatar.htm";
    dialog.width = 800;
    dialog.height = 480;
    dialog.fixed = true;
    dialog.execute();
}

function doUploadAvatar()
{//上传头像
    var dialog = new Z.Dialog();
    dialog.title = "上传头像";
    dialog.url = "profileUploadAvatar.htm";
    dialog.width = 800;
    dialog.height = 480;
    dialog.fixed = true;
    dialog.execute();
}

function doModifyPassword()
{//修改密码
    var dialog = new Z.Dialog();
    dialog.title = "修改登录密码";
    dialog.url = "profileModifyPassword.htm";
    dialog.width = 650;
    dialog.height = 280;
    dialog.fixed = true;
    dialog.execute();
}

function doModifyMobile()
{//修改手机号
    var dialog = new Z.Dialog();
    dialog.title = "修改手机号";
    dialog.url = "profileModifyMobile.htm";
    dialog.width = 620;
    dialog.height = 230;
    dialog.fixed = true;
    dialog.execute();
}


function doSetMobileLogin()
{
    var ajax = new Z.Ajax();
    ajax.setClassName("ZmrProfilePresenter");
    ajax.setMethodName("doSetMobileLogin");
    ajax.setFailureAlert();
    ajax.setSuccessAlertReload("修改成功");
    ajax.setLoading(document, true);
    ajax.execute();
}
</script>

<#-- 列表 -->
<div class="z-h40 z-lh40"><i class="z-font z-customer z-px20 z-mg-r5"></i><span class="z-px20">基本信息</span></div>
<table class="z-table z-bordered-line z-pd20 z-w100p z-h70-tr z-px16 z-mg-t10">
<tr>
    <td width="160">组织名称:</td>
    <td width="*" class="z-color-666">${org.getOrgName()}</td>
    <td width="20%"></td>
</tr>
<tr>
    <td>我的头像:</td>
    <td><img src="${sessionUser.getAvatar50()}" class="z-w50 z-h50 z-bd-rd50p"/></td>
    <td align="right">
        <a class="blue" href="javascript:doModifyAvatar();">更换头像</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a class="blue" href="javascript:doUploadAvatar();">上传头像</a>
    </td>
</tr>   
<tr>
    <td>我的账号:</td>
    <td class="z-color-666">${Validates.isEmpty(sessionUser.getOperatorCode())?"(未设置)":sessionUser.getOperatorCode()}</td>
    <td align="right"><#if sessionUser.isSuperAdmin()><a class="blue" href="javascript:doCloseSuperAdmin()">关闭超级管理员</a></#if></td>
</tr>
<tr>
    <td>登录密码:</td>
    <td class="z-color-666">${Validates.isEmptyBlank(sessionUser.getOperator().getOperatorPass())?"(未设置)":"******"}</td>
    <td align="right"><a href="javascript:doModifyPassword();"><span class="z-text-blue">修改<span></a></td>
</tr>
<tr>
    <td>手机号码:</td>
    <td class="z-color-666">${Validates.isEmpty(sessionUser.getOperatorMobile())?"(未绑定)":sessionUser.getOperatorMobile()}</td>
    <td align="right"><a href="javascript:doModifyMobile();"><span class="z-text-blue">修改<span></a></td>
</tr>
<#if Validates.isNotEmpty(sessionUser.getOperatorMobile())>
<tr>
    <td>手机登录:</td>
    <td class="z-color-666">${sessionUser.getOperator().isOperatorMobileLogin()?"手机号是登录名":"手机号不是登录名"}</td>
    <td align="right"><a href="javascript:doSetMobileLogin()"><span class="z-text-blue">${sessionUser.getOperator().isOperatorMobileLogin()?"取消":"设置"}<span></a></td>
</tr>
</#if>
<tr>
    <td>最后登录:</td>
    <td class="z-color-666" colspan="2">${sessionUser.getCreateTime()}</td>
</tr>
</table>
${zhiqim_manager_content_end()}