Browse Source

修改访视和随访只有 完成才能进入

huhongkun 5 years ago
parent
commit
3313950949
1 changed files with 4 additions and 4 deletions
  1. 4 4
      component/record/follow-up-list.js

+ 4 - 4
component/record/follow-up-list.js

@ -19,7 +19,7 @@ Vue.component('follow-list', {
	props:["followUpData"],
	methods: {
		viewDetail: function(list) {
			if(list.status == 1){
//			if(list.status == 1){
				if(list.followupClass =="5" || list.followupClass =="6" ||list.followupClass =="7" ||list.followupClass =="8" ||list.followupClass =="9"){
					window.location.href = "../index.html?id="+list.id+"&type="+list.followupClass+"&isEdit=0"
				}else{
@ -32,9 +32,9 @@ Vue.component('follow-list', {
				     	content: '../../followup/html/lay_followUp_detail.html?id='+list.id
				    });
				}
			}else{
				top.toastr.warning("请在手机上完成随访才能查看详情")
			}	
//			}else{
//				top.toastr.warning("请在手机上完成随访才能查看详情")
//			}	
		}
	},
	watch:{