<#assign formId = "${uuid!}"> <#include "/public/template/editTemplate.html"> <#macro editContent>
<#if (item.loginPwd)??> <#else> style="display:none"> <#if (loginUser.isSuperuser)?exists && (loginUser.isSuperuser)==true> <#else> style="display:none"> style="display:none"> style="display:none"> style="display:none"> style="display:none;">
* readonly="readonly" /> <#if !(item.loginPwd)?? >
<@ZKUI.Input hideLabel="true" type="checkbox" id="resetPassword"/>
<@i18n 'auth_user_password'/>*

<@i18n 'auth_user_pwdRequired'/>

*
<@ZKUI.Combo empty="false" width="148" id="tempIsActiveSelect" name="isActive" readonly="true" hideLabel="true"> <@ZKUI.Combo empty="false" width="148" id="tempIsActiveSelect" name="isActive" disable="true" readonly="true" hideLabel="true"> <@ZKUI.Combo empty="false" width="148" id="tempIsActiveSelect" name="isActive" readonly="true" hideLabel="true">
<@i18n 'auth_authSecurity_setLoginLimit'/> <#if item.userLoginLimit!=null> <@ZKUI.Input hideLabel="true" id="userLoginLimitId${uuid!}" type="checkbox" checked="true" /> <#else> <@ZKUI.Input hideLabel="true" id="userLoginLimitId${uuid!}" type="checkbox" />
<@i18n 'auth_authSecurity_loginLimit'/> <#else>disabled="disabled" value="${item.userLoginLimit!}" name="userLoginLimit" onchange="this.value=this.value<0?0:this.value">

<@i18n 'auth_authSecurity_loginLimitInfo'/>

<#if (item.isSuperuser)?? && (item.isSuperuser) && (item.initFlag)?exists && (item.initFlag)==true> <@ZKUI.Input hideLabel="true" name="isSuperuser" id="isSuperuser" value="true" type="checkbox" checked="checked" disabled="disabled"/> <#elseif (item.isSuperuser)?? && (item.isSuperuser)> <@ZKUI.Input hideLabel="true" name="isSuperuser" id="isSuperuser" value="true" type="checkbox" checked="checked" /> <#elseif (item.initFlag)?exists && (item.initFlag)==true> <@ZKUI.Input hideLabel="true" name="isSuperuser" id="isSuperuser" value="true" type="checkbox" disabled="disabled"/> <#else> <@ZKUI.Input hideLabel="true" name="isSuperuser" id="isSuperuser" value="true" type="checkbox"/> <#if (item.initFlag)?exists && (item.initFlag)==true> <@ZKUI.Input hideLabel="true" name="isSuperuser" id="isSuperuser" value="true" type="checkbox" checked="checked" style="display:none;"/>
<@ZKUI.ComboTree id="authRoleTreeId" width="148" url="authRole.do?tree" value="${(item.roleIds)!}" hideLabel="true" name="roleIds" isTree="true"/>
<@ZKUI.ComboTree id="deptTreeId" width="148" url="authDepartment.do?tree" value="${(item.deptIds)!}" hideLabel="true" name="deptIds" isTree="true" disableSubNodes="true"/>

<@i18n 'auth_user_deptMsg'/>

<@ZKUI.ComboTree id="areaTreeId" width="148" url="authArea.do?tree" value="${(item.areaIds)!}" hideLabel="true" name="areaIds" isTree="true" needCheckAll="false" disableSubNodes="true"/>

<@i18n 'auth_user_areaMsg'/>