<#macro lookupTree parentId=''>
    <@_sysDeptList parentId=parentId pageSize=500>
        <#list page.list as a>
            <li>
                <a href="javascript:;" class="exclude-translate" onclick="$.bringBack({parentId:'${a.id}',deptId:'${a.id}',deptName:'${a.name}',parentName:'${a.name}'});return false;">${a.name!}</a>
                <ul>
                    <@lookupTree a.id/>
                </ul>
            </li>
        </#list>
    </@_sysDeptList>
</#macro>
<div class="pageFormContent" layoutH>
    <ul class="tree treeFolder expand">
        <@lookupTree/>
    </ul>
</div>
<div class="formBar">
    <ul>
        <li><button type="button" class="button close"><@t.page 'button.close'/></button></li>
    </ul>
</div>