Browse Source

选择日期为当天时才限制时间段

zhangyanfang 4 years ago
parent
commit
3aba68080b

+ 1 - 1
app/rehabilitation/css/guide_the_message.css

@ -54,7 +54,7 @@
.record-list.active{max-height: 999px;}
.record-item{background-color: #f5f5fa;margin-bottom: 10px;padding: 10px;}
.complete-title{font-size: 14px;color: #333;padding: 10px 0;border-bottom: 1px solid #D7DCE6;}
.guanlian-list{padding: 10px 0 10px 10px;overflow: hidden;border: 1px solid #d7dce6;}
.guanlian-list{padding: 10px 0 10px 10px;overflow: hidden;border: 1px solid #d7dce6;margin-bottom: 20px;}
.upload-box{padding: 10px 0 10px 10px;overflow: hidden;border: 1px solid #d7dce6;}
.upload-box li{width: 60px;height: 60px;position: relative;display: block;float: left;margin-right: 10px;}
.upload-box li img{width: 100%;display: block;}

+ 9 - 1
app/rehabilitation/js/guide_the_message.js

@ -65,9 +65,17 @@ top.rehabilitationGuideVue = new Vue({
		recordId: httpData['recordId']||undefined,
		islimit: false,
	},
	watch:{
		appointDate:function(){
			if(this.appointDate==new Date().format('yyyy-MM-dd')){
				this.startTime=new Date(new Date().getTime()).format('hh:mm')
			}else{
				this.startTime=''
			}
		}
	},
	mounted: function() {
		this.getServiceItem();
		this.startTime=new Date(new Date().getTime()).format('hh:mm')
	},
	methods: {
		// 提醒患者 num 1康复指导2康复下转3复诊提醒4上门服务提醒5家签提醒