Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构
森中灵 最后提交于6月前 替换为8.0.5版本
deptRuleInfo.zml3KB
<#include "/ztmpl/zhiqim_manager/define.htm"/>
<#-- 显示子菜单,并递归显示下级子菜单 -->
<#function showChildMenu(self, parent)>
<table class="z-table z-bordered zi-bd-t-none z-bg-white">
<tr class="z-h30">
<td width="*" class="zi-pd-l6">
<#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%" class="zi-pd-l6">#{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>
<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-bg-white">
<tr class="z-h40">
<td align="left" colspan="4" class="z-bold z-px14 zi-pd-l5">部门[<span class="z-text-blue">${dept.getDeptName()}</span>]权限表</td>
</tr>
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">
<td width="*">菜单目录</td>
<td width="30%">菜单编码</td>
<td width="8%">菜单级别</td>
<td width="15%">菜单类型</td>
</tr>
<tr class="z-h30">
<td class="zi-pd-l6"><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 class="zi-pd-l6">#{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)>
<table class="z-table zi-bd zi-bd-t-none z-pd10 z-bg-white">
<tr class="z-h80">
<td><button type="submit" class="z-button z-large z-w150 ${zmr_color_class}">提交</button></td>
</tr>
</table>
</#if>
</form>
${zhiqim_manager_list(menuSize)}