Zhiqim Account(前端账户管理台)是在ZhiqimManager基础上改造成用于前端注册登录的管理系统,增加组织结构和余额,开放注册组织和组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
deptRule.zml3KB
<#top ZmrMenuRule.check(request, "/"+zhiqim_manager+"/dept.htm")/>
${zhiqim_manager_breadcrumb_parent("dept.htm", "部门管理", "部门 ["+dept.getDeptName()+"] 权限管理")}
${zhiqim_manager_content()}
${zhiqim_manager_history("dept.htm")}
<#-- 显示子菜单,并递归显示下级子菜单 -->
<#function showChildMenu(self, parent)>
<table class="z-table z-bordered zi-bd-t-none z-pd-l10 z-pd-r10 z-bg-white">
<tr class="z-h30">
<td width="*">
<#var level = self.self().getMenuLevel()/>
<#for i : 1..(level-1)>
<#if self.isLastNode(level-i)>
<i class="z-ico z-tree z-30 z-normal z-blank"></i>
<#else>
<i class="z-ico z-tree z-30 z-normal z-vertline"></i>
</#if>
</#for>
<#if self.hasChildren()>
<a href="javascript:Zmr.treeExpand('${self.self().getMenuCode()}')"><i id="ico-${self.self().getMenuCode()}" class="z-ico z-tree z-30 z-normal <#if self.isLastNode()>z-mlastnode<#else>z-mnode</#if>"></i></a>
<#else>
<i class="z-ico z-tree z-30 z-normal <#if self.isLastNode()>z-lastnode<#else>z-node</#if>"></i>
</#if>
<i class="z-ico z-tree z-item z-mg-r3"></i>
<#if ZmrAdminRule.check(request)>
<input name="rule" type="checkbox" class="z-h12" <#if ZmrOperatorDao.isDeptRule(ruleList, self.self().getMenuCode())>checked</#if> onclick='Z.Forms.doSelectCheckBoxTree("rule", this.checked, this.value, this.form);' value="${self.self().getMenuCode()}">
</#if>
#{self.self().getMenuName()}
</td>
<td width="30%">#{self.self().getMenuCode()}</td>
<td width="8%" align="center">#{self.self().getMenuLevel()}</td>
<td width="15%" align="center"><#if self.self().getMenuType()==1>节点<#else>属性</#if></td>
</tr>
</table>
<#if self.hasChildren()>
<div id="menu-${self.self().getMenuCode()}">
<#for child : self.children()>
${showChildMenu(child, self)}
</#for>
</div>
</#if>
</#function>
<#-- 导航 -->
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
<nav>
<ul class="z-mg-r10">
${zhiqim_manager_tabnav("返回部门管理", "/"+zhiqim_manager+"/dept.htm", true)}
<#if ZmrPathRule.check(request, "/"+zhiqim_manager+"/deptRule.htm")><li onclick="Z.L.href('deptOperator.htm?deptId=${dept.getDeptId()}');">成员管理</li></#if>
<li class="z-active">部门 [${dept.getDeptName()}] 权限管理</li>
</ul>
</nav>
</div>
<#-- 表单 -->
<form name="theForm" method="post" data-role="z-call-frame">
<input name="deptId" type="hidden" value="${dept.getDeptId()}">
<table class="z-table z-bordered z-pd-l10 z-pd-r10 z-bg-white">
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="*" class="zi-pd5">菜单目录</td>
<td width="30%" class="zi-pd5">菜单编码</td>
<td width="8%" class="z-text-center">菜单级别</td>
<td width="15%" class="z-text-center">菜单类型</td>
</tr>
<tr class="z-h30">
<td>
<i class="z-ico z-tree z-30 z-normal z-root z-mg-r3"></i>
<#if ZmrAdminRule.check(request)>
<input name="rule" type="checkbox" class="z-h12" <#if ZmrOperatorDao.isDeptRule(ruleList, tree.self().getMenuCode())>checked</#if> onclick='Z.Forms.doSelectCheckBoxTree("rule", this.checked, this.value, this.form);' value="#{tree.self().getMenuCode()}">
</#if>
系统功能根菜单
</td>
<td>#{tree.self().getMenuCode()}</td>
<td align="center">#{tree.self().getMenuLevel()}</td>
<td align="center">根节点</td>
</tr>
</table>
<#for child : tree.children()>
${showChildMenu(child, tree)}
</#for>
<#if ZmrAdminRule.check(request)>
${zhiqim_manager_submit()}
</#if>
</form>
${zhiqim_manager_list(tree.size())}
${zhiqim_manager_content_end()}