123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- <%@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>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>政府公文</title>
- <!--框架必需start-->
- <%@include file="../../../../include1.jsp" %>
- <!--框架必需end-->
- <!--引用资源文件,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"/>
- <!--基本选项卡start-->
- <!-- 按钮权限start -->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <!-- 按钮权限end -->
- <script type="text/javascript" src="<%=path%>/scripts/business/am/fileManager/governmentDoc/governmentDoc.js"></script>
- <style type="text/css">
- a {
- behavior: url(/qui/libs/js/method/focus.htc)
- }
- body{
- margin-top: 10px;
- }
- .leftnav{
- cursor: pointer;
- height:35px;
- line-height:35px;
- border-bottom: 1px #e3e2e2 solid;
- color:#404040;
- padding-left: 40px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .leftnav:HOVER{
- background: #e5ebec;
- }
- .leftnav.current{
- background-color:#e5ebec;
- }
-
- .accordition{
- border-right: none;
- }
- .title_msg {
- width: 100%;
- height:40px;
- line-height:40px;
- font-family: "微软雅黑";
- text-align:center;
- font-size:24px;
- font-weight: bold;
- color:#3e62a0;
- border-bottom: 1px solid #cdcaca;
-
- }
- .selDiv{
- margin: 15px 0 ;
-
- }
-
- ._buttons{
- height:40px;
- width: 100%;
- }
- ._buttons input{
- float: right;
- margin-right: 20px;
- }
- .groupValue{
- font-size: 14px;
- border-bottom: 1px solid #cdcaca;
- cursor: pointer;
- font-weight: bold;
- color:#3e62a0;
-
- }
-
- .l-grid-row-cell-inner{
- font-size: 12px;
- }
- </style>
- <%-- <script type="text/javascript">
- var conditionData={"list":[
- {"name":"状态","className":"STATE","list":[
- {"key":"全部","value":"0000"},{"key":"有效","value":"1"},{"key":"修正","value":"2"},{"key":"修订","value":"3"}/* ,{"key":"废止","value":"4"},{"key":"撤销","value":"5" }*/
- ]},
- {"name":"保密级别","className":"SECRECY_LEVEL","list":[
- {"key":"全部","value":"0000"},{"key":"公开","value":"1"},{"key":"密件","value":"2"}
- ]},
- {"name":"发布情况","className":"IS_ISSUE","list":[
- {"key":"全部","value":"0000"},{"key":"已发布","value":"1"},{"key":"未发布","value":"0"}
- ]}
- ]};
- var imgclass = "<%=request.getParameter("imgclass")%>";
- var jsonaa = [ {"src":"/nwyj/page/business/am/fileManager/governmentDoc/governmentDoc.jsp","text":"政府公文"},
- {"src":"/nwyj/page/business/am/fileManager/governmentDoc/governmentDocShare.jsp","text":"共享"}
- ]
- $(function(){
- //tabPosition(jsonaa);
- tabPosition(jsonaa,imgclass);
- //根据json生成更多筛选条件ul-li列表
- //createConditionsDom(conditionData);
- //ul-li列表点击事件
- //$(".item").unbind("click").bind("click",bindSelectOne);
-
- });
- </script> --%>
- </head>
- <body>
-
- <!-- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0">
- <fieldset>
- <form id="queryForm" method="post">
- <table width="100%" >
- <tr>
- <td width="93%">
- <input type="text" name="DOCUMENT_NAME" id="DOCUMENT_NAME" width="300px" watermark="请输入公文名称" onkeydown="if(event.keyCode==13){searchHandler();}" maxlength="30"/>
- <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
- <input style='display:none' />
- </td>
- <td width="7%" align="right"><a href="javascript:;"><span id="more" class="more_hide" >综合查询</span></a></td>
- </tr>
- </table>
- <div id="moreDiv" style="display: none;">
- 可选条件
- <div class="conditions" id="conditions">
- <ul>
- <li class="condiTitle">发文单位:</li>
- <li><input type="text" class="Textinput" name="DISPATCH_UNIT" maxlength="20"/></li>
- </ul>
- <ul>
- <li class="condiTitle">发文字号:</li>
- <li><input type="text" class="Textinput" name="DISPATCH_WORD_SIZE" maxlength="20"/></li>
- </ul>
- </div>
- </div>
- </form>
- </fieldset>
- </div> -->
-
- <div id="layout1">
- <!-- 左边的树 -->
- <div position="left" id="hztitle" style="margin-right:10px;">
- <div class="layout_content">
- <ul id="treeDept-gzfw" class="ztree"></ul>
- </div>
- </div>
-
- <div class="plan_detail" id="plan_detail" position="center">
- <!-- <div class="title_msg" id="title"></div> -->
- <div class="box2" style="margin: 10px 0">
- <fieldset>
- <table width="100%" >
- <tr>
- <td width="93%">
- <input type="text" name="DOCUMENT_NAME" id="DOCUMENT_NAME" width="300px" watermark="请输入公文名称" onkeydown="if(event.keyCode==13){searchHandler2();}" maxlength="38"/>
- <!-- <button type="button" onclick="searchHandler()"><span class="icon_find">查询</span></button> -->
- <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
- <input style='display:none' />
- </td>
- <td width="7%" align="right"><a href="javascript:;"><span id="more" class="more_hide">综合查询</span></a></td>
- </tr>
- </table>
-
- <div id="moreDiv" style="display: none;">
- <div class="selDiv">
- <table style="font-size: 14px">
- <tr>
- <td>发文单位:</td>
- <td><input type="text" id="DISPATCH_UNIT" ></td>
- </tr>
- <tr>
- <td>发文字号:</td>
- <td><input type="text" id="DISPATCH_WORD_SIZE" ></td>
- </tr>
- <tr>
- <td>状态:</td>
- <td>
- <input type="checkbox" id="STATE_0" name="STATE" value="0000" /><label for="STATE_0" class="hand">全部</label>
- <input type="checkbox" id="STATE_1" name="STATE" value="1" /><label for="STATE_1" class="hand">有效</label>
- <input type="checkbox" id="STATE_2" name="STATE" value="2" /><label for="STATE_2" class="hand">修正</label>
- <input type="checkbox" id="STATE_3" name="STATE" value="3" /><label for="STATE_3" class="hand">修订</label>
- </td>
- </tr>
- <tr>
- <td>保密级别:</td>
- <td>
- <input type="checkbox" id="SECRECY_LEVEL_0" name="SECRECY_LEVEL" value="0000" /><label for="SECRECY_LEVEL_0" class="hand">全部</label>
- <input type="checkbox" id="SECRECY_LEVEL_1" name="SECRECY_LEVEL" value="1" /><label for="SECRECY_LEVEL_1" class="hand">公开</label>
- <input type="checkbox" id="SECRECY_LEVEL_2" name="SECRECY_LEVEL" value="2" /><label for="SECRECY_LEVEL_2" class="hand">密件</label>
- </td>
- </tr>
- <tr>
- <td align="right">发布情况:</td>
- <td>
- <input type="checkbox" id="IS_ISSUE_0" name="IS_ISSUE" value="0000" /><label for="IS_ISSUE_0" class="hand">全部</label>
- <input type="checkbox" id="IS_ISSUE_1" name="IS_ISSUE" value="1" /><label for="IS_ISSUE_1" class="hand">已发布</label>
- <input type="checkbox" id="IS_ISSUE_2" name="IS_ISSUE" value="0" /><label for="IS_ISSUE_2" class="hand">未发布</label>
- </td>
- </tr>
- </table>
- </div>
- <div class="_buttons">
- <input type="button" value="清除" onclick="resetSearch()"/>
- <input type="button" value="查询" onclick="searchHandler2()"/>
- </div>
- </div>
- </fieldset>
- </div>
-
- <div class="adding_right5">
- <div id="maingrid"></div>
- </div>
-
- </div>
- </div>
-
- <!-- <form id="fillForm1" name="fillForm1" method="post" action="">
- <tr style="display: none;">
- <td>
- <input type="hidden" id="fd_id240" name="FD_OBJECTID240" required="true"/>
- <input type="hidden" name="classid" value="240" required="true"/>
- <input type="hidden" id="SHARE_MAN_217" name="SHARE_MAN_217" required="true"/>
- <input type="hidden" id="SHARE_UNITS_217" name="SHARE_UNITS_217" required="true"/>
- <input type="hidden" id="RECEIVE_UNITS_217" name="RECEIVE_UNITS_217" required="true"/>
- <input type="hidden" id="SHARE_TYPE_217" name="SHARE_TYPE_217" value="1" required="true"/>
- <input type="hidden" id="SHARE_START_TIME_217" name="SHARE_START_TIME_217" required="true"/>
- <input type="hidden" id="SHARE_END_TIME_217" name="SHARE_END_TIME_217" required="true"/>
- <input type="hidden" id="BUSINE_ID_217" name="BUSINE_ID_217" required="true"/>
- <input type="hidden" id="RECEIVE_MAN_217" name="RECEIVE_MAN_217" required="true"/>
- </td>
- </tr>
- </form> -->
-
- <script type="text/javascript">
- //登陆人的机构id
- var userDeptId_inner = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- var loadCorp = "";
- var setloadtype_in=["deptId", userDeptId_inner,"type","","loadCorp",loadCorp];
- var setting;
- /***
- * 页面初始化
- */
- $(function(){
- /* 初始化页面布局 */
- var layout = $("#layout1").layout({
- leftWidth : 250,
- space : 10,
- onEndResize : function() {
- g.resetWidth();
- }
-
- });
- /* var layout = $("#layout1").layout({
- leftWidth : 250,
- space : 10
- });
- function customHeightSet(contentHeight) {
- $(".layout_content").height(contentHeight - 30);
- }
- $("#layout1").layout({
- onEndResize : function() {
- var wi = $(".l-layout-content").width();
- wi = wi * 0.85;
- $(".accordition").css("width", (wi + 45) + "px");
- $(".leftnav").css("width", (wi + 5) + 'px');
- $(".parentNavDiv").css("width", wi + "px");
- }
- });
- $("#layout1").find(".l-layout-header-toggle").on("click",function(){
- $("#layout1").find(".l-layout-collapse-left-toggle").attr("tempW",$("#maingrid").find(".l-grid2").width());
- $("#maingrid").find(".l-grid2").css({width:"100%"});
-
- });
- $("#layout1").find(".l-layout-collapse-left-toggle").on("click",function(){
- $("#maingrid").find(".l-grid2").css({width:$(this).attr("tempW")});
- });
- function customHeightSet(contentHeight) {
- $(".cusBoxContent").height(contentHeight - 20);
- } */
- setting = {
- view : {
- selectedMulti : false
- },
- async : {
- enable : true,
- dataType : 'JSON',
- dataName : 'treeNodes',
- aysnc : false,
- url : getAsyncUrl,
- autoParam : [ "id", "name", "orgLevel" ],
- otherParam : setloadtype_in
- },
- callback: {
- onClick:zTreeSelect,
- onAsyncSuccess:checkAndSetHeight,//changeFormat.js
- onExpand:checkAndSetHeight
- }
- };
- $.fn.zTree.init($("#treeDept-gzfw"), setting);
- });
- var isAdd = false;
- function getAsyncUrl(treeId, treeNode) {
- return isAdd ? $.pathname() + "/ws/OrganizationsService/OrganizationsService/addOrgInfoById?targetOrg=" + targetOrg
- : $.pathname() + "/ws/OrganizationsService/OrganizationsService/loadSysOrgInfo4";
- };
- var zTree,node,tab;
- var zTreeCompId = "";
- var zTreeINS_UNITS = "";
- //点击树节点page/system/department/UserInfoEdit.jsp
- function zTreeSelect(event,treeId,treeNode) {
- //init(treeNode.id);
- zTreeCompId = treeNode.id;
- zTreeINS_UNITS=treeNode.orgLevel;
- var getUser_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id()+"";
- var dpids = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- var condition = "";
- if(zTreeCompId==dpids){//点击本单位时
- condition = "is_del='0' and(IS_ISSUE='1' or TYPEIN_PEOPLE_ID = '"+getUser_id+"' ) and UNITE='"+dpids+"' ";
- }else{
- condition = "is_del='0' and IS_ISSUE='1' and UNITE='"+zTreeCompId+"' ";
- }
- g.setOptions({//重置加载列表的参数
- params : {
- "listId" :'240' ,
- "condition" : condition,
- direction:'DESC',
- sort: 'UPDATEDATE'
- }
- });
- g.rend();
- }
- //处理高度自适应,每次浏览器尺寸变化时触发
- function customHeightSet(contentHeight){
- $(".cusBoxContent").height(contentHeight-50)
- $("#page").height(contentHeight-50);
- }
- </script>
- </body>
- </html>
|