123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>重要用户明细</title>
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
- <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">
- <!-- <style type="text/css">
- .c_index_iframe_content{position: absolute;top:50%;left: 50%;width: 1000px;height: 500px;
- margin-left: -500px;margin-top: -250px;display: inline-block;background-color: #ffffff}
- .c_index_detail_iframe{width: 100%;height: 100%;display: inline-block;background-color: transparent;border: none;background-color: #ffffff}
- </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" style="background-color: #144E52">
- </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 deptId = (window.location.href).split('?')[1];
- var type = (window.location.href).split('?')[2];
-
- //IS_DEL=0 and CUSTOMER_CLASSIFICATION='1' 重要用户
- //IS_DEL=0 and CUSTOMER_CLASSIFICATION='3' 重点关注用户
- var condition = "";
- if(type=="1"||type=="2"||type=="3"){
- condition = "IS_DEL='0' AND OWNER_STATION IN('"+ deptId +"') and CUSTOMER_LEVEL = '"+type+"'";
- }else{
- condition = "IS_DEL='0' AND OWNER_STATION IN('"+ deptId +"') and CUSTOMER_CLASSIFICATION = '"+type+"'";
- }
-
-
- var loadParams = {
- "listId" : '263',
- "condition" : condition,
- direction:'DESC'
- //sort: 'UPDATEDATE'
- };
-
- var columns=[
-
- { display: '用户名称', name: 'NAME_263', align: 'center', width: "15%"},
- { display: '用电地址', name: 'DETAILED_ADDRESS_263', align: 'center', width: "20%"},
- { display: '用电类别', name: 'UTILIZATION_KIND_263_SHOW', align: 'center', width: "10%"},
- { display: '所属单位', name: 'OWNER_STATION_263_SHOW', align: 'center', width: "10%"},
- { display: '电压等级', name: 'VOLTAGE_CODE_263_SHOW', align: 'center', width: "10%"},
- { display: '合同容量', name: 'AGREEMENT_CAPACITY_263', align: 'center', width: "10%"},
- { display: '负荷类型', name: 'LOAD_KIND_263_SHOW', align: 'center' , width: "10%" },
- { display: '重要用户等级', name: 'CUSTOMER_LEVEL_263_SHOW', align: 'center', width: "10%" }
-
- ];
-
- var options={
- columns:columns,
- url:"/nwyj/ws/crud/CRUDService/queryQui",
-
- params:loadParams,
- 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("用户停电详情");
- }
-
-
-
-
- //点击查看
- function jumpPage(id){
-
- var pathStr=url["http_path"]+"page/cockpit/echart_maticView/amResource/customer-focusinfo.html?"+id;
- utils.openIframe(pathStr);
- //window.location.href="customer-focusinfo.jsp?"+id;
- }
-
-
- </script>
- </body>
- </html>
|