123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <%@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="../../../../include2.jsp" %>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
- <link href="<%=path%>/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
- <!--引用资源文件,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 -->
- <link href="/nwyj/page/cockpit/webgis/js/dialog/gis_er_info_grid.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="/nwyj/page/cockpit/webgis/js/dialog/gis_er_info_grid.js"></script>
- <script type="text/javascript">
- //数据表格
- var g;
- var condition = "";
- var value1 = (window.location.href).split('?')[1];
- var name = (window.location.href).split('?')[2];
-
- if(name=="content_min"){
- condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND (convert(int,CONTENT) BETWEEN '0' AND '10')";
- }else if(name=="content_mid"){
- condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND (convert(int,CONTENT) BETWEEN '11' AND '50')";
- }else if(name=="content_max"){
- condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND (convert(int,CONTENT) >= '51' )";
- }else if(name=="kused"){
- condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND IS_USED='1'";
- }else if(name=="bused"){
- condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND IS_USED='2' ";
- }
- var loadParams = {
- "listId" : '266',
- "condition" : condition,
- direction:'DESC',
- sort: 'UPDATEDATE'
- };
- function initComplete(){
-
- g = $("#maingrid").quiGrid({
- columns: [{
- display: '所属单位', name: 'COMP_ID_266_SHOW', width: "10%", align: 'center'
- },{
- display: '装备名称', name: 'NAME_266', width: "10%", align: 'center'
- },{
- display: '容量(kW)', name: 'CONTENT_266', width: "10%", align: 'center'
- },{
- display: '数量', name: 'NUM_266', width: "5%", align: 'center'
- },{
- display: '燃料', name: 'GAS_266_SHOW', width: "5%", align: 'center'
- },{
- display: '供应商', name: 'PROVIDER_266', width: "10%", align: 'center'
- },{
- display: '购买日期(年月)', name: 'BUY_DATE_266', width: "10%", align: 'center'
- },{
- display: '装备存放场所', name: 'STORE_PLACE_266', width: "10%", align: 'center'
- },{
- display: '负责人', name: 'INPIRE_266', width: "5%", align: 'center'
- },{
- display: '手机', name: 'MOBILE_PHONE_266', width: "10%", align: 'center'
- },{
- display: '电压等级 (V)', name: 'VOLTAGE_LEVEL_266_SHOW', width: "5%", align: 'center'
- },{
- display: '调用状态', name: 'IS_USED_266_SHOW', width: "10%", align: 'center'
- }],
- url :'/nwyj/ws/crud/CRUDService/queryQui',
- params:loadParams,
- pageSize: 10,
- rownumbers:true,
- width:"100%",
- checkbox:true,
- percentWidthMode:true
-
- });
-
- }
- </script>
- </head>
-
- <body>
- <div class="info_grid_title"><span>发电机</span><img id="close" src="/nwyj/images/cockpit/disabled_close.png"/></div>
- <div class="adding_right5" style="height:500px; overflow-y:auto">
- <div id="maingrid" style="margin: 0; padding: 0"></div>
- </div>
- </body>
- </html>
|