26f68fdbb797312cce595e14de91e6ec50785171.svn-base 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>政府公文</title>
  7. <!--框架必需start-->
  8. <%@include file="../../../../include1.jsp" %>
  9. <!--框架必需end-->
  10. <!--引用资源文件,JS CSS-->
  11. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  13. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  16. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  17. <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  18. <!--基本选项卡start-->
  19. <!-- 按钮权限start -->
  20. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  21. <!-- 按钮权限end -->
  22. <script type="text/javascript" src="<%=path%>/scripts/business/am/fileManager/governmentDoc/governmentDoc.js"></script>
  23. <style type="text/css">
  24. a {
  25. behavior: url(/qui/libs/js/method/focus.htc)
  26. }
  27. body{
  28. margin-top: 10px;
  29. }
  30. .leftnav{
  31. cursor: pointer;
  32. height:35px;
  33. line-height:35px;
  34. border-bottom: 1px #e3e2e2 solid;
  35. color:#404040;
  36. padding-left: 40px;
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. white-space: nowrap;
  40. }
  41. .leftnav:HOVER{
  42. background: #e5ebec;
  43. }
  44. .leftnav.current{
  45. background-color:#e5ebec;
  46. }
  47. .accordition{
  48. border-right: none;
  49. }
  50. .title_msg {
  51. width: 100%;
  52. height:40px;
  53. line-height:40px;
  54. font-family: "微软雅黑";
  55. text-align:center;
  56. font-size:24px;
  57. font-weight: bold;
  58. color:#3e62a0;
  59. border-bottom: 1px solid #cdcaca;
  60. }
  61. .selDiv{
  62. margin: 15px 0 ;
  63. }
  64. ._buttons{
  65. height:40px;
  66. width: 100%;
  67. }
  68. ._buttons input{
  69. float: right;
  70. margin-right: 20px;
  71. }
  72. .groupValue{
  73. font-size: 14px;
  74. border-bottom: 1px solid #cdcaca;
  75. cursor: pointer;
  76. font-weight: bold;
  77. color:#3e62a0;
  78. }
  79. .l-grid-row-cell-inner{
  80. font-size: 12px;
  81. }
  82. </style>
  83. <%-- <script type="text/javascript">
  84. var conditionData={"list":[
  85. {"name":"状态","className":"STATE","list":[
  86. {"key":"全部","value":"0000"},{"key":"有效","value":"1"},{"key":"修正","value":"2"},{"key":"修订","value":"3"}/* ,{"key":"废止","value":"4"},{"key":"撤销","value":"5" }*/
  87. ]},
  88. {"name":"保密级别","className":"SECRECY_LEVEL","list":[
  89. {"key":"全部","value":"0000"},{"key":"公开","value":"1"},{"key":"密件","value":"2"}
  90. ]},
  91. {"name":"发布情况","className":"IS_ISSUE","list":[
  92. {"key":"全部","value":"0000"},{"key":"已发布","value":"1"},{"key":"未发布","value":"0"}
  93. ]}
  94. ]};
  95. var imgclass = "<%=request.getParameter("imgclass")%>";
  96. var jsonaa = [ {"src":"/nwyj/page/business/am/fileManager/governmentDoc/governmentDoc.jsp","text":"政府公文"},
  97. {"src":"/nwyj/page/business/am/fileManager/governmentDoc/governmentDocShare.jsp","text":"共享"}
  98. ]
  99. $(function(){
  100. //tabPosition(jsonaa);
  101. tabPosition(jsonaa,imgclass);
  102. //根据json生成更多筛选条件ul-li列表
  103. //createConditionsDom(conditionData);
  104. //ul-li列表点击事件
  105. //$(".item").unbind("click").bind("click",bindSelectOne);
  106. });
  107. </script> --%>
  108. </head>
  109. <body>
  110. <!-- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0">
  111. <fieldset>
  112. <form id="queryForm" method="post">
  113. <table width="100%" >
  114. <tr>
  115. <td width="93%">
  116. <input type="text" name="DOCUMENT_NAME" id="DOCUMENT_NAME" width="300px" watermark="请输入公文名称" onkeydown="if(event.keyCode==13){searchHandler();}" maxlength="30"/>&nbsp;&nbsp;
  117. <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  118. &nbsp;&nbsp;<input style='display:none' />
  119. </td>
  120. <td width="7%" align="right"><a href="javascript:;"><span id="more" class="more_hide" >综合查询</span></a></td>
  121. </tr>
  122. </table>
  123. <div id="moreDiv" style="display: none;">
  124. 可选条件
  125. <div class="conditions" id="conditions">
  126. <ul>
  127. <li class="condiTitle">发文单位:</li>
  128. <li><input type="text" class="Textinput" name="DISPATCH_UNIT" maxlength="20"/></li>
  129. </ul>
  130. <ul>
  131. <li class="condiTitle">发文字号:</li>
  132. <li><input type="text" class="Textinput" name="DISPATCH_WORD_SIZE" maxlength="20"/></li>
  133. </ul>
  134. </div>
  135. </div>
  136. </form>
  137. </fieldset>
  138. </div> -->
  139. <div id="layout1">
  140. <!-- 左边的树 -->
  141. <div position="left" id="hztitle" style="margin-right:10px;">
  142. <div class="layout_content">
  143. <ul id="treeDept-gzfw" class="ztree"></ul>
  144. </div>
  145. </div>
  146. <div class="plan_detail" id="plan_detail" position="center">
  147. <!-- <div class="title_msg" id="title"></div> -->
  148. <div class="box2" style="margin: 10px 0">
  149. <fieldset>
  150. <table width="100%" >
  151. <tr>
  152. <td width="93%">
  153. <input type="text" name="DOCUMENT_NAME" id="DOCUMENT_NAME" width="300px" watermark="请输入公文名称" onkeydown="if(event.keyCode==13){searchHandler2();}" maxlength="38"/>&nbsp;&nbsp;
  154. <!-- <button type="button" onclick="searchHandler()"><span class="icon_find">查询</span></button> -->
  155. <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  156. <input style='display:none' />
  157. </td>
  158. <td width="7%" align="right"><a href="javascript:;"><span id="more" class="more_hide">综合查询</span></a></td>
  159. </tr>
  160. </table>
  161. <div id="moreDiv" style="display: none;">
  162. <div class="selDiv">
  163. <table style="font-size: 14px">
  164. <tr>
  165. <td>发文单位:</td>
  166. <td><input type="text" id="DISPATCH_UNIT" ></td>
  167. </tr>
  168. <tr>
  169. <td>发文字号:</td>
  170. <td><input type="text" id="DISPATCH_WORD_SIZE" ></td>
  171. </tr>
  172. <tr>
  173. <td>状态:</td>
  174. <td>
  175. <input type="checkbox" id="STATE_0" name="STATE" value="0000" /><label for="STATE_0" class="hand">全部</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  176. <input type="checkbox" id="STATE_1" name="STATE" value="1" /><label for="STATE_1" class="hand">有效</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  177. <input type="checkbox" id="STATE_2" name="STATE" value="2" /><label for="STATE_2" class="hand">修正</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  178. <input type="checkbox" id="STATE_3" name="STATE" value="3" /><label for="STATE_3" class="hand">修订</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  179. </td>
  180. </tr>
  181. <tr>
  182. <td>保密级别:</td>
  183. <td>
  184. <input type="checkbox" id="SECRECY_LEVEL_0" name="SECRECY_LEVEL" value="0000" /><label for="SECRECY_LEVEL_0" class="hand">全部</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  185. <input type="checkbox" id="SECRECY_LEVEL_1" name="SECRECY_LEVEL" value="1" /><label for="SECRECY_LEVEL_1" class="hand">公开</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  186. <input type="checkbox" id="SECRECY_LEVEL_2" name="SECRECY_LEVEL" value="2" /><label for="SECRECY_LEVEL_2" class="hand">密件</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  187. </td>
  188. </tr>
  189. <tr>
  190. <td align="right">发布情况:</td>
  191. <td>
  192. <input type="checkbox" id="IS_ISSUE_0" name="IS_ISSUE" value="0000" /><label for="IS_ISSUE_0" class="hand">全部</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  193. <input type="checkbox" id="IS_ISSUE_1" name="IS_ISSUE" value="1" /><label for="IS_ISSUE_1" class="hand">已发布</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  194. <input type="checkbox" id="IS_ISSUE_2" name="IS_ISSUE" value="0" /><label for="IS_ISSUE_2" class="hand">未发布</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  195. </td>
  196. </tr>
  197. </table>
  198. </div>
  199. <div class="_buttons">
  200. <input type="button" value="清除" onclick="resetSearch()"/>
  201. <input type="button" value="查询" onclick="searchHandler2()"/>
  202. </div>
  203. </div>
  204. </fieldset>
  205. </div>
  206. <div class="adding_right5">
  207. <div id="maingrid"></div>
  208. </div>
  209. </div>
  210. </div>
  211. <!-- <form id="fillForm1" name="fillForm1" method="post" action="">
  212. <tr style="display: none;">
  213. <td>
  214. <input type="hidden" id="fd_id240" name="FD_OBJECTID240" required="true"/>
  215. <input type="hidden" name="classid" value="240" required="true"/>
  216. <input type="hidden" id="SHARE_MAN_217" name="SHARE_MAN_217" required="true"/>
  217. <input type="hidden" id="SHARE_UNITS_217" name="SHARE_UNITS_217" required="true"/>
  218. <input type="hidden" id="RECEIVE_UNITS_217" name="RECEIVE_UNITS_217" required="true"/>
  219. <input type="hidden" id="SHARE_TYPE_217" name="SHARE_TYPE_217" value="1" required="true"/>
  220. <input type="hidden" id="SHARE_START_TIME_217" name="SHARE_START_TIME_217" required="true"/>
  221. <input type="hidden" id="SHARE_END_TIME_217" name="SHARE_END_TIME_217" required="true"/>
  222. <input type="hidden" id="BUSINE_ID_217" name="BUSINE_ID_217" required="true"/>
  223. <input type="hidden" id="RECEIVE_MAN_217" name="RECEIVE_MAN_217" required="true"/>
  224. </td>
  225. </tr>
  226. </form> -->
  227. <script type="text/javascript">
  228. //登陆人的机构id
  229. var userDeptId_inner = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  230. var loadCorp = "";
  231. var setloadtype_in=["deptId", userDeptId_inner,"type","","loadCorp",loadCorp];
  232. var setting;
  233. /***
  234. * 页面初始化
  235. */
  236. $(function(){
  237. /* 初始化页面布局 */
  238. var layout = $("#layout1").layout({
  239. leftWidth : 250,
  240. space : 10,
  241. onEndResize : function() {
  242. g.resetWidth();
  243. }
  244. });
  245. /* var layout = $("#layout1").layout({
  246. leftWidth : 250,
  247. space : 10
  248. });
  249. function customHeightSet(contentHeight) {
  250. $(".layout_content").height(contentHeight - 30);
  251. }
  252. $("#layout1").layout({
  253. onEndResize : function() {
  254. var wi = $(".l-layout-content").width();
  255. wi = wi * 0.85;
  256. $(".accordition").css("width", (wi + 45) + "px");
  257. $(".leftnav").css("width", (wi + 5) + 'px');
  258. $(".parentNavDiv").css("width", wi + "px");
  259. }
  260. });
  261. $("#layout1").find(".l-layout-header-toggle").on("click",function(){
  262. $("#layout1").find(".l-layout-collapse-left-toggle").attr("tempW",$("#maingrid").find(".l-grid2").width());
  263. $("#maingrid").find(".l-grid2").css({width:"100%"});
  264. });
  265. $("#layout1").find(".l-layout-collapse-left-toggle").on("click",function(){
  266. $("#maingrid").find(".l-grid2").css({width:$(this).attr("tempW")});
  267. });
  268. function customHeightSet(contentHeight) {
  269. $(".cusBoxContent").height(contentHeight - 20);
  270. } */
  271. setting = {
  272. view : {
  273. selectedMulti : false
  274. },
  275. async : {
  276. enable : true,
  277. dataType : 'JSON',
  278. dataName : 'treeNodes',
  279. aysnc : false,
  280. url : getAsyncUrl,
  281. autoParam : [ "id", "name", "orgLevel" ],
  282. otherParam : setloadtype_in
  283. },
  284. callback: {
  285. onClick:zTreeSelect,
  286. onAsyncSuccess:checkAndSetHeight,//changeFormat.js
  287. onExpand:checkAndSetHeight
  288. }
  289. };
  290. $.fn.zTree.init($("#treeDept-gzfw"), setting);
  291. });
  292. var isAdd = false;
  293. function getAsyncUrl(treeId, treeNode) {
  294. return isAdd ? $.pathname() + "/ws/OrganizationsService/OrganizationsService/addOrgInfoById?targetOrg=" + targetOrg
  295. : $.pathname() + "/ws/OrganizationsService/OrganizationsService/loadSysOrgInfo4";
  296. };
  297. var zTree,node,tab;
  298. var zTreeCompId = "";
  299. var zTreeINS_UNITS = "";
  300. //点击树节点page/system/department/UserInfoEdit.jsp
  301. function zTreeSelect(event,treeId,treeNode) {
  302. //init(treeNode.id);
  303. zTreeCompId = treeNode.id;
  304. zTreeINS_UNITS=treeNode.orgLevel;
  305. var getUser_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id()+"";
  306. var dpids = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  307. var condition = "";
  308. if(zTreeCompId==dpids){//点击本单位时
  309. condition = "is_del='0' and(IS_ISSUE='1' or TYPEIN_PEOPLE_ID = '"+getUser_id+"' ) and UNITE='"+dpids+"' ";
  310. }else{
  311. condition = "is_del='0' and IS_ISSUE='1' and UNITE='"+zTreeCompId+"' ";
  312. }
  313. g.setOptions({//重置加载列表的参数
  314. params : {
  315. "listId" :'240' ,
  316. "condition" : condition,
  317. direction:'DESC',
  318. sort: 'UPDATEDATE'
  319. }
  320. });
  321. g.rend();
  322. }
  323. //处理高度自适应,每次浏览器尺寸变化时触发
  324. function customHeightSet(contentHeight){
  325. $(".cusBoxContent").height(contentHeight-50)
  326. $("#page").height(contentHeight-50);
  327. }
  328. </script>
  329. </body>
  330. </html>