Zhiqim Master(运营管理台)是在ZhiqimManager基础上改造成用于运营思路的管理系统,增加余额,和组织结构等,开放组织管理员,可以添加组织内的部门和角色和操作员。并增加该管理台上的一些组件,如充值支付等组件。适用于二级代理管理或该大型组织机构

森中灵 最后提交于11天前 替换为8.0.5版本
orgSelector.zml2KB
${Styles.htmlOverflowHidden()}
<script>
function doSelector()
{
    var orgId = Z.FM.getChecked("orgId");
    
    var ajax = new Z.Ajax();
    ajax.setClassName("ZmrOrgPresenter");
    ajax.setMethodName("doSelectOrg");
    ajax.addParam("orgId", orgId);
    ajax.setFailureAlert();
    ajax.setSuccessReloadParent();
    ajax.execute();
}
</script>

<#-- 查询 -->
<div class="z-fixed z-t0 z-l0 z-w100p z-pd10 z-bg-gray">
<form method="post">
    <input name="orgName" class="z-float-left z-input z-w300 zi-h35 zi-bd-r-none" placeholder="组织名称" value="${orgName}" maxlength="20">
    <button type="submit" class="z-float-left z-button z-w70 z-h35 zi-bd-rd0 ${zmr_color_class}"><i class="z-font z-query"></i></button>
</form>
</div>

<#-- 列表 -->
<div class="z-w100p z-pd10 z-overflow-auto" style="margin-top:55px;height:306px;">
<table class="z-table z-bordered z-text-center zi-h30-tr">
<tr class="z-h40 z-bg-gray">
    <td width="60">选择</td>
    <td width="*">组织名称</td>
    <td width="80">组织状态</td>
</tr>
${zhiqim_manager_tr_no_record(list, "没有可选择的组织")}
<#for item : list>
<tr class="z-pointer" ${zhiqim_manager_tr_onmouse()} ${zhiqim_manager_tr_click_radio()}>
    <td><input name="orgId" type="radio" data-role="z-radio" data-class="z-blue" value="${item.getOrgId()}"></td>
<#if item.getOrgLevel() == 0 >
    <td align="left" class="zi-pd-l6"><i class="z-ico z-tree z-normal z-30 z-root z-mg-r3"></i>#{item.getOrgName()}</td>
</#if>
<#if item.getOrgLevel() == 1 >
    <td align="left" class="zi-pd-l6">
        <#if item_index == list.size()-1>
        <i class="z-ico z-tree z-30 z-normal z-lastnode"></i>
        <#else>
        <i class="z-ico z-tree z-30 z-normal z-node"></i>
        </#if>
        <i class="z-ico z-tree z-item z-mg-r3"></i>#{item.getOrgName()}
    </td>
</#if>
    <td><#if item.getOrgStatus() == 0>正常<#else><span class="z-color-red">停用</span></#if></td>
</tr>
</#for>
</table>
</div>

<#-- 操作 -->
<div class="z-fixed z-b0 z-l0 z-w100p z-h60 z-pd10 z-bg-gray z-text-center">
    <button class="z-button z-large z-w150 ${zmr_color_class}" onclick="doSelector();">确定</button>
    <button class="z-button z-large z-w70 z-mg-l10" onclick="parent.Z.Dialog.close(location.hash);">取消</button>
</div>