|
@ -201,8 +201,23 @@ reflashBindEvent=function(){
|
|
|
mui('#sheet1').popover('toggle');
|
|
|
})
|
|
|
$(".mui-table-view-cell1").bind('click',function(){
|
|
|
mui('#sheet1').popover('hide');
|
|
|
$("[data-num="+currentNum+"]").find(".plan_type").text($(this).find('a').text()).data('id',($(this).data("value")))
|
|
|
var _text=$(this).find('a').text();
|
|
|
if(_text=='电话随访'){
|
|
|
if(patientInfo.mobile){
|
|
|
mui.toast('该居民未留下电话号码无法进行电话随访')
|
|
|
}
|
|
|
}else if(_text=='网络随访'){
|
|
|
if(patientInfo.isWX){
|
|
|
mui.toast('该居民未关注公众号无法进行网络随访')
|
|
|
}
|
|
|
}else if(_text=='上门随访'){
|
|
|
if(patientInfo.address){
|
|
|
mui.toast('该居民未留下居住地址无法进行上门随访')
|
|
|
}
|
|
|
}else{
|
|
|
mui('#sheet1').popover('hide');
|
|
|
$("[data-num="+currentNum+"]").find(".plan_type").text(_text).data('id',($(this).data("value")))
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
//绑定事件
|