alert.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>Document</title>
  8. <link href="../../../css/bootstrap.min.css" rel="stylesheet">
  9. <link href="../../../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
  10. <link href="../../../css/plugins/toastr/toastr.min.css" rel="stylesheet">
  11. <link href="../../../css/style.min.css" rel="stylesheet">
  12. <link href="../../../css/flex.css" rel="stylesheet">
  13. <link href="../css/home.css" rel="stylesheet">
  14. <link href="../css/alert.css" rel="stylesheet">
  15. <link rel="stylesheet" href="../layui/css/layui.css">
  16. </head>
  17. <body>
  18. <div id="main" v-cloak>
  19. <div class="alert_content">
  20. <div class="alert_title">
  21. <div class="left">
  22. {{title}}
  23. </div>
  24. <div class="right">
  25. <div data-toggle="buttons" class="btn-group">
  26. <label class="btn btn-default active" @click = "alertTitle(0)">
  27. <input type="radio">全部
  28. </label>
  29. <label class="btn btn-default" @click = "alertTitle(2)">
  30. <input type="radio">住院
  31. </label>
  32. <label class="btn btn-default" @click = "alertTitle(1)">
  33. <input type="radio">门诊
  34. </label>
  35. </div>
  36. <div class="alert_time flex f_xy_c">
  37. 时间
  38. <div>
  39. <input type="text" class="layui-input" id="time">
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="alert_people flex f_x_sb f_y_c">
  45. <div>
  46. <span>总人数</span>
  47. <span>{{alertData1}}</span>
  48. <span>人</span>
  49. </div>
  50. <div>
  51. <span>新增人数</span>
  52. <span>{{alertData2}}</span>
  53. <span>人</span>
  54. </div>
  55. <div>
  56. <span>门诊人次</span>
  57. <span>{{alertData3}}</span>
  58. <span>人</span>
  59. </div>
  60. <div>
  61. <span>住院人次</span>
  62. <span>{{alertData4}}</span>
  63. <span>人</span>
  64. </div>
  65. </div>
  66. <div class="alert_chart flex f_x_sb">
  67. <div class="left">
  68. <bar-chart :config="alertChart1" @click-item="clickBarItem"></bar-chart>
  69. </div>
  70. <div class="right">
  71. <div class="top flex f_x_sb">
  72. <div class="nianling">
  73. <bar-chart :config="alertChart2"></bar-chart>
  74. </div>
  75. <div class="xingbie">
  76. <bar-chart :config="alertChart3"></bar-chart>
  77. </div>
  78. <div class="bingfa">
  79. <bar-chart :config="alertChart4"></bar-chart>
  80. </div>
  81. </div>
  82. <div class="bottom">
  83. <div data-toggle="buttons" class="btn-group fr mr20">
  84. <!-- <label class="btn btn-default" :class="{active: alertTime == 0}" @click = "alertChart(0)">
  85. <input type="radio">日
  86. </label> -->
  87. <label class="btn btn-default" :class="{active: alertTime == 1}" @click = "alertChart(1)">
  88. <input type="radio">月
  89. </label>
  90. <!-- <label class="btn btn-default" :class="{active: alertTime == 2}" @click = "alertChart(2)">
  91. <input type="radio">季
  92. </label> -->
  93. <label class="btn btn-default" :class="{active: alertTime == 3}" @click = "alertChart(3)">
  94. <input type="radio">年
  95. </label>
  96. </div>
  97. <bar-chart :config="alertChart5"></bar-chart>
  98. </div>
  99. </div>
  100. </div>
  101. <div class="alert_close" @click="closeAlertClick"></div>
  102. </div>
  103. </div>
  104. <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=1W9gqPiqc7C9TDliPP8S9Rj9"></script>
  105. <script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
  106. <script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
  107. <script src="../../../js/vue.js"></script>
  108. <script src="../../../js/jquery.min.js?v=2.1.4"></script>
  109. <script src="../../../component/common/event-bus.js"></script>
  110. <script src="../../../js/plugins/echarts/echarts.js"></script>
  111. <script src="../../../js/plugins/toastr/toastr.min.js"></script>
  112. <script src="../../../js/bootstrap.min.js"></script>
  113. <script src="../../../js/es6-promise.js"></script>
  114. <script src="../../../js/underscore.js"></script>
  115. <script src="../../../js/plugins/layer/layer.min.js"></script>
  116. <script src="../../../js/api/http-request.js"></script>
  117. <!--<script src="../../../js/api/intelligent-api.js"></script>-->
  118. <script src="../../../component/chart/bar-chart.js"></script>
  119. <script src="../component/disease-crowd.js"></script>
  120. <script src="../layui/layui.js"></script>
  121. <script src="../js/alert-data.js"></script>
  122. <script src="../js/alert-data2.js"></script>
  123. <script src="../js/alert.js"></script>
  124. </body>
  125. </html>