<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<title>物联网智能设备首页</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<meta name="viewport" content="width=device-width">
		<link href="../../../css/bootstrap.min.css" rel="stylesheet">
		<link href="../../../css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
		<link href="../../../css/plugins/toastr/toastr.min.css" rel="stylesheet">
		<link href="../../../css/style.min.css" rel="stylesheet">
		<link href="../../../css/flex.css" rel="stylesheet">
		<link href="../css/medical.css" rel="stylesheet">
	</head>

	<body>
		<div id="app" v-cloak>
            <div class="div-header flex f_y_c pl20">
                <div class="div-title"  @click="skipClick()">大数据应用服务平台 <img src="../images/sanjiao.png"></div>
            </div>
			<div class="div-skip" v-if="skipShow">
				<div>
					<a href="home.html">
						居民健康管理大数据分析
					</a>
				</div>
				<div>
					<a href="medical.html">
						医疗服务大数据分析
					</a>
				</div>
			</div>
			<div class="div-body flex">
                <div class="left">
					<!-- 大数据应用服务平台 -->
					<div class="contentBox h443   bigData">
						<div class="title flex f_y_c">
							<span :class="{active:timeType == 1}" @click="setTimeStr(1)">上月</span>
							<span :class="{active:timeType == 2}"  @click="setTimeStr(2)">本年</span>
						</div>
						<div class="menJiZhen contentBox2 flex f_x_sb mb20">
							<div class="left">
									<p class="mb10  tr">门诊人次</p>
									<p class="yellow_number pl15 mb25">{{leftData1['门诊人次']}} <span class="sub">人</span></p>
									<p class="pl10 mb10">门诊总费用</p>
									<p class="yellow_number pl15">{{leftData1['门诊总费用']}} <span class="sub">元</span></p>
							</div>
							<div class="middle flex_coloumn f_xy_c">
									<p class="mb10">门急诊人次</p>
									<p class="red_number">{{leftData1['门急诊人次']}} </p>
									<p class="sub">人次</p>
							</div>
							<div class="right">
									<p class="mb10 tl">急诊人次</p>
									<p class="yellow_number pr15 mb25">{{leftData1['急诊人次']}} <span class="sub">人</span></p>
									<p class="pr10 mb10">门急诊总费用</p>
									<p class="yellow_number pr15">{{leftData1['急诊总费用']}} <span class="sub">元</span></p>
							</div>
						</div>
						<div class="menJiZhen contentBox2 flex f_x_sb">
							<div class="left">
									<p class="mb10 	 tr">住院总费用</p>
									<p class="yellow_number  mb25">{{leftData1['住院总费用']}} <span class="sub">元</span></p>
									<p class="pl10 mb10">住院床日数</p>
									<p class="yellow_number pl15">{{leftData1['住院床日数']}} <span class="sub">天</span></p>
							</div>
							<div class="middle flex_coloumn f_xy_c">
									<p class="mb10">住院人次</p>
									<p class="red_number">{{leftData1['住院人次']}} </p>
									<p class="sub">人次</p>
							</div>
							<div class="right">
									<p class="mb10 tl">住院次均费用</p>
									<p class="yellow_number pr15 mb25">{{leftData1['住院均次费用']}} <span class="sub">元</span></p>
									<p class="pr10 mb5">住院平均床日数</p>
									<p class="yellow_number pr15">{{leftData1['住院平均床日数']}} <span class="sub">天</span></p>
							</div>
						</div>
					</div>
					<!-- 就诊人次 -->
					<div class="jiuZhen">
						<div class="boxTitle mb10 mt24">就诊人次</div>
						<div class="contentBox3 mb20">
							<bar-chart :config="leftChart1"></bar-chart>
						</div>
						<div class="contentBox3 ">
							<bar-chart :config="leftChart2"></bar-chart>
						</div>
					</div>
				</div>



				<!-- 中间 -->
                <div class="middle flex_coloumn">
					<!-- 地图 -->
					<div class="map mt20">
							<map-chart @map-click="clickMap" ref="map" :config="mapData"></map-chart>
							<div class="dropdown Mapselect">
									<div type="button" class="btn dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown">{{city}}
										<span class="caret"></span>
									</div>
									<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
											<li role="presentation" @click="setCity(item)" v-for="item in town">
													<a role="menuitem" href="#">{{item.townName}}</a>
											</li>
									</ul>
							</div>

					</div>
					<!-- 地图底部 -->
					<div class="bottom  flex f_x_sb">
							<div class="left flex_coloumn f_x_sb">
								<div class="flex">
										<p class="w100">门急诊人次</p>
										<p class="yellow_number pl15 ">{{yesterdayData['门急诊人次']}} <span class="sub">人</span></p>
								</div>
								<div class="flex ">
										<p class="w100">门急诊总费用</p>
										<p class="yellow_number pl15 ">{{yesterdayData['门急诊总费用']}} <span class="sub">元</span></p>
								</div>
									
								<div class="flex">
										<p class="w100">门急诊次均费用</p>
										<p class="yellow_number pl15 ">{{yesterdayData['门急诊次均费用']}} <span class="sub">元</span></p>
								</div>								
							</div>
							
							<div class="middle flex_coloumn f_xy_c">
									<p class="mb10 title">昨日数据</p>
									<p class="yellow_number font44">{{yesterdayData['服务患者数']}} </p>
									<p class="sub">服务患者人数</p>
							</div>
							<div class="right flex_coloumn f_x_sb">
									<div class="flex">
											<p class="w100">住院人次</p>
											<p class="yellow_number pl15 ">{{yesterdayData['住院人次']}} <span class="sub">人</span></p>
									</div>
									<div class="flex">
											<p class="w100">住院总费用</p>
											<p class="yellow_number pl15 ">{{yesterdayData['门急诊次均费用']}} <span class="sub">元</span></p>
									</div>
										
									<div class="flex">
											<p class="w100">住院次均费用</p>
											<p class="yellow_number pl15 ">{{yesterdayData['住院均次费用']}} <span class="sub">元</span></p>
									</div>							
									<div class="flex">
											<p class="w100">住院平均日数</p>
											<p class="yellow_number pl15 ">{{yesterdayData['住院平均床日数']}} <span class="sub">天</span></p>
									</div>							
							</div>
					</div>
				</div>




                <div class="right">
						<!-- 门诊服务情况 -->
						<div class="right1">
								<div class="boxTitle mb10">门诊服务情况</div>
								<div class="contentBox mb20  h234">
									<table>
										<tr>
										  <th class="w60">月份</th>
										  <th class="w193">门急诊总费用</th>
										  <th class="w188">门急诊均次费用</th>
										</tr>
										<tr v-for="(item,index) in tableData1">
										  <td>{{(index+1)+'月'}}</td>
										  <td>
											  <span class="mr10">{{item['门急诊总费用']}}元</span>
											  <span class="mr20">环比</span>
											  <img  v-if="item['门急诊总费用环比'] >1" src="../images/zengzhang.png">
											  <img v-else src="../images/xiajiang.png">
											  <span>{{item['门急诊总费用环比']}}</span>
										   </td>
										   <td>
											    <span class="mr10">{{item['门急诊次均费用']}}元</span>
											  <span class="mr20">环比</span>
											  <img  v-if="item['门急诊次均费用环比'] >1" src="../images/zengzhang.png">
											  <img v-else src="../images/xiajiang.png">
											  <span>{{item['门急诊次均费用环比']}}</span>
										   </td>
										</tr>
									  </table>

								</div>
								<div class="contentBox3 mb20 h165">
										<bar-chart :config="rightChart1"></bar-chart>
								</div>
							</div>
						<!-- 住院服务情况 -->
						<div class="right2">
								<div class="boxTitle mb10 mt24">住院服务情况</div>
								<div class="contentBox mb20 h234">
										<table>
												<tr>
												  <th class="w60">月份</th>
												  <th class="w193">住院总费用</th>
												  <th class="w188">住院均次费用</th>
												</tr>
												<tr v-for="(item,index) in tableData2">
												  <td>{{(index+1)+'月'}}</td>
												  <td>
													  <span class="mr10">{{item['住院总费用']}}元</span>
													  <span class="mr20">环比</span>
													  <img  v-if="item['住院总费用环比'] >1" src="../images/zengzhang.png">
													  <img v-else src="../images/xiajiang.png">
													  <span>{{item['住院总费用环比']}}</span>
												   </td>
												   <td>
														<span class="mr10">{{item['住院次均费用']}}元</span>
													  <span class="mr20">环比</span>
													  <img  v-if="item['住院次均费用环比'] >1" src="../images/zengzhang.png">
													  <img v-else src="../images/xiajiang.png">
													  <span>{{item['住院次均费用环比']}}</span>
												   </td>
												</tr>
											  </table>
								</div>
								<div class="contentBox3  h165 mb10">
									<bar-chart :config="rightChart2"></bar-chart>
								</div>
							</div>
				</div>
            </div>			
			<div class="div-bottom"></div>
		</div>
		<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=1W9gqPiqc7C9TDliPP8S9Rj9"></script>
		<script type="text/javascript" src="http://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
		<script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
		<script src="../../../js/vue.js"></script>
		<script src="../../../js/jquery.min.js?v=2.1.4"></script>
		<script src="../../../component/common/event-bus.js"></script>
		<script src="js/slider.js"></script>
		<script src="../../../js/plugins/echarts/echarts.js"></script>
		<script src="../../../js/plugins/toastr/toastr.min.js"></script>
		<script src="../../../js/bootstrap.min.js"></script>
		<script src="../../../js/es6-promise.js"></script>
		<script src="../../../js/underscore.js"></script>
		<script src="../../../js/plugins/layer/layer.min.js"></script>
		<!--<script src="../../../js/security.js"></script>-->
		<script src="../../../js/api/http-request.js"></script>
		<script src="../../../component/chart/guigang.js"></script>
		<script src="../../../component/chart/bar-chart.js"></script>

		<script src="../../../component/chart/map-chart.js"></script>
	
		<script src="../../../dataJson/bigData.js"></script>
		<script src="../../../dataJson/bigData2.js"></script>
		<script src="../../../dataJson/bigData3.js"></script>
		<script src="../../../dataJson/bigData4.js"></script>
		<script src="../../../dataJson/bigData5.js"></script>
		<script src="../js/medical.js"></script>
	</body>

</html>