<%
leader = userJson.leader;
leaderName = userJson.mgrName;
officeCode = userJson.officeCode;
releaseFlag = 0;
%>
${userJson.userName}
${@ObjectUtils.anyNotNull(userJson.status)?(@DictUtils.getDictLabel('sys_status', userJson.status, '未知')):'正常'}
<% if (!("estate" == userJson.userType)) {%>
${nvl(userJson.mobile,"暂无")}
<% } %>
<% if ("employee" == userJson.userType || ("estate" == userJson.userType) || (userJson.status !="4")) { %>
<% if (@StringUtils.isNotEmpty(userJson.officeName)) {
print(userJson.officeName);
} else {
print("暂无");
} %>
<% } else {%>
<% if (@StringUtils.isNotEmpty(userJson.officeCode)) {
print(userJson.officeName);
} else {
print("暂无");
} %>
<% } %>
<%
if (!("estate" == userJson.userType) && @StringUtils.isNotEmpty(userJson.officeCode)) {
if (@StringUtils.isEmpty(leader) && !("employee" == userJson.userType)) { releaseFlag = 2; %>
去绑定
<% } else if ("employee" == userJson.userType && @StringUtils.equals(userJson.loginCode,leader)) { releaseFlag = 1; %>
去解绑
<% } else {releaseFlag = 0; } } %>
<% if (!("estate" == userJson.userType) && !@StringUtils.isEmpty(leader) && !@StringUtils.equals(userJson.loginCode, leader)) {
var mgrUserName = @StringUtils.isEmpty(leaderName)?"暂无":userJson.mgrName;
var mgrMobile = @StringUtils.isEmpty(userJson.mgrPhone)?"暂无":userJson.mgrPhone;;
%>
${nvl(mgrUserName,"暂无")}-(${nvl(mgrMobile,"手机号暂空")})
<% } %>