alert2.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. <!-- 遮罩层 -->
  20. <div class="div-mask-layer">
  21. <div class="ibox-content">
  22. <div class="spiner-example">
  23. <div class="sk-spinner sk-spinner-fading-circle">
  24. <div class="sk-circle1 sk-circle"></div>
  25. <div class="sk-circle2 sk-circle"></div>
  26. <div class="sk-circle3 sk-circle"></div>
  27. <div class="sk-circle4 sk-circle"></div>
  28. <div class="sk-circle5 sk-circle"></div>
  29. <div class="sk-circle6 sk-circle"></div>
  30. <div class="sk-circle7 sk-circle"></div>
  31. <div class="sk-circle8 sk-circle"></div>
  32. <div class="sk-circle9 sk-circle"></div>
  33. <div class="sk-circle10 sk-circle"></div>
  34. <div class="sk-circle11 sk-circle"></div>
  35. <div class="sk-circle12 sk-circle"></div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="alert_content">
  41. <div class="alert_title">
  42. <div class="left">
  43. 糖尿病人群
  44. </div>
  45. <div class="right">
  46. <div data-toggle="buttons" class="btn-group">
  47. <label class="btn btn-default active" @click = "alertTitle(0)">
  48. <input type="radio">全部
  49. </label>
  50. <label class="btn btn-default" @click = "alertTitle(1)">
  51. <input type="radio">住院
  52. </label>
  53. <label class="btn btn-default" @click = "alertTitle(2)">
  54. <input type="radio">门诊
  55. </label>
  56. </div>
  57. <div class="alert_time flex f_xy_c">
  58. 时间
  59. <div>
  60. <input type="text" class="layui-input" id="time">
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="alert_people flex f_x_sb f_y_c">
  66. <div>
  67. <span>总人数</span>
  68. <span>{{alertData1}}</span>
  69. <span>人</span>
  70. </div>
  71. <div>
  72. <span>新增人数</span>
  73. <span>{{alertData2}}</span>
  74. <span>人</span>
  75. </div>
  76. <div>
  77. <span>门诊人次</span>
  78. <span>{{alertData3}}</span>
  79. <span>人次</span>
  80. </div>
  81. <div>
  82. <span>住院人次</span>
  83. <span>{{alertData4}}</span>
  84. <span>人次</span>
  85. </div>
  86. </div>
  87. <div class="alert_chart flex f_x_sb">
  88. <div class="left">
  89. <bar-chart :config="alertChart1" @click-item="clickBarItem"></bar-chart>
  90. </div>
  91. <div class="right">
  92. <div class="top flex f_x_sb">
  93. <div class="nianling">
  94. <bar-chart :config="alertChart2"></bar-chart>
  95. </div>
  96. <div class="xingbie">
  97. <bar-chart :config="alertChart3"></bar-chart>
  98. </div>
  99. <div class="bingfa">
  100. <bar-chart :config="alertChart4"></bar-chart>
  101. </div>
  102. </div>
  103. <div class="bottom">
  104. <div data-toggle="buttons" class="btn-group fr mr20">
  105. <!-- <label class="btn btn-default" :class="{active: alertTime == 0}" @click = "alertChart(0)">
  106. <input type="radio">日
  107. </label> -->
  108. <label class="btn btn-default" :class="{active: alertTime == 0}" @click = "alertChart(0)">
  109. <input type="radio">月
  110. </label>
  111. <label class="btn btn-default" :class="{active: alertTime == 2}" @click = "alertChart(2)">
  112. <input type="radio">季
  113. </label>
  114. <label class="btn btn-default" :class="{active: alertTime == 1}" @click = "alertChart(1)">
  115. <input type="radio">年
  116. </label>
  117. </div>
  118. <bar-chart :config="alertChart5"></bar-chart>
  119. </div>
  120. </div>
  121. </div>
  122. <div class="alert_close" @click="closeAlertClick"></div>
  123. </div>
  124. </div>
  125. <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=1W9gqPiqc7C9TDliPP8S9Rj9"></script>
  126. <script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
  127. <script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
  128. <script src="../../../js/vue.js"></script>
  129. <script src="../../../js/jquery.min.js?v=2.1.4"></script>
  130. <script src="../../../component/common/event-bus.js"></script>
  131. <script src="../../../js/plugins/echarts/echarts.js"></script>
  132. <script src="../../../js/plugins/toastr/toastr.min.js"></script>
  133. <script src="../../../js/bootstrap.min.js"></script>
  134. <script src="../../../js/es6-promise.js"></script>
  135. <script src="../../../js/underscore.js"></script>
  136. <script src="../../../js/util.js"></script>
  137. <script src="../../../js/plugins/layer/layer.min.js"></script>
  138. <script src="../../../js/api/http-request.js"></script>
  139. <!--<script src="../../../js/api/intelligent-api.js"></script>-->
  140. <script src="../../../component/chart/bar-chart.js"></script>
  141. <script src="../component/disease-crowd.js"></script>
  142. <script src="../layui/layui.js"></script>
  143. <script src="../js/alertCharts.js"></script>
  144. <script src="../js/alert2.js"></script>
  145. </body>
  146. </html>