0eb6520df84403da3d2ff9e823f46b57acdecbdf.svn-base 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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="../../../../include2.jsp" %>
  9. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
  10. <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
  11. <link href="<%=path%>/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
  12. <!--引用资源文件,JS CSS-->
  13. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  16. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  17. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  18. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  19. <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  20. <!--基本选项卡start-->
  21. <!--框架必需end-->
  22. <!-- 按钮权限start -->
  23. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  24. <!-- 按钮权限end -->
  25. <link href="/nwyj/page/cockpit/webgis/js/dialog/gis_er_info_grid.css" rel="stylesheet" type="text/css"/>
  26. <script type="text/javascript" src="/nwyj/page/cockpit/webgis/js/dialog/gis_er_info_grid.js"></script>
  27. <script type="text/javascript">
  28. //数据表格
  29. var g;
  30. var condition = "";
  31. var value1 = (window.location.href).split('?')[1];
  32. var name = (window.location.href).split('?')[2];
  33. if(name=="content_min"){
  34. condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND (convert(int,CONTENT) BETWEEN '0' AND '10')";
  35. }else if(name=="content_mid"){
  36. condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND (convert(int,CONTENT) BETWEEN '11' AND '50')";
  37. }else if(name=="content_max"){
  38. condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND (convert(int,CONTENT) >= '51' )";
  39. }else if(name=="kused"){
  40. condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND IS_USED='1'";
  41. }else if(name=="bused"){
  42. condition = "IS_DEL='0' AND COMP_ID = '"+value1+"' AND IS_USED='2' ";
  43. }
  44. var loadParams = {
  45. "listId" : '266',
  46. "condition" : condition,
  47. direction:'DESC',
  48. sort: 'UPDATEDATE'
  49. };
  50. function initComplete(){
  51. g = $("#maingrid").quiGrid({
  52. columns: [{
  53. display: '所属单位', name: 'COMP_ID_266_SHOW', width: "10%", align: 'center'
  54. },{
  55. display: '装备名称', name: 'NAME_266', width: "10%", align: 'center'
  56. },{
  57. display: '容量(kW)', name: 'CONTENT_266', width: "10%", align: 'center'
  58. },{
  59. display: '数量', name: 'NUM_266', width: "5%", align: 'center'
  60. },{
  61. display: '燃料', name: 'GAS_266_SHOW', width: "5%", align: 'center'
  62. },{
  63. display: '供应商', name: 'PROVIDER_266', width: "10%", align: 'center'
  64. },{
  65. display: '购买日期(年月)', name: 'BUY_DATE_266', width: "10%", align: 'center'
  66. },{
  67. display: '装备存放场所', name: 'STORE_PLACE_266', width: "10%", align: 'center'
  68. },{
  69. display: '负责人', name: 'INPIRE_266', width: "5%", align: 'center'
  70. },{
  71. display: '手机', name: 'MOBILE_PHONE_266', width: "10%", align: 'center'
  72. },{
  73. display: '电压等级 (V)', name: 'VOLTAGE_LEVEL_266_SHOW', width: "5%", align: 'center'
  74. },{
  75. display: '调用状态', name: 'IS_USED_266_SHOW', width: "10%", align: 'center'
  76. }],
  77. url :'/nwyj/ws/crud/CRUDService/queryQui',
  78. params:loadParams,
  79. pageSize: 10,
  80. rownumbers:true,
  81. width:"100%",
  82. checkbox:true,
  83. percentWidthMode:true
  84. });
  85. }
  86. </script>
  87. </head>
  88. <body>
  89. <div class="info_grid_title"><span>发电机</span><img id="close" src="/nwyj/images/cockpit/disabled_close.png"/></div>
  90. <div class="adding_right5" style="height:500px; overflow-y:auto">
  91. <div id="maingrid" style="margin: 0; padding: 0"></div>
  92. </div>
  93. </body>
  94. </html>