123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>组织机构管理</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <!--框架必需start-->
- <%@include file="../../include.jsp"%>
- <!--引用资源文件,JS CSS-->
- <script type="text/javascript"
- src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript"
- src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript"
- src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript"
- src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript"
- src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript"
- src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- <link
- href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css"
- rel="stylesheet" type="text/css" />
- <style type = "text/css">
- .tips {
- white-space: nowrap;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- dispaly:inline-block;
- }
- .hr3 {
- filter: alpha(opacity = 100, finishopacity = 0, style = 1);
- noshade: "noshade";
- height: 0.5px;
- border: none;
- /* border-top: 2px ridge #45D6D8; */
- border: 1px dotted #45D6D8;
- }
- #queryContent1 {
- position: absolute;
- min-height: 0px;
- max-height: 273px;
- max-width: 100%;
- background-color: #B2E0FF;
- z-index: 12;
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- #queryContent1ul li:hover {
- cursor: pointer;
- background-color:gray;
- }
- </style>
- <script type="text/javascript">
- //登陆人的单位id
- var loginOrgId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- //登陆人部门name
- var loginOrgName = top.com.sinosoft.lz.system.user.LoginInfo.getDeptnames();
- var role = top.com.sinosoft.lz.system.user.LoginInfo.getRoleids();
- var setting1="";
- function getDeptLevel2(dpids){
- var dept_level = "";
- $.ajax({
- url : $.pathname()+ "/ws/planService/PlanService/getDeptLevel",
- type : 'post',
- timeout : 60000,
- data : {id:dpids},
- dataType : 'text',
- async: false,
- success : function(data){
- dept_level = data;
- }
- });
- return dept_level;
- }
- $(function(){
- var value = top.document.getElementById("frmright").contentWindow.titlevalue
-
- //树的设置
- setting1 = {
- view : {
- selectedMulti : false
- },async : {
- enable : true,
- dataType : 'JSON',
- dataName : 'treeNodes',
- aysnc : false,
- url : $.pathname()+ "/ws/jgwh/unitWHService/getAllUnitsForShow",
- autoParam : [ "id", "name", "orgLevel" ],
- otherParam : ["deptId", loginOrgId,"modtype",value,"deptLevel",getDeptLevel2(loginOrgId)]
- }
- };
-
- $.fn.zTree.init($("#myTree1"), setting1);
-
- });
- </script>
- </head>
- <body >
-
- <div name="组织结构" id="myBox1" class="box1" panelHeight="400";">
- <div style="overflow:auto;background-color:#F2F7F9;height:100%;">
- <div id='org_inner1'>
- <ul id="myTree1" class="ztree"></ul>
- </div>
- </div>
- </div>
-
- </body>
- </html>
|