123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>设备受损明细详情-单位和电压等级区分</title>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <script type="text/javascript" src="/nwyj/scripts/cockpit/cockpitIndex/context.js"></script>
- <!--框架必需start-->
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
- <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" type="text/css" id="skin" prePath="/nwyj/scripts/qui/" scrollerY="false"/>
- <link rel="stylesheet" type="text/css" id="customSkin"/>
- <!--框架必需end-->
- <!--grid组件start-->
- <script src="/nwyj/scripts/qui/libs/js/table/quiGrid.js" type="text/javascript"></script>
- <!--grid组件end-->
- <script type="text/javascript" src="/nwyj/scripts/cockpit/cockpitIndex/util.js"></script>
- <!-- <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/gisgrid.css"> -->
- <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/cockpit_layout/icon.css">
- <!-- <style type="text/css">
- .c_page_hed {background-color: #08094C;}
- </style> -->
-
- <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/jsc_grid.css">
-
- </head>
-
- <body>
- <div id="i_page_hed" class="c_page_hed">
- </div><div id="i_page_colse" class=" c_page_close index_icon_close_content"></div>
- <div id="i_page_grid_content" class="c_page_grid_content">
- <div id="i_page_grid" class="c_page_grid"></div>
- </div>
- <script type="text/javascript">
- var utils=new Util();
- var grid=null;
- var params=utils.resolveUrl();
- var columns={};
- columns["diya"]=[{ display:"变电站", name: "SUBSTATION_NAME", align: "center", width: "15%"},
- { display:"所属线路", name: "LINE_NAME", align: "center", width: "15%"},
- { display:"所属台区", name: "TRANSFORMAER_NAME",align: "center", width: "15%"},
- { display:"设备类型", name: "DEVICE_TYPE",align: "center", width: "11%"},
- { display:"受损类型", name: "DAMAGE_TYPE",align: "center", width: "11%"},
- { display:"长度", name: "LENGTH", align: "center", width: "11%"},
- { display:"数量", name: "COUNT", align: "center", width: "11%"},
- { display:"是否恢复", name: "IS_REPAIR", align: "center", width: "11%",
- render:function(rowdata, rowindex, value, column){
- if(value==0)return "未恢复";
- return "恢复";
- }
- }
- ];
- columns["10kV"]=[{ display:"名称", name: "NAME", align: "center", width: "15%"},
- { display:"编码", name: "ID", align: "center", width: "15%"},
- { display:"电压等级", name: "VOLTAGE",align: "center", width: "14%",
- render:function(rowdata, rowindex, value, column){
- if(value==1)return "10kV";
- return "-";
- }
- },
- { display:"设备类型", name: "DEVICE_TYPE",align: "center", width: "14%"},
- { display:"受损类型", name: "DAMAGE_TYPE",align: "center", width: "14%"},
- { display:"长度", name: "LENGTH", align: "center", width: "14%"},
- { display:"是否恢复", name: "IS_REPAIR", align: "center", width: "14%",
- render:function(rowdata, rowindex, value, column){
- if(value==0)return "未恢复";
- return "恢复";
- }
- }
- ];
- columns["other"]=[{ display:"名称", name: "NAME", align: "center", width: "15%"},
- { display:"编码", name: "ID", align: "center", width: "15%"},
- { display:"电压等级", name: "VOLTAGE",align: "center", width: "14%",
- render:function(rowdata, rowindex, value, column){
- if(value==1)return "500kV";
- if(value==2)return "220kV";
- if(value==3)return "110kV";
- if(value==4)return "35kV";
- return "-";
-
- }
- },
- { display:"杆塔型号", name: "POLE_TYPE",align: "center", width: "14%"},
- { display:"受损类型", name: "DAMAGE_TYPE",align: "center", width: "14%"},
- { display:"水平档距", name: "LENGTH", align: "center", width: "14%"},
- { display:"是否恢复", name: "IS_REPAIR", align: "center", width: "14%",
- render:function(rowdata, rowindex, value, column){
- if(value==0)return "未恢复";
- return "恢复";
- }
- }
- ];
-
- var options={
- columns:columns[params.column],
- url:"/nwyj/ws/SystemDataSourceChartServiceImpl/SystemDataSourceChartServiceImpl/getDaoGanDetailByVoltageInfo",
- params: [{name:"reportId",value:params.reportId},
- {name:"compId",value:params.compId},
- {name:"voltage",value:params.voltage}
- ] ,
- pageSize:10,
- usePager:false,
- percentWidthMode:true,
- height:"100%",
- method: "post",
- width:"100%",
- usePager : false,
- isScroll: true,
- percentWidthMode : false,
- alternatingRow: false,
- rowAttrRender: function(rowdata, rowindex, rowid){
- return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
- }
- };
- $(function(){
- grid=$("#i_page_grid").quiGrid(options);
- setTitle();
- close();
- });
- function setTitle(){
- $("#i_page_hed").text(params.text+params.level+"设备受损详情表");
- }
- </script>
- </body>
- </html>
|