<!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-mask-layer">
				<div class="ibox-content">
					<div class="spiner-example">
						<div class="sk-spinner sk-spinner-fading-circle">
							<div class="sk-circle1 sk-circle"></div>
							<div class="sk-circle2 sk-circle"></div>
							<div class="sk-circle3 sk-circle"></div>
							<div class="sk-circle4 sk-circle"></div>
							<div class="sk-circle5 sk-circle"></div>
							<div class="sk-circle6 sk-circle"></div>
							<div class="sk-circle7 sk-circle"></div>
							<div class="sk-circle8 sk-circle"></div>
							<div class="sk-circle9 sk-circle"></div>
							<div class="sk-circle10 sk-circle"></div>
							<div class="sk-circle11 sk-circle"></div>
							<div class="sk-circle12 sk-circle"></div>
						</div>
					</div>
				</div>
			</div>
		
			<div class="div-header flex f_y_c pl20">
				<div class="div-title" @click="skipClick()">大数据应用服务平台 <input type="checkbox" class="sanjiao"><img style="transition: all .3s ease-in-out" src="../images/sanjiao.png"></div>
				<div class="div-skip" :class="{'div-skip-active':skipShow}">
					<div>
						<a href="medical.html">
							医疗服务大数据分析
						</a>
					</div>
					<div>
						<a href="home.html">
							居民健康管理大数据分析
						</a>
					</div>
				</div>
			</div>
			<div class="div-body flex">
				<div class="left">
					<!-- 大数据应用服务平台 -->
					<div class="contentBox h443   bigData">
						<div class="title flex f_y_c">
							<div data-toggle="buttons" class="btn-group fr mr20" style="margin-top: 0;">
								<label class="btn btn-default" :class="{active: timeType == 1}" @click="setTimeStr(1)">
									<input type="radio">上月
								</label>
								<label class="btn btn-default" :class="{active: timeType == 2}" @click="setTimeStr(2)">
									<input type="radio">本年
								</label>
							</div>
						</div>
						<div class="menJiZhen contentBox2 flex f_x_sb mb20">
							<div class="left">
								<p class="mb10  tr">门诊人次</p>
								<p class="yellow_number pl15 mb25">{{leftData.HC_04_1050 || "0"}} <span class="sub">人次</span></p>
								<p class="pl10 mb10">门急诊总费用</p>
								<p class="yellow_number pl15">{{leftData.HC_05_1001 || "0"}} <span class="sub">元</span></p>
							</div>
							<div class="middle flex_coloumn f_xy_c">
								<p class="mb10">门急诊人次</p>
								<p class="red_number">{{leftData.HC_05_1004 || "0"}} </p>
								<p class="sub">人次</p>
							</div>
							<div class="right">
								<p class="mb10 tl">急诊人次</p>
								<p class="yellow_number pr15 mb25">{{leftData.HC_04_1048 || "0"}} <span class="sub">人次</span></p>
								<p class="pr10 mb10">门急诊次均费用</p>
								<p class="yellow_number pr15">{{leftData.HC_05_1003 || "0"}} <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">{{leftData.HC_06_1014 || "0"}} <span class="sub">元</span></p>
								<p class="pl10 mb10">住院总床日数</p>
								<p class="yellow_number pl15">{{leftData.HC_04_1013 || "0"}} <span class="sub">天</span></p>
							</div>
							<div class="middle flex_coloumn f_xy_c">
								<p class="mb10">住院人次</p>
								<p class="red_number">{{leftData.HC_06_1013 || "0"}} </p>
								<p class="sub">人次</p>
							</div>
							<div class="right">
								<p class="mb10 tl">住院次均费用</p>
								<p class="yellow_number pr15 mb25">{{leftData.HC_06_1022 || "0"}} <span class="sub">元</span></p>
								<p class="pr10 mb5">平均床日数</p>
								<p class="yellow_number pr15">{{leftData.HC_04_1066 || "0"}} <span class="sub">天</span></p>
							</div>
						</div>
					</div>
					<!-- 就诊人次 -->
					<div class="jiuZhen">
						<div class="boxTitle mb10 mt24">就诊人次</div>
						<div class="contentBox3 mb20">
							<div v-show="!hasData1" class="no-result-panel">
								<div class="div-header-title">门诊人次月趋势</div>
	                            <div class="no-result-img-chart">
	                                <img src="../images/noData.png">
	                            </div>
	                            <div class="no-result-text-chart">暂无数据！</div>
	                        </div>
							<bar-chart :config="leftChart1" v-show="hasData1"></bar-chart>
						</div>
						<div class="contentBox3 ">
							<div v-show="!hasData2" class="no-result-panel">
								<div class="div-header-title">住院人次月趋势</div>
	                            <div class="no-result-img-chart">
	                                <img src="../images/noData.png">
	                            </div>
	                            <div class="no-result-text-chart">暂无数据！</div>
	                        </div>
							<bar-chart :config="leftChart2" v-show="hasData2"></bar-chart>
						</div>
					</div>
				</div>

				<!-- 中间 -->
				<div class="middle flex_coloumn">
					<!-- 地图 -->
					<div class="map mt20">
						<div class="set_all_city" @click="clickMap({name:'上饶市'})" title="选择全市" v-show="hasMapData">
							<img src="../images/allCity.png">
						</div>
						<div v-show="!hasMapData" class="no-result-panel">
                            <div class="no-result-img" style="padding-top: 1.3rem;">
                                <img src="../images/noData.png">
                            </div>
                            <div class="no-result-text">暂无数据！</div>
                        </div>
						<map-chart @map-click="clickMap" ref="map" :config="mapData" v-show="hasMapData"></map-chart>
						<div class="dropdown Mapselect">
							<label class="diqu-label">地区</label>
							<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.name}}</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.HC_04_1008 || "0"}} <span class="sub">人次</span></p>
							</div>
							<div class="flex ">
								<p class="w100">门急诊总费用</p>
								<p class="yellow_number pl15 ">{{yesterdayData.HC_05_1001 || "0"}} <span class="sub">元</span></p>
							</div>

							<div class="flex">
								<p class="w100">门急诊次均费用</p>
								<p class="yellow_number pl15 ">{{yesterdayData.HC_05_1003 || "0"}} <span class="sub">元</span></p>
							</div>
						</div>
						<div class="middle flex_coloumn f_xy_c">
							<p class="mb10 title">昨日数据</p>
							<p class="font44 red_number">{{yesterdayData.HC_14_1019 || "0"}} </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.HC_06_1013 || "0"}} <span class="sub">人次</span></p>
							</div>
							<div class="flex">
								<p class="w100">住院总费用</p>
								<p class="yellow_number pl15 ">{{yesterdayData.HC_05_1003 || "0"}} <span class="sub">元</span></p>
							</div>

							<div class="flex">
								<p class="w100">住院次均费用</p>
								<p class="yellow_number pl15 ">{{yesterdayData.HC_06_1022 || "0"}} <span class="sub">元</span></p>
							</div>
							<div class="flex">
								<p class="w100">住院平均床日数</p>
								<p class="yellow_number pl15 ">{{yesterdayData.HC_04_1066 || "0"}} <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">
							 <div v-show="!hasData3" class="no-result-panel">
	                            <div class="no-result-img">
	                                <img src="../images/noData.png">
	                            </div>
	                            <div class="no-result-text">暂无数据！</div>
	                        </div>
							<table v-show="hasData3">
								<tr>
									<th class="w60">
										<div>月份</div>
									</th>
									<th class="w193" colspan="3">
										<div>门急诊总费用</div>
									</th>
									<th class="w188" colspan="3">
										<div>门急诊次均费用</div>
									</th>
								</tr>
								<tr v-for="(item,index) in tableData1">
									<td style="border: 1px solid #019dff;">
										<div>{{item.month}}</div>
									</td>
									<td style="width:0.365rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<span class="ml10">{{item.HC_05_1001 | formatData}}元</span>
									</td>
									<td style="width:0.15625rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<span class="">环比</span>
									</td>
									<td style="width:0.27rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<img v-show="item.HC_14_1025=='--' || item.HC_14_1025>=0" src="../images/zengzhang.png">
										<span v-show="item.HC_14_1025=='--'">{{item.HC_14_1025}}</span>
										<img v-show="item.HC_14_1025!='--' && item.HC_14_1025<0" src="../images/xiajiang.png">
										<span v-show="item.HC_14_1025!='--'">{{item.HC_14_1025}}%</span>
									</td>
									
									<td style="width:0.365rem;text-align: left;border-bottom: 1px solid #019dff;border-left: 1px solid #019dff;" class="">
										<span class="ml10">{{item.HC_05_1003 | formatData}}元</span>
									</td>
									<td style="width:0.15625rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<span class="">环比</span>
									</td>
									<td style="width:0.27rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<img v-show="item.HC_14_1026=='--' || item.HC_14_1026>=0" src="../images/zengzhang.png">
										<span v-show="item.HC_14_1026=='--'">{{item.HC_14_1026}}</span>
										<img v-show="item.HC_14_1026!='--' && item.HC_14_1026<0" src="../images/xiajiang.png">
										<span v-show="item.HC_14_1026!='--'">{{item.HC_14_1026}}%</span>
									</td>
								</tr>
							</table>

						</div>
						<div class="contentBox3 mb20 h165">
							<div v-show="!hasData4" class="no-result-panel">
								<div class="div-header-title">门诊分类别月趋势</div>
	                            <div class="no-result-img-chart" style="padding-top: 0.078rem;">
	                                <img src="../images/noData.png">
	                            </div>
	                            <div class="no-result-text-chart">暂无数据！</div>
	                        </div>
							<bar-chart :config="rightChart1" v-show="hasData4"></bar-chart>
						</div>
					</div>
					<!-- 住院服务情况 -->
					<div class="right2">
						<div class="boxTitle mb10 mt24">住院服务情况</div>
						<div class="contentBox mb20 h234">
							<div v-show="!hasData5" class="no-result-panel">
	                            <div class="no-result-img">
	                                <img src="../images/noData.png">
	                            </div>
	                            <div class="no-result-text">暂无数据！</div>
	                        </div>
							<table v-show="hasData5">
								<tr>
									<th class="w60">
										<div>月份</div>
									</th>
									<th class="w193" colspan="3">
										<div>住院总费用</div>
									</th>
									<th class="w188" colspan="3">
										<div>住院次均费用</div>
									</th>
								</tr>
								<tr v-for="(item,index) in tableData2">
									<td style="border: 1px solid #019dff;">
										<div>{{item.month}}</div>
									</td>
									<td style="width:0.365rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<span class="ml10">{{item.HC_06_1014 | formatData}}元</span>
									</td>
									<td style="width:0.15625rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<span class="">环比</span>
									</td>
									<td style="width:0.27rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<img v-show="item.HC_14_1027=='--' || item.HC_14_1027>=0" src="../images/zengzhang.png">
										<span v-show="item.HC_14_1027=='--'">{{item.HC_14_1027}}</span>
										<img v-show="item.HC_14_1027!='--' && item.HC_14_1027<0" src="../images/xiajiang.png">
										<span v-show="item.HC_14_1027!='--'">{{item.HC_14_1027}}%</span>
									</td>
									
									<td style="width:0.365rem;text-align: left;border-bottom: 1px solid #019dff;border-left: 1px solid #019dff;" class="">
										<span class="ml10">{{item.HC_06_1022 | formatData}}元</span>
									</td>
									<td style="width:0.15625rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<span class="">环比</span>
									</td>
									<td style="width:0.27rem;text-align: left;border-bottom: 1px solid #019dff;" class="">
										<img v-show="item.HC_14_1028=='--' || item.HC_14_1028>=0" src="../images/zengzhang.png">
										<span v-show="item.HC_14_1028=='--'">{{item.HC_14_1028}}</span>
										<img v-show="item.HC_14_1028!='--' && item.HC_14_1028<0" src="../images/xiajiang.png">
										<span v-show="item.HC_14_1028!='--'">{{item.HC_14_1028}}%</span>
									</td>
									
								</tr>
							</table>
						</div>
						<div class="contentBox3  h165 mb10">
							<div v-show="!hasData6" class="no-result-panel">
								<div class="div-header-title">住院平均日数月趋势</div>
	                            <div class="no-result-img-chart" style="padding-top: 0.078rem;">
	                                <img src="../images/noData.png">
	                            </div>
	                            <div class="no-result-text-chart">暂无数据！</div>
	                        </div>
							<bar-chart :config="rightChart2" v-show="hasData6"></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/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/util.js"></script>
		<script src="../../../js/plugins/layer/layer.min.js"></script>
		<script src="../../../js/api/http-request.js"></script>
		<script src="../../../js/api/bigData-api.js"></script>
		<script src="../../../component/chart/bar-chart.js"></script>
		<script src="../../../component/chart/map-chart.js"></script>
		<script src="../js/medicalCharts.js"></script>
		<script src="../js/medical.js"></script>
	</body>

</html>