<%@page contentType="text/html; charset=UTF-8"%>
<%@ include file="/gaowj/header-simple-1.0.jsp"%>
<div id="unit_jwAppUnitHJSP">
   <link rel="stylesheet" type="text/css" href="${ctx}/jwapp/common/css/content_body.css" charset="utf-8"></link>
   <link rel="stylesheet" type="text/css" href="${ctx}/jwapp/common/css/content_table.css" charset="utf-8"></link>
   <link rel="stylesheet" type="text/css" href="${ctx}/jwapp/common/css/content_input.css" charset="utf-8"></link>
</div>
<div id="unittab_unit_layout" class="easyui-layout" data-options="fit:true" style="width:100%;height:100%;">
	<div id="layout_west" data-options="region:'west',split:true,iconCls:'icon-ext-06_29'" title="单位/部门选择" style="width: 160px;">
		<ul id="unittab_unit_tree" class="ztree"></ul>
	</div>
	<div id="layout_center" data-options="region:'center'" style="overflow: hidden;">
		<table id="list" style="width: 100%; height: 100%;"></table>
		<div id="tb">
		<form id="unittab_searchForm" style="float:left">
		编号/名称: <input id="search" name="FIELD_NAME" type="text" style="width: 150px" class="easyui-textbox">
		</form>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="javascript:searchRow()">查询</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="javascript:refreshRow()">刷新</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="javascript:addRow()">新增</a>
		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-clear',plain:true" onclick="javascript:deleteBatchRow()">删除</a>
<!-- 		<a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-38_38',plain:true" onclick="javascript:updateUnitInitOrderRow()">批量同步设置</a> -->
        <a href="#" id="mb" class="easyui-menubutton" data-options="menu:'#mm',iconCls:'icon-ext-38_38'">初始化</a>
        <div id="mm" style="width:30px;">
            <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-30_20',plain:true" onclick="javascript:updateUnitInitOrderRow()">排序初始化</a>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-29_30',plain:true" onclick="javascript:addLdap()">ldap全量同步</a>
		    <div class="menu-sep"></div>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-upload',plain:true" onclick="javascript:uploadjw('UUID')">模板导入</a>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-download',plain:true" onclick="javascript:downloadjw('UUID')">模板下载</a>
		    <div class="menu-sep"></div>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-11_23',plain:true" onclick="javascript:downloadjwid('UUID')">对照表下载</a>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-06_45',plain:true" onclick="javascript:downloadzd('UUID')">字典库下载</a>
        </div>
        <a href="#" id="mb1" class="easyui-menubutton" data-options="menu:'#mm1',iconCls:'icon-ext-29_22'">更多</a>
        <div id="mm1" style="width:30px;">
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-06_33',plain:true" onclick="javascript:deleteLdap()">ldap整体清除</a>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-11_20',plain:true" onclick="javascript:addRowLdap()">ldap批量同步</a>
		    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ext-11_48',plain:true" onclick="javascript:unitPush()">组织批量推送</a>
        </div>
		</div>
	</div>
</div>
<div id="detail"  style="overflow:auto;"></div>
<div id="upload"  style="overflow:hidden;"></div>
<div id="push"  style="overflow:auto;"></div>
<table id = "app" style="width: 100%; height: 100%;"></table>
<div id="unitTabChoice"  style="overflow:auto;"></div>
<script type="text/javascript" src="${ctx}/jwapp/pages/unit/js/jwAppUnitModule.js" charset="utf-8"></script>
<script type="text/javascript" src="${ctx}/jwapp/pages/user/js/jwAppUserModule.js" charset="utf-8"></script>
<script type="text/javascript" src="${ctx}/jwapp/pages/standard/js/jwStandardModule.js" charset="utf-8"></script>
<script type="text/javascript" src="${ctx}/jwapp/pages/unit/js/unitTab.js" charset="utf-8"></script>
