Zhiqim Account(前端账户管理台)是在ZhiqimManager基础上改造成用于前端注册登录的管理系统,增加组织结构和余额,开放注册组织和组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
registerSubmit.zml2KB
${Styles.htmlOverflowYAuto()}
<script>
Z.onload(function()
{
Z(".form").css("height", Z.Document.clientHeight() - 55);
Z(window).resize(function(){Z(".form").css("height", Z.Document.clientHeight() - 55)});
});
function doRegSubmit(form)
{
var check = Z.FM.isChecked("checkbox", form);
if (check == false)
{
Z.alert("请勾选已阅读并同意用户注册协议");
return false;
}
var ajax = new Z.Ajax();
ajax.setClassName("ZmrPassportPresenter");
ajax.setMethodName("registerSubmit");
ajax.setParamForm(form);
ajax.setFailure(function(){Z(form.submit).attr("disabled", false);Z.alert(this.responseText);});
ajax.setSuccessLocation("registerSuccess.htm");
ajax.setLoading(form.submit, "注册", {disabled:true,recovery:false});
ajax.execute();
}
function readRegisterProtocol()
{
var dialog = new Z.Dialog();
dialog.title = "用户注册协议";
dialog.url = "/registerProtocol.htm";
dialog.width = 600;
dialog.height = 450;
dialog.fixed = true;
dialog.execute();
}
</script>
<div class="form">
<form action="javascript:void(0);" onsubmit="doRegSubmit(this);">
<input type="text" class="z-hidden-fixed">
<input type="password" class="z-hidden-fixed">
<input name="userAccount" type="hidden" value="${request.getParameter("userAccount")}">
<div class="title" style="height:390px;">
<div class="z-relative-left z-bd-b z-pd-b10 z-w100p z-mg-b20">
<div class="z-relative-left z-50p z-px24"><i class="z-font z-customer"></i> 完善信息</div>
<div class="z-relative-right z-50p z-px16 z-color-gray z-pd-t8">已有账户? <a class="zi-text-blue" href="/login.htm">马上登录</a></div>
</div>
<div class="z-relative-center" style="width:350px;">
<div class="z-mg-t15"><input class="z-input z-w100p zi-h50 z-px14 z-blue z-xlarge zi-pd10 zi-bd-rd5" name="operatorCode" value="" maxlength="20" placeholder="用户名" spellcheck="false"></div>
<div class="z-mg-t15"><input type="password" class="z-input zi-h50 z-px14 z-blue z-xlarge zi-pd10 zi-radius8px" style="width:350px;border-radius:5px;" name="operatorPass" value="" maxlength="20" placeholder="用户密码"></div>
<div class="z-mg-t10"><input type="checkbox" name="checkbox" data-class="z-blue" data-role="z-checkbox" checked="true"> <span class="z-color-999">我已阅读并同意</span> <span onclick="readRegisterProtocol()" class="z-pointer">用户注册协议</span></div>
<div class="z-mg-t20"><button type="submit" name="submit" class="z-button z-xlarge z-w100p zi-pd10 z-blue zi-px20 z-bd-rd5 zi-pointer">注册</button></div>
</div>
</div>
</form>
</div>
@{session.removeAttribute("operatorCode")}

