Преглед на файлове

缴费列表增加未到账遮罩

chenyue преди 6 години
родител
ревизия
b45ead07ee

+ 8 - 8
html/informationSearch/html/waitingDoctorList.html

@ -25,25 +25,25 @@
			</div>
			<div class="waitingDoctorList" v-if="length!=0">							
				<ul class="plr15 pb15">		
					<li class="bgc-fff c-radius-5 jiuzhen mt15">
					<li class="bgc-fff c-radius-5 jiuzhen mt15" v-for="(item,i) in dataList" v-key="i">
						<div class="c-fff c-f14 top-div">
							<span>上饶县人民医院</span>
							<span style="float: right;">门诊</span>
							<span style="float: right;"><!--门诊--></span>
						</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">6人</span>
								<img src="../images/paidui_icon.png" width="20" class="mr5" />前方排队:&nbsp;<span class="c-ff5e6c">{{item.wai_num}}人</span>
							</div>
							<div class="pt15">
								<span>候诊人:&nbsp;王小建</span>
								<span style="float: right;">候诊科室:呼吸道科</span>
								<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
								<!--就诊时间:&nbsp;2018-08-29 14:20-15:00-->
							</div>
						</div>
					</li>	
					<li class="bgc-fff c-radius-5 jiancha mt15">
					<!--<li class="bgc-fff c-radius-5 jiancha mt15">
						<div class="c-fff c-f14 top-div">
							<span>上饶县人民医院</span>
							<span style="float: right;">检查检验</span>
@ -60,7 +60,7 @@
								就诊时间:&nbsp;2018-08-29 14:20-15:00
							</div>
						</div>
					</li>	
					</li>	-->
				</ul>
			</div>
			<div class="default-div" v-else>

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

@ -12,6 +12,7 @@ var loading = dialog({
			dataList:[],
			length:0,
			code:"",
			cardlenght:0,
			TypeList:[{},{type:"jiuzhen",text:"门诊",pretext:"候诊"},{type:"jiancha",text:"检查检验",pretext:"候检"}],
		},
		mounted: function() {
@ -31,7 +32,8 @@ var loading = dialog({
			       }, function(res){
				 	loading.close();
			        if(res.status == 200){ 
			        	if(res.data.length>0){			        		
			        	if(res.data.length>0){
			        		vm.cardlenght=res.data.length			        		
							if(Request.id){																
				        		vm.data=res.data.filter(function(item){
				        			return item.id==Request.id
@ -44,6 +46,7 @@ var loading = dialog({
				        			vm.data=res.data[0]
				        		}
							}
							vm.data.cardNo="1111"
			        		vm.getList()
			        	}else{
			        		vm.gotoCards()
@ -76,7 +79,14 @@ var loading = dialog({
			},
			//跳转切换就诊卡
			changeCards:function(){
				window.location.href='../../payment/html/changeCards.html?pre=waitingDoctorList';
//				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()
			},
			//判断是否验证登录通过
			checkType:function(){

+ 19 - 1
html/payment/css/payment.css

@ -125,11 +125,29 @@
    border-radius: 50%;
    background-color: #4DCD70;
    border: 1px solid #12AA3C;
    font-size: 12px;
    font-size: 11px;
    color: #FFFFFF;    
    text-align: center;
    z-index: 2;
}
.mask{
	background-color: rgba(0,0,0,.5);
    font-size: 17px;
    line-height: 104px;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    top: 15px;
    left: 0px;
    margin: 0px 15px;
    width: -webkit-fill-available;
    width: -webkit-fill-available;
    width: -moz-fill-available;
    width: -moz-available;    /* FireFox目前这个生效 */
    width: fill-available;
    border-radius: 5px;
}
/*缴费查询*/
/*就诊卡缴费*/

+ 5 - 2
html/payment/html/paymentList.html

@ -40,7 +40,8 @@
							<div class="mt5 c-f12">
								<span>{{item.hospitalName}}</span>
								<span style="float: right;">{{item.payTimeStart}}</span>
							</div>	
							</div>
							<div v-if="item.hyStatus!=1" class="mask">正在同步至医院... ...</div>
						</li>					
					</ul>					
					<div class="default-div" v-else>
@ -51,7 +52,9 @@
					</div>
				</div>
			</div>
			<a href="javascript:;" class="circle-btn"  @click="gotoCards"><span style="margin-top: 1px;">我的<br/>就诊卡</span></a>
			<a href="javascript:;" class="circle-btn"  @click="gotoCards">
				<span style="position: relative;top: 5px;left: 1px;">我的<br/>就诊卡</span>
			</a>
		</div>
		<script src="../../../js/post.js"></script>

+ 1 - 1
html/payment/js/paymentResult.js

@ -43,7 +43,7 @@ var loading = dialog({
			       }, function(res){
				 	loading.close();
			        if(res.status == 200){
			        	vm.data=JSON.parse(res.data)
			        	vm.data=res.data
			        	if(!vm.data){vm.data=vm.initdata}
			        	if(vm.data.payStatus==1){   //充值状态,0未完成,1已完成,2失败
			        		vm.result=vm.successResult