Browse Source

健康指导加上跳转

yingzhou 6 years ago
parent
commit
d9e6e3c91c

+ 1 - 1
app/rehabilitation/html/rehabilitation_management.html

@ -269,7 +269,7 @@
						__xData:[],//当前的年月(时间轴)
						status:null,//任务状态(0未完成,1已完成,2已预约)
						searchTask:null,//快速查找任务:(1、我的任务,2、随访,3、复诊,4、健康教育)
						planId:'402803f6657f195301657f4c4ce70000' || httpData['planId'],
						planId: httpData['planId'] || '402803f6657f195301657f4c4ce70000',
						taskArr:[
							{code:1,name:'我的任务'},
							{code:2,name:'随访'},

+ 19 - 2
app/rehabilitation/html/service_item_content.html

@ -119,11 +119,11 @@
		      			<div class="flex-box btns-group">
		      				<!--<button class="btn btn-yuyue" v-if="service.itemType==0 && service.operate!=1">上传附件</button>-->
		      				<button class="btn btn-yuyue" v-if="service.itemType==2 && service.operate!=1" @click="jkjy(service.patient,service.planDetaiId)">健康教育</button>
		      				<button class="btn btn-yuyue" v-if="service.itemType==3 && service.operate!=1" @click="zwkf">健康指导</button>
		      				<button class="btn btn-yuyue" v-if="service.itemType==3 && service.operate!=1" @click="jkzd(service.planDetaiId,service.patient)">健康指导</button>
		      				<button class="btn btn-yuyue" v-if="service.itemType==4 && service.operate!=1" @click="zwkf">随访</button>
		      				<button class="btn btn-zhidao" @click="zdly(service)">指导留言</button>
		      				<button class="btn btn-fuwuma" v-if="service.itemType==1 && service.operate!=1" @click="fwm(service.planDetaiId,service.patient)">服务码</button>
		      				<!--<button class="btn btn-fuwuma" @click="fwm(service.planDetaiId)">服务码</button>-->
		      				<!--<button class="btn btn-fuwuma" @click="fwm(service.planDetaiId,service.patient)">服务码</button>-->
		      				<button class="btn btn-fuwuma" v-if="service.operate==1" @click="goToFinish(service.planDetaiId)">完成</button>
		      			</div>
		      		</div>
@ -196,6 +196,23 @@
								content: '../../article/html/article.html?code='+patient+'&planId='+planId+'&isReha=true'
							});
						},
//						健康指导
						jkzd:function(patient,planId){
							var vm=this
							top.layer.open({
								type: 2,
								//				  offset: ['100px'], //右下角弹出
								area: ['800px', '648px'],
								shade: 0.5,
								title: '健康教育',
								fixed: true, //不固定
								maxmin: true,
								closeBtn: 1,
								shift: 5,
								shadeClose: false, //点击遮罩关闭层
								content:'../../guidance/html/index.html#/person-edit-panel?patient='+patient+'&planId='+planId
							});
						},
//						暂未开放
						zwkf:function(){
							top.layer.msg('此功能暂未开放',{icon:1});