123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <%@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" %>
- <!--引用资源文件,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-->
- <!--框架必需end-->
- <!-- 按钮权限start -->
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <!-- 按钮权限end -->
- <!-- echarts图表 -->
- <script type="text/javascript" src="/nwyj/page/cockpit/echarts-2.2.7/build/dist/echarts-all.js"></script>
- <script type="text/javascript" src="../../../../../scripts/business/am/resource/ledger/generator-car.js"></script>
- <script type="text/javascript">
-
- var conditionData={"list":[
- {"name":"电压等级","className":"CAR_LEVEL","list":[
- {"key":"全部","value":"0000"},{"key":"10KV","value":"138"},{"key":"380V","value":"139"}
- ]},
- {"name":"储能方式","className":"STORED_ENERGY_TYPE","list":[
- {"key":"全部","value":"0000"},{"key":"发电机","value":"1"},{"key":"UPS","value":"2"},{"key":"磁飞轮","value":"3"}
- ]},
- {"name":"燃料","className":"CAR_GAS","list":[
- {"key":"全部","value":"0000"},{"key":"汽油","value":"201"},{"key":"柴油","value":"202"}
- ]},
- {"name":"是否可调用","className":"IS_USED","list":[
- {"key":"全部","value":"0000"},{"key":"可调用","value":"1"},{"key":"不可调用","value":"2"}
- ]},
- {"name":"调拨状态","className":"USED_STAT","list":[
- {"key":"全部","value":"0000"},{"key":"未调拨","value":"1"},{"key":"调拨中","value":"2"},{"key":"已调拨","value":"3"}
- ]}
- ]};
- //登录人的机构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 setloadtype_in=["deptId", userDeptId_inner,"type","","loadCorp",loadCorp,"deptLevel",getDeptLevel2(userDeptId_inner)];
- var setting;
- function getDeptLevel2(dpids){
- $.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 layout = $("#layout1").layout({
- leftWidth : 250,
- space : 10,
- onEndResize : function() {
- g.resetWidth();
- }
-
- });
- 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:checkAndSetHeight1,
- onExpand:checkAndSetHeight1
- }
- };
- $.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/loadSysOrgInfo2";
- };
- var zTree,node,tab;
- var zTreeCompId = "";
- var zTreeINS_UNITS = "";
- var condition="";
- //点击树节点
- function zTreeSelect(event,treeId,treeNode) {
- zTreeCompId = treeNode.id;
- zTreeINS_UNITS=treeNode.orgLevel;
- var getUser_id = top.com.sinosoft.lz.system.user.LoginInfo.getUser_id()+"";
- condition = "IS_DEL='0' AND COMP_ID IN ('"+ zTreeCompId +"')";
- g.setOptions({//重置加载列表的参数
- params : {
- "listId" :'265' ,
- "condition" : condition,
- direction:'DESC',
- sort: 'UPDATEDATE'
- }
- });
- g.rend();
- }
- //处理高度
- function checkAndSetHeight1(){
- var dom = $(".l-layout");
- var leftH = dom.find(".l-layout-left .l-layout-content").height();
- var rightH = getAllDomHeight(dom.find(".l-layout-center .l-layout-content").children());
- if(leftH<1350){
- left=1350;
- }else if(rightH<1350){
- rightH=1350;
- }
- var pageH = leftH>rightH?leftH:rightH;
- $(parent.document.body).find("#iframeChild").height(pageH+60);
- $(top.document.body).find("#frmright").height($(parent.document.body).height()+60);
- }
- //去掉y轴滚动条
- $(window).load(function(){
- $(parent.document.body).find("#tabModernMenu .basicTabModern_con").css("overflow-y","hidden");
- });
- </script>
- </head>
-
-
- <body>
- <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="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="CAR_NAME_265" id="CAR_NAME_265" width="300px" watermark="请输入发电车名称" onkeydown="if(event.keyCode==13){searchHandler();}"/>
- <!-- <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="conditions" id="conditions">
- <!-- <ul>
- <li class="condiTitle">容量:</li>
- <li><input type="text" class="Textinput" name="CAR_CONTENT"/></li>
- </ul> -->
- <ul>
- <li class="condiTitle">存放场所:</li>
- <li><input type="text" class="Textinput" name="STORE_PLACE"/></li>
- </ul>
- <ul>
- <li class="condiTitle">负责人:</li>
- <li><input type="text" class="Textinput" name="CAR_INPIRE"/></li>
- </ul>
- <ul>
- <li class="condiTitle">负责人手机:</li>
- <li><input type="text" class="Textinput" name="MOBILE_PHONE"/></li>
- </ul>
- </div>
- </div>
- </form>
- </fieldset>
- </div>
-
- <div class="padding_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_id216" name="FD_OBJECTID216" required="true"/>
- <input type="hidden" name="classid" value="216" required="true"/>
- <input type="hidden" id="APPLY_PERSION_216" name="APPLY_PERSION_216" required="true"/>
- <input type="hidden" id="COMPNAME_216" name="COMPNAME_216" required="true"/>
- <input type="hidden" id="APPROVE_PERSION_216" name="APPROVE_PERSION_216" required="true"/>
- <input type="hidden" id="RESOURCE_NAME_216" name="RESOURCE_NAME_216" value="发电车" required="true"/>
- <input type="hidden" id="APPLY_COMPID_216" name="APPLY_COMPID_216" required="true"/>
- <input type="hidden" id="APPLY_COMPNAME_216" name="APPLY_COMPNAME_216" required="true"/>
- <input type="hidden" id="START_TIME_216" name="START_TIME_216" required="true"/>
- <input type="hidden" id="END_TIME_216" name="END_TIME_216" required="true"/>
- <input type="hidden" id="APPLY_CAUSE_216" name="APPLY_CAUSE_216" required="true"/>
- <input type="hidden" id="IS_APPLY_216" name="IS_APPLY_216" value="0" required="true"/>
- <input type="hidden" id="APPLY_TYPE_216" name="APPLY_TYPE_216" value="R002105430205" required="true"/>
- </td>
- </tr>
- </form>
- </body>
- </html>
|