123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <!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"> -->
- <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">
-
- <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/jsc_grid.css">
-
- <!-- <style type="text/css">
- .c_page_hed{background-color: #0A2951}
- </style> -->
- </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 url ="";
- if(params["FLAG"]==1){
- url="/nwyj/ws/SystemDataSourceChartServiceImpl/SystemDataSourceChartServiceImpl/getRiChangZDataInfo";
- }else{
- url="/nwyj/ws/SystemDataSourceChartServiceImpl/SystemDataSourceChartServiceImpl/getRiChangXDataInfo";
- }
-
- var loadParams = {
- "compId" : params["compId"],
- "tName" : "JSC_EMC_AM_GENERATOR_CAR_VIEW",
- };
-
- var columns=[
- {display: '所属单位', name: 'NAME', width: "15%", align: 'center',
- render:function(rowdata, rowindex, value, column){
- var str=value.replace(/供电局/g,"局");
- str=str.replace(/供电所/g,"所");
- return str;
- }
- },
- {display: '装备名称', name: 'CAR_NAME', width: "20%", align: 'center'},
- {display: '规格型号', name: 'CAR_TYPE', width: "20%", align: 'center'},
- {display: '电压等级 (V)', name: 'CAR_LEVEL', width: "10%", align: 'center'},
- {display: '容量(kW)', name: 'CAR_CONTENT', width: "10%", align: 'center'},
- {display: '供应商', name: 'CAR_PROVIDER', width: "25%", align: 'center'},
- //{display: '购买日期', name: 'BUY_DATE_265', width: "10%", align: 'center'}
- ]
-
-
- var options={
- columns:columns,
- url:url,
-
- params:loadParams,
- pageSize:10,
- percentWidthMode:true,
- height:"100%",
- method: "post",
- width:"100%",
- usePager : true,
- 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"]+"发电车详情");
- }
- </script>
- </body>
- </html>
|