Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
森中灵 最后提交于11天前 替换为8.0.5版本
operatorModifyPassword.zml2KB
${request.getValidateScript()}
<script>
function doRandomPass(form)
{
var random = Z.random(4, 4) + Z.random(1, 9) + Z.random(3, 1);
Z("#randomPass").text(random);
Z(form.newPassword).val(random);
Z(form.newPassword2).val(random);
}
function doModifyPass(form)
{
var password = form.newPassword.value;
if (Z.V.isEmpty(password))
{
Z.failure("新密码不能为空");
return;
}
if (Z.V.isEmpty(form.newPassword2.value))
{
Z.failure("新确认密码不能为空");
return;
}
if (password != form.newPassword2.value)
{
Z.failure("新密码和新确认密码不相同");
return;
}
var ajax = new Z.Ajax();
ajax.setClassName("org.zhiqim.manager.action.OperatorAction");
ajax.setMethodName("item");
ajax.addParam("operatorCode", "${operatorCode}");
ajax.addParam("paramKey", "operatorPass");
ajax.addParam("paramValue", password);
ajax.setFailureAlert();
ajax.setSuccessAlertReloadParent("修改成功");
ajax.execute();
}
</script>
<form>
<input type="text" class="z-hidden-fixed">
<input type="password" class="z-hidden-fixed">
<table class="z-table z-mg-t10 z-mg-b10">
<tr class="z-h60">
<td width="100" class="zi-pd-l10">新 密 码:</td>
<td width="200"><input name="newPassword" type="password" class="z-input z-w200 ${zmr_color_class}" maxlength="16" autocomplete="off"></td>
<td width="20" class="z-px14 z-text-red zi-pd-t6 z-text-center">*</td>
<td width="*" class="zi-pd-r10 z-px12 z-color-999">6-16位密码,大写字母、小写字母、数字和特殊字符必须四选三,特殊字符支持</span><span class="z-px12 z-color-999 z-samp">.`_~!@#$%</span></td>
</tr>
<tr class="z-h60">
<td class="zi-pd-l10">确认密码:</td>
<td><input name="newPassword2" type="password" class="z-input z-w200 ${zmr_color_class}" maxlength="16" autocomplete="off"></td>
<td class="z-px14 z-text-red zi-pd-t6 z-text-center">*</td>
<td class="zi-pd-r10 z-px14 z-color-999">再次输入新密码</td>
</tr>
</table>
<div class="z-absolute z-b0 z-l0 z-w100p z-h80 z-pd20 z-text-center z-bg-gray">
<div class="z-absolute" style="bottom:20px;left:10px;">
<button type="button" class="z-button z-large z-w120" onclick="doRandomPass(this.form)">生成随机密码</button>
<span id="randomPass" class="z-samp"></span>
</div>
<button type="button" class="z-button z-large z-w100 z-mg-l50 ${zmr_color_class}" onclick="doModifyPass(this.form);">提交</button>
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close();">关闭</button>
</div>
</form>