123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <!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">
- <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>
- <!-- <style>
- .c_page_hed{
- background-color: #08094C
- }
- .item_a{
- color: #ffffff;
- }
- </style> -->
- <script type="text/javascript">
- var utils=new Util();
- var grid=null;
- //var comp_id = "11";
- var culum = null;
- var params=utils.resolveUrl();
- //console.log(params);
- //params = { dept_name: "本单位所有", is_huizong: "true", dept_id: "11", name: "蓝色预警", is_alert: "0", level: "38" };
- //console.log(window.screen.width);
- function getGridcolumns(arg){
- //EARLY_WARNING_AREA_NAME,EARLY_WARNING_NAME,EARLY_WARNING_ID,RELEASE_RELIEVE_DATE
- var column = null;
- if(arg=="0"){
- culum = "CURRENT_EW_LEVEL";
- column=[
- { display: "发布单位", name: "DEPT_NAME", align: "center",width:"10%"},
- { display: "预警名称", name: "EARLY_WARNING_NAME", align: "center",width:"20%"},
- { display: "预警编号", name: "EARLY_WARNING_ID", align: "center",width:"10%" },
- { display: "预警范围", showTitle:true,name: "EARLY_WARNING_AREA_NAME", align: "center",width:"32%" },
- { display: "发布时间", name: "RELEASE_RELIEVE_DATE", align: "center",width:"14%" },
- { display: "状态", name: "IS_SEND", align: "center",width:"13%" }];
- }
- if(arg=="1"){
- culum = "CURRENT_ER_LEVEL";
- column=[
- { display: "发布单位", name: "DEPT_NAME", align: "center",width:"10%"},
- { display: "响应名称", name: "EARLY_WARNING_NAME", align: "center",width:"20%"},
- { display: "响应编号", name: "EARLY_WARNING_ID", align: "center",width:"10%" },
- { display: "响应范围",showTitle:true, name: "EARLY_WARNING_AREA_NAME", align: "center",width:"32%"},
- { display: "发布时间", name: "RELEASE_RELIEVE_DATE", align: "center",width:"14%" },
- { display: "状态", name: "IS_SEND", align: "center",width:"13%" }];
- }
- return column;
- }
- var columns = getGridcolumns(params.is_alert);
- var options={
- columns:columns,
- url:"/nwyj/ws/cockpit/CockpitService/queryCompDitaildata",
- params: [{name:"comp",value:params.dept_id},
- {name:"is_alert",value:params.is_alert},
- {name:"is_huizong",value:params.is_huizong},
- {name:"culum",value:culum},
- {name:"level",value:params.level}],
- 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);
- //bindEvent();
- setTitle();
- close();
- });
-
- function setTitle(){
- $("#i_page_hed").text(params.dept_name+params.name+"详细信息");
- }
-
- </script>
-
-
-
- </body>
- </html>
|