|
@ -4,19 +4,19 @@ toastr.options = {
|
|
|
}
|
|
|
|
|
|
function showSuccessMessage(msg) {
|
|
|
toastr.success(msg)
|
|
|
layer.msg(msg,{icon:1})
|
|
|
}
|
|
|
|
|
|
function showErrorMessage(msg) {
|
|
|
toastr.error(msg)
|
|
|
layer.msg(msg,{icon:5})
|
|
|
}
|
|
|
|
|
|
function showWarningMessage(msg) {
|
|
|
toastr.warning(msg)
|
|
|
layer.msg(msg,{icon:2})
|
|
|
}
|
|
|
|
|
|
function showInfoMessage(msg) {
|
|
|
toastr.info(msg)
|
|
|
layer.msg(msg,{icon:6})
|
|
|
}
|
|
|
|
|
|
new Vue({
|
|
@ -148,10 +148,21 @@ new Vue({
|
|
|
});
|
|
|
},
|
|
|
//健康跟踪
|
|
|
jkgz:function(id){
|
|
|
jkgz:function(data){
|
|
|
var vm=this
|
|
|
//跳转到筛查结果页面
|
|
|
showInfoMessage(id+"筛查结果")
|
|
|
},
|
|
|
layer.open({
|
|
|
type: 2,
|
|
|
area: ['500px', '550px'],
|
|
|
shade: 0.5,
|
|
|
title: '家医建议',
|
|
|
fixed: true, //不固定
|
|
|
maxmin: false,
|
|
|
closeBtn:1,
|
|
|
shift: 5,
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
content: 'advice.html?resultCode='+data.code+'&filter_code='+data.templateCode
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
})
|