|
@ -268,22 +268,25 @@
|
|
|
data && data.info && data.info.code && vm.getHealth();
|
|
|
data && (vm.specialDoctorName = data.specialDoctorName);
|
|
|
var userInfo = data.info || []
|
|
|
if(userInfo.isDanger==1 || userInfo.is_danger==1){
|
|
|
if((userInfo.isDanger==1 || userInfo.is_danger==1) && !userInfo.thirdId && ( userInfo.isAgain==1 || userInfo.is_again==1)){
|
|
|
//只有高危的筛查需要处理
|
|
|
if(userInfo.following == 1){
|
|
|
vm.dealAction.push("已跟踪");
|
|
|
}
|
|
|
if(userInfo.isOrder == 1 || userInfo.is_order == 1){
|
|
|
vm.dealAction.push("已预约转诊");
|
|
|
vm.dealAction.push("已预约");
|
|
|
}
|
|
|
if(userInfo.isOrder == 2 || userInfo.is_order == 2){
|
|
|
vm.dealAction.push("已接诊");
|
|
|
}
|
|
|
if(vm.dealAction.length == 0){
|
|
|
if(userInfo.following==0 && (userInfo.isOrder==0 || userInfo.is_order==0)){
|
|
|
vm.dealAction.push("待处理");
|
|
|
}
|
|
|
}
|
|
|
if(userInfo.isDanger==0 || userInfo.is_danger==0){
|
|
|
vm.dealAction.push("日常健康管理");
|
|
|
}
|
|
|
}else{
|
|
|
vm.dealAction.push("日常健康管理");
|
|
|
vm.dealAction.push("");
|
|
|
}
|
|
|
vm.dealAction=vm.dealAction.join(',');
|
|
|
}else{
|