|  | @ -124,13 +124,14 @@
 | 
												
													
														
															|  | 	      				</div>
 |  | 	      				</div>
 | 
												
													
														
															|  | 	      			</div>
 |  | 	      			</div>
 | 
												
													
														
															|  | 	      			<div class="flex-box btns-group" v-if="service.isMyTask==1 || service.isCreate">
 |  | 	      			<div class="flex-box btns-group" v-if="service.isMyTask==1 || service.isCreate">
 | 
												
													
														
															|  | 		      				<button class="btn btn-yuyue" v-if="service.reserve==1" @click="qwapp">转诊预约</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="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)" v-if="service.isZD">指导留言</button>
 |  | 
 | 
												
													
														
															|  | 		      				<button class="btn btn-zhidao" @click="zdly(service)" v-if="service.isCK">查看留言</button>
 |  | 
 | 
												
													
														
															|  | 		      			</div>
 |  | 
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-yuyue" v-if="service.reserve==1 && !service.isZK" @click="qwapp">转诊预约</button>
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-yuyue" v-if="service.itemType==2 && service.operate!=1 && !service.isZK" @click="jkjy(service.patient,service.planDetaiId)">健康教育</button>
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-yuyue" v-if="service.itemType==3 && service.operate!=1 && !service.isZK" @click="jkzd(service.planDetaiId,service.patient)">健康指导</button>
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-yuyue" v-if="service.itemType==4 && service.operate!=1 && !service.isZK" @click="qwapp">随访</button>
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-zhidao" @click="zdly(service)" v-if="service.isZD">指导留言</button>
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-zhidao" @click="zdly(service)" v-if="service.isCK">查看留言</button>
 | 
												
													
														
															|  | 
 |  | 	      				<button class="btn btn-fuwuma" v-if="service.itemType==1 && service.operate!=1" @click="fwm(service.planDetaiId,service.patient)">服务码</button>
 | 
												
													
														
															|  | 
 |  | 	      			</div>
 | 
												
													
														
															|  | 	      		</div>
 |  | 	      		</div>
 | 
												
													
														
															|  | 	      		<div class="complete-info pt10">
 |  | 	      		<div class="complete-info pt10">
 | 
												
													
														
															|  | 	      			<div class="complete-title">完成情况</div>
 |  | 	      			<div class="complete-title">完成情况</div>
 | 
												
											
												
													
														
															|  | @ -245,11 +246,26 @@
 | 
												
													
														
															|  | 						},
 |  | 						},
 | 
												
													
														
															|  | 						getServiceItem:function(){
 |  | 						getServiceItem:function(){
 | 
												
													
														
															|  | 							var vm=this;
 |  | 							var vm=this;
 | 
												
													
														
															|  | 
 |  | 							var loginDoctor = JSON.parse(window.localStorage.getItem('wlyyAgent'));
 | 
												
													
														
															|  | 							var loadding = top.layer.load(0, {shade: false}); //0代表加载的风格,支持0-2
 |  | 							var loadding = top.layer.load(0, {shade: false}); //0代表加载的风格,支持0-2
 | 
												
													
														
															|  | 							rehaAPI.serviceItem({planDetailId:vm.planid}).then(function(res){
 |  | 							rehaAPI.serviceItem({planDetailId:vm.planid}).then(function(res){
 | 
												
													
														
															|  | 								top.layer.close(loadding);
 |  | 								top.layer.close(loadding);
 | 
												
													
														
															|  | 								if(res.status==200){
 |  | 								if(res.status==200){
 | 
												
													
														
															|  | 									vm.service=res.data;
 |  | 									vm.service=res.data;
 | 
												
													
														
															|  | 
 |  | 									if(vm.service.isMyTask==1){//执行者										
 | 
												
													
														
															|  | 
 |  | 									if(loginDoctor.doctorType!=1){//说明是家医
 | 
												
													
														
															|  | 
 |  | 											vm.service.isCK=true;//无法显示按钮
 | 
												
													
														
															|  | 
 |  | 										}else{//专科
 | 
												
													
														
															|  | 
 |  | 											vm.service.isCK=false;
 | 
												
													
														
															|  | 
 |  | 											vm.service.isZD=true;
 | 
												
													
														
															|  | 
 |  | 											vm.service.isZK=true;
 | 
												
													
														
															|  | 
 |  | 										}
 | 
												
													
														
															|  | 
 |  | 									}else{
 | 
												
													
														
															|  | 
 |  | 										if(loginDoctor.doctorType==vm.service.specialistDoctorCode){//说明我自己是创建者
 | 
												
													
														
															|  | 
 |  | 											vm.service.isZD=false;//无法显示按钮
 | 
												
													
														
															|  | 
 |  | 											vm.service.isCreate=true;
 | 
												
													
														
															|  | 
 |  | 										}
 | 
												
													
														
															|  | 
 |  | 									}
 | 
												
													
														
															|  | 								}else{
 |  | 								}else{
 | 
												
													
														
															|  | 									top.layer.msg(res.msg,{icon:5});
 |  | 									top.layer.msg(res.msg,{icon:5});
 | 
												
													
														
															|  | 								}
 |  | 								}
 |