123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="Cache" content="no-cache">
- <meta http-equiv="cache-control" content="no-cache, must-revalidate">
- <meta http-equiv="expires" content="0">
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <title>实时位置</title>
- <link rel="stylesheet" href="../css/index.css">
- <link rel="stylesheet" href="../css/style.css">
- <link rel="stylesheet" href="../css/iconfont.css">
- <script src="../js/vue.min.js"></script>
- <script src="../js/index.js"></script>
- <script src="../js/echarts.min.js"></script>
- <script src="../js/jquery.min.js"></script>
- <script type="text/javascript">
- document.write('<script src="../assets/init.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
- document.write('<script src="../assets/ajax.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
- </script>
- <script>
- checkLogin();
- </script>
- <style type="text/css">
- .text-whitea{
- background-color: rgba(255,255,255,0.2)
- }
- .el-date-editor .el-range-separator,.el-input__icon{
- height: auto;
- }
- .el-table,.el-table__expanded-cell {
- color: #b4b4b4;
- background-color: rgba(255,255,255,0) !important;
- }
- .el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{
- border-bottom: 1px solid rgba(255, 255, 255, 0.2);
- }
- .el-table--border .el-table__cell{
- border-right: 1px solid rgba(255, 255, 255, 0.2);
- }
- </style>
- </head>
- <body>
- <div id="app" class="padding-xs">
- <!-- <el-form :model="queryParams" ref="queryRef" :inline="true" class="margin-bottom-xs">
- <el-form-item style="margin: 0px;">
- <el-date-picker
- v-model="queryParams.searhDate"
- type="daterange"
- style="height:32px;line-height:32px;"
- range-separator="至">
- </el-date-picker>
- <el-button type="primary" size="small" class="margin-left-xs">查询</el-button>
- </el-form-item>
- </el-form> -->
- <el-row :gutter="5">
- <el-col :xs="24" :span="6">
- <div style="height: calc( 50vh - 8px);" class="Sense padding-sm">
- <div class="flex align-center text-sm text-white">
- <img src="../img/icon.png" alt="" style="width: 18px;margin-right: 10px;">
- <span>告警船舶排行</span>
- </div>
- <div id="warmByShip" style="height: calc(100% - 20px);"></div>
- </div>
- <div style="height: calc(50vh - 8px);" class="margin-top-xs Sense padding-xs">
- <div class="flex align-center text-sm text-white">
- <img src="../img/icon.png" alt="" style="width: 18px;margin-right: 10px;">
- <span>告警类型占比</span>
- </div>
- <div id="warmType" style="height: calc(100% - 20px);"></div>
- </div>
- </el-col>
- <el-col :xs="24" :span="12">
- <div style="height: calc(50vh - 8px);" class="Sense padding-xs">
- <div class="flex align-center justify-between text-sm text-white">
- <div class="flex align-center">
- <img src="../img/icon.png" alt="" style="width: 18px;margin-right: 10px;">
- <span>告警趋势</span>
- </div>
- <div class="pointer" @click="resetQuery"><i class="el-icon-refresh"></i>重置</div>
- </div>
- <div id="fuelTrends" style="height: calc(100% - 20px);"></div>
- </div>
- <div class="Sense margin-top-xs">
- <el-table :data="warmData"
- height="calc(50vh - 8px)"
- ref="singleTable"
- highlight-current-row
- @current-change="handleCurrentChange"
- :row-style="{ background: 'transparent' }"
- :cell-style="{padding: '5px 0' }"
- cell-class-name="text-sm"
- :header-cell-style="{ background: '#4461be',color: 'var(--white)',padding: '2px 0',height: '18px !important' }"
- header-cell-class-name="text-black text-bold">
- <el-table-column align="center" type="index" width="50" label="序号"></el-table-column>
- <el-table-column align="center" prop="shipName" label="船名"></el-table-column>
- <el-table-column align="center" prop="total" sortable label="报警数量"></el-table-column>
- </el-table>
- </div>
- </el-col>
- <el-col :xs="24" :span="6">
- <div style="height: calc( 50vh - 8px);" class="Sense padding-lr-sm padding-tb-xs">
- <div class="flex align-center text-sm text-white" style="position: relative;">
- <img src="../img/icon.png" alt="" style="width: 18px;margin-right: 10px;">
- <span>告警数量一览</span>
- </div>
- <div style="height: calc(100% - 20px);overflow: auto;" class="text-xs">
- <div class="flex align-center justify-between text-whitea radius padding-xs margin-top-xs"
- v-for="(item,index) in wramList" :key="index">
- <div>
- <span class="iconfont margin-right-xs" :class="item.icon" style="vertical-align: middle;"></span>
- <span>{{item.name}}</span>
- </div>
- <div><span class="text-blue text-bold text-xl margin-right-xs">{{wramCount[item.key]}}</span>次</div>
- </div>
- </div>
- </div>
- <div style="height: calc( 50vh - 8px);" class="margin-top-xs Sense padding-sm">
- <div class="flex align-center text-sm text-white">
- <img src="../img/icon.png" alt="" style="width: 18px;margin-right: 10px;">
- <span>告警类型排行</span>
- </div>
- <div id="wramTypeRank" style="height: calc(100% - 20px);"></div>
- </div>
- </el-col>
- </el-row>
- </div>
- <script type="text/javascript">
- document.write('<script src="../assets/compreAlarm.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
- </script>
- </body>
- </html>
|