Explorar o código

候诊查询页面

chenyue %!s(int64=6) %!d(string=hai) anos
pai
achega
891922841e

+ 6 - 6
html/informationSearch/html/waitingDoctorList.html

@ -20,7 +20,7 @@
		<div id="app" v-cloak>
			<div class="bgc-fff c-f17 ptb10 pl15 jiuzhen">
				<span class="c-333">{{data.cardNo}}&nbsp;({{data.name}})&nbsp;</span>
				<span class="qiehuan-txt" @click="changeCards">切换</span>
				<span v-if="cardlenght>1" class="qiehuan-txt" @click="changeCards">切换</span>
				<span class="card-icon c-f14" style="float: right;">就诊</span>				
			</div>
			<div class="waitingDoctorList" v-if="length!=0">							
@ -32,15 +32,15 @@
						</div>
						<div class="pt10 plr10 c-333 c-f14">						
							<div class="c-f17" style="line-height: 18px;">
								<img src="../images/paidui_icon.png" width="20" class="mr5" />前方排队:&nbsp;<span class="c-ff5e6c">{{item.wai_num}}人</span>
								<img src="../images/paidui_icon.png" width="20" class="mr5" />前方排队:&nbsp;<span class="c-ff5e6c">{{item.wait_no}}人</span>
							</div>
							<div class="pt15">
							<div class="pt15 pb10">
								<span>候诊人:&nbsp;{{data.name}}</span>
								<span style="float: right;">候诊科室:{{item.dept_name}}</span>
							</div>
							<div class="ptb10">
								<!--就诊时间:&nbsp;2018-08-29 14:20-15:00-->
							</div>
							<!--<div class="ptb10">
								就诊时间:&nbsp;2018-08-29 14:20-15:00
							</div>-->
						</div>
					</li>	
					<!--<li class="bgc-fff c-radius-5 jiancha mt15">

+ 2 - 10
html/informationSearch/js/waitingDoctorList.js

@ -46,7 +46,6 @@ var loading = dialog({
				        			vm.data=res.data[0]
				        		}
							}
							vm.data.cardNo="1111"
			        		vm.getList()
			        	}else{
			        		vm.gotoCards()
@ -67,7 +66,7 @@ var loading = dialog({
			   		loading.close();
			        if(res.status == 200){
			        	if(res.data.code=="0"){
			        		vm.dataList=res.data
			        		vm.dataList=res.data.data
			        		vm.length=vm.dataList.length
			        	}else{
			        		 dialog({contentType:'tipsbox',bottom:true, skin:'bk-popup' , content:res.data.message}).show();
@ -79,14 +78,7 @@ var loading = dialog({
			},
			//跳转切换就诊卡
			changeCards:function(){
//				window.location.href='../../payment/html/changeCards.html?pre=waitingDoctorList';
				var vm=this
                if(vm.data.cardNo=="1111"){
                	vm.data.cardNo="2222"
                }else{
                	vm.data.cardNo="1111"
                }
                vm.getList()
				window.location.href='../../payment/html/changeCards.html?pre=waitingDoctorList';				
			},
			//判断是否验证登录通过
			checkType:function(){