|  | @ -116,19 +116,17 @@
 | 
	
		
			
				|  |  | 			      				<div class="f14 c-333">{{item.content}}</div>
 | 
	
		
			
				|  |  | 		      				</div>
 | 
	
		
			
				|  |  | 	      				</div>
 | 
	
		
			
				|  |  | 		      			<div class="flex-box btns-group" v-if="service.isMyTask==1">
 | 
	
		
			
				|  |  | 		      			<div class="flex-box btns-group" v-if="service.isMyTask==1 || service.isZD">
 | 
	
		
			
				|  |  | 		      				<!--<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="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-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>
 | 
	
		
			
				|  |  | 		      				<!--<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 class="flex-box btns-group" v-if="service.isMyTask!=1">
 | 
	
		
			
				|  |  | 		      				<button class="btn btn-zhidao" @click="zdly(service)">查看留言</button>
 | 
	
		
			
				|  |  | 		      			</div>
 | 
	
		
			
				|  |  | 		      		</div>
 | 
	
		
			
				|  |  | 		        </div>
 | 
	
		
			
				|  |  | 		    </div>
 | 
	
	
		
			
				|  | @ -145,6 +143,7 @@
 | 
	
		
			
				|  |  | 		<script type="text/javascript" src="../../../api/http-request.js"></script>
 | 
	
		
			
				|  |  | 		<script type="text/javascript" src="../../../api/rehabilitation-api.js"></script>
 | 
	
		
			
				|  |  | 		<script src="../../../js/util.js" type="text/javascript" charset="utf-8"></script>
 | 
	
		
			
				|  |  | 		<script type="text/javascript" src="../../../js/underscore.js"></script>
 | 
	
		
			
				|  |  | 		<script type="text/javascript">
 | 
	
		
			
				|  |  | 			!function(){
 | 
	
		
			
				|  |  | 				var httpData=GetRequest();
 | 
	
	
		
			
				|  | @ -172,11 +171,25 @@
 | 
	
		
			
				|  |  | 						//获取服务列表
 | 
	
		
			
				|  |  | 						getServiceItemList:function(){
 | 
	
		
			
				|  |  | 							var vm=this;
 | 
	
		
			
				|  |  | 							var loginDoctor = JSON.parse(window.localStorage.getItem('wlyyAgent'));
 | 
	
		
			
				|  |  | 							var loadding = top.layer.load(0, {shade: false}); //0代表加载的风格,支持0-2
 | 
	
		
			
				|  |  | 							rehaAPI.serviceItemList({planDetailIds:vm.planids}).then(function(res){
 | 
	
		
			
				|  |  | 								top.layer.close(loadding);
 | 
	
		
			
				|  |  | 								if(res.status==200){
 | 
	
		
			
				|  |  | 									vm.serviceData=res.data;
 | 
	
		
			
				|  |  | 									vm.serviceData=_.map(res.data||{},function(o){
 | 
	
		
			
				|  |  | 										if(o.isMyTask==1){//执行者										
 | 
	
		
			
				|  |  | 											if(loginDoctor.doctorType!=1){//说明是家医
 | 
	
		
			
				|  |  | 												o.isCK=true;//无法显示按钮
 | 
	
		
			
				|  |  | 											}else{//专科
 | 
	
		
			
				|  |  | 												o.isCK=true;
 | 
	
		
			
				|  |  | 											}
 | 
	
		
			
				|  |  | 										}else{
 | 
	
		
			
				|  |  | 											if(loginDoctor.doctorType==o.specialistDoctorCode){//说明我自己是创建者
 | 
	
		
			
				|  |  | 												o.isZD=false;//无法显示按钮
 | 
	
		
			
				|  |  | 											}
 | 
	
		
			
				|  |  | 										}
 | 
	
		
			
				|  |  | 										return o
 | 
	
		
			
				|  |  | 									})
 | 
	
		
			
				|  |  | 								}else{
 | 
	
		
			
				|  |  | 									top.layer.msg(res.msg,{icon:5});
 | 
	
		
			
				|  |  | 								}
 |