123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400 |
- <%@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 -->
- <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/standard/standard.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":"CLASSES","list":[
- {"key":"全部","value":"0000"},{"key":"国际标准","value":"1"},{"key":"国家标准","value":"2"},{"key":"行业标准","value":"3"},{"key":"企业标准","value":"4"}
- ]},
- {"name":"状态","className":"STATE","list":[
- {"key":"全部","value":"0000"},{"key":"有效","value":"1"},{"key":"修正","value":"2"},{"key":"修订","value":"3"},{"key":"废止","value":"4"},{"key":"撤销","value":"5"}
- ]},
- {"name":"发布情况","className":"COLUMN_3","list":[
- {"key":"全部","value":"0000"},{"key":"已发布","value":"1"},{"key":"未发布","value":"0"}
- ]}
- ]};
- var dateSkin="blue";
- var imgclass = "<%=request.getParameter("imgclass")%>";
- var jsonaa = [{"src":"/nwyj/page/business/am/fileManager/standard/standard.jsp","text":"技术标准"},
- {"src":"/nwyj/page/business/am/fileManager/standard/standard_share.jsp","text":"共享"}]
- $(function(){
- //tabPosition(jsonaa,imgclass);
-
- //获取当前主题风格,用于设置日期控件的皮肤
- try {
- dateSkin=themeColor;
- }
- catch(e){}
-
- //自定义点击触发日期控件
- document.getElementById('beginTime').onfocus=function(){
- var endtimeTf=$dp.$('endTime');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'
- });
- };
- document.getElementById('endTime').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin,minDate:'#F{$dp.$D(\'beginTime\')}'});
- };
-
- document.getElementById('startDate').onfocus=function(){
- var endtimeTf=$dp.$('endDate');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endDate\')}'
- });
- };
- document.getElementById('endDate').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin,minDate:'#F{$dp.$D(\'startDate\')}'});
- };
- })
- </script> --%>
- </head>
- <body >
- <!-- <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
- <fieldset>
- <form id="queryForm" method="post">
- <table id="table" style="width:100%;">
- <tr>
- <td width="80%">
- <input maxlength="20" type="text" name="STANDARD_NAME" id="STANDARD_NAME" watermark="技术标准" width="300px" onkeydown="if(event.keyCode==13){searchHandler();}"/>
- <a id="searchButt"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a> <input style='display:none' />
- </td>
- <td width="20%" align="right"><a href="javascript:;"><span class="more_hide" id="more">综合查询 </span></a></td>
- </tr>
- </table>
- <div id="moreDiv" style="display: none;">
- 可选条件,改div作为容器,需保留
- <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="STANDARD_CODE" maxlength="20"/></li>
- </ul>
- <ul>
- <li class="condiTitle">印发日期:</li>
- <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="PRINT_DATE" id="beginTime" /> ~
- <input readonly="readonly" type="text" class="dateIcon endTime" name="PRINT_DATE" id="endTime"/>
- </li>
- </ul>
- <ul>
- <li class="condiTitle">实施日期:</li>
- <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="IMPLEMENT_DATE" id="startDate" /> ~
- <input readonly="readonly" type="text" class="dateIcon endTime" name="IMPLEMENT_DATE" id="endDate"/>
- </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="STANDARD_NAME" id="STANDARD_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="STANDARD_CODE" ></td>
- </tr>
- <tr>
- <td>印发日期:</td>
- <td><input type="text" class="date" id="TAKE_DATE1" style="width: 150px"> ~~ <input type="text" class="date" id="TAKE_DATE2" style="width: 150px"></td>
- </tr>
- <tr>
- <td>实施日期:</td>
- <td><input type="text" class="date" id="ISSUE_DATE1" style="width: 150px"> ~~ <input type="text" class="date" id="ISSUE_DATE2" style="width: 150px"></td>
- </tr>
-
- <tr>
- <td>分类:</td>
- <td>
- <input type="checkbox" id="CLASSES_0" name="CLASSES" value="0000" /><label for="CLASSES_0" class="hand">全部</label>
- <input type="checkbox" id="CLASSES_1" name="CLASSES" value="1" /><label for="CLASSES_1" class="hand">国际标准</label>
- <input type="checkbox" id="CLASSES_2" name="CLASSES" value="2" /><label for="CLASSES_2" class="hand">国家标准</label>
- <input type="checkbox" id="CLASSES_3" name="CLASSES" value="3" /><label for="CLASSES_3" class="hand">行业标准</label>
- <input type="checkbox" id="CLASSES_4" name="CLASSES" value="4" /><label for="CLASSES_4" class="hand">企业标准</label>
- </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>
- <input type="checkbox" id="STATE_4" name="STATE" value="4" /><label for="STATE_4" class="hand">废止</label>
- <input type="checkbox" id="STATE_5" name="STATE" value="5" /><label for="STATE_5" class="hand">撤销</label>
- </td>
- </tr>
- <tr>
- <td align="right">发布情况:</td>
- <td>
- <input type="checkbox" id="COLUMN_3_0" name="COLUMN_3" value="0000" /><label for="COLUMN_3_0" class="hand">全部</label>
- <input type="checkbox" id="COLUMN_3_1" name="COLUMN_3" value="1" /><label for="COLUMN_3_1" class="hand">已发布</label>
- <input type="checkbox" id="COLUMN_3_2" name="COLUMN_3" value="0" /><label for="COLUMN_3_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="padding_right5">
- <div id="maingrid"></div>
- </div>
-
- </div>
- </div>
-
- <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() {
- listGrid.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(COLUMN_3='1' or TYPEIN_PEOPLE = '"+getUser_id+"' ) and UNITE in (select dept_id from SYS_DEPARTMENT where is_del ='0' and dept_type='1' start with dept_id='"+dpids+"' connect by prior parent_id = dept_id)";
- condition = "is_del='0' and(COLUMN_3='1' or TYPEIN_PEOPLE = '"+getUser_id+"' ) and UNITE ='"+dpids+"' ";
- }else{
- condition = "is_del='0' and COLUMN_3='1' and UNITE='"+zTreeCompId+"' ";
- }
- listGrid.setOptions({//重置加载列表的参数
- params : {
- "listId" :'242' ,
- "condition" : condition,
- direction:'DESC',
- sort: 'UPDATEDATE'
- }
- });
- listGrid.rend();
- }
- //处理高度自适应,每次浏览器尺寸变化时触发
- function customHeightSet(contentHeight){
- $(".cusBoxContent").height(contentHeight-50)
- $("#page").height(contentHeight-50);
- }
- </script>
- </body>
- </html>
|