瀏覽代碼

没有绑定就诊卡,禁止查看就诊缴费信息和候诊信息

chenyue 6 年之前
父節點
當前提交
26441b8f7e

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

@ -76,6 +76,18 @@ var loading = dialog({
			        }
			    })
			},
			//跳转我的就诊卡页面
			gotoCards:function(){
				dialog({
		            content: "请先绑定就诊卡,再查看候诊信息!", 
		            okValue: '确定',
		            ok: function(){
						window.location.href='../../payment/html/patientIDCards.html';
		            },
//						            cancelValue: '我再看看',
//						            cancel: function(){}
		        }).showModal()
			},
			//跳转切换就诊卡
			changeCards:function(){
				window.location.href='../../payment/html/changeCards.html?pre=waitingDoctorList';				

+ 12 - 0
html/payment/css/payment.css

@ -68,6 +68,18 @@
  display: none;
}
.w3-row:after {
	content: "";
	display: table;
	clear: both
}
.w3-col {
	float: left;
	width: 100%
}
.w3-rest{overflow:hidden}
/*缺省页*/
.default-div{

+ 11 - 11
html/payment/html/bindingCard.html

@ -19,19 +19,19 @@
	</head>
	<body class="bgc-f2f3f4">
		<div id="app" v-cloak>
			<div class="bgc-fff c-border-tb mt10 flex ptb5 pr15">
	            <div class="f_s_0 c-f17 c-333 c-t-center c-border-r" style="width: 80px;line-height: 32px;">就诊卡</div>
	            <div class="f_g_1"><input type="text" v-model="cardNo" placeholder="输入就诊卡号" class="input-bcard w-calc-220  c-333"/></div>
	            <div class="f_s_0 jiaoyanBtn" @click="getData">校验身份</div>
		<div id="app" v-cloak style="margin-left: 0;margin-right: 0px;">
			<div class="bgc-fff c-border-tb mt10 w3-row ptb5 pr15">
	            <div class="w3-col c-f17 c-333 c-t-center c-border-r" style="width: 80px;line-height: 32px;">就诊卡</div>
	            <div class="w3-col jiaoyanBtn" style="width: 90px;" @click="getData">校验身份</div>
	            <div class="w3-rest"><input type="text" v-model="cardNo" placeholder="输入就诊卡号" class="input-bcard w-calc-220  c-333"/></div>
		    </div>
		    <div class="bgc-fff c-border-tb mt10 flex ptb5 pr15  c-999">
		            <div class="f_s_0 c-f17 c-t-center c-border-r" style="width: 80px;line-height: 32px;">姓&emsp;名</div>
		            <div class="f_g_1"><input type="text"  v-model="data.name" placeholder="就诊人姓名" class="input-bcard"readonly="readonly"/></div>
		    <div class="bgc-fff c-border-tb mt10 w3-row ptb5 pr15  c-999">
		            <div class="w3-col c-f17 c-t-center c-border-r" style="width: 80px;line-height: 32px;">姓&emsp;名</div>
		            <div class="w3-rest"><input type="text"  v-model="data.name" placeholder="就诊人姓名" class="input-bcard"readonly="readonly"/></div>
		    </div>
		    <div class="bgc-fff c-border-b flex ptb5 pr15  c-999">
	            <div class="f_s_0 c-f17 c-t-center c-border-r" style="width: 80px;line-height: 32px;">手机号</div>
	            <div class="f_g_1"><input type="text"  v-model="data.mobile" placeholder="办卡手机号" class="input-bcard" readonly="readonly"/></div>
		    <div class="bgc-fff c-border-b w3-row ptb5 pr15  c-999">
	            <div class="w3-col c-f17 c-t-center c-border-r" style="width: 80px;line-height: 32px;">手机号</div>
	            <div class="w3-rest"><input type="text"  v-model="data.mobile" placeholder="办卡手机号" class="input-bcard" readonly="readonly"/></div>
		    </div>
		    <div class="p30">
				<button v-show="btnshow" type="button" class="c-btn-4dcd70 c-btn-arc c-btn-full  c-btn-big" style="height: 45px;"  @click="addCard">立即添加</button>				

+ 9 - 1
html/payment/js/paymentList.js

@ -139,7 +139,15 @@ var iscrollState='';//判断滑动方向
			},
			//跳转我的就诊卡页面
			gotoCards:function(){
				window.location.href='../../payment/html/patientIDCards.html';
				dialog({
		            content: "请先绑定就诊卡,再查看就诊缴费信息!", 
		            okValue: '确定',
		            ok: function(){
						window.location.href='../../payment/html/patientIDCards.html';
		            },
//						            cancelValue: '我再看看',
//						            cancel: function(){}
		        }).showModal()
			},
			//判断是否验证登录通过
			checkType:function(){