|
@ -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({
|
|
@ -110,6 +110,21 @@ new Vue({
|
|
|
sessionStorage.setItem("jbsc-jkwzreceiver",JSON.stringify(receiver))
|
|
|
location.href="../../../../health-education/login.html?origin=jbsc"
|
|
|
},
|
|
|
view:function(data){
|
|
|
top.layer.open({
|
|
|
type: 2,
|
|
|
// offset: ['100px'], //右下角弹出
|
|
|
area: ['568px', '100%'],
|
|
|
shade: 0.5,
|
|
|
title: '查看筛选结果',
|
|
|
fixed: true, //不固定
|
|
|
maxmin: true,
|
|
|
closeBtn:1,
|
|
|
shift: 5,
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
content: 'view_screening_results.html?isView=true&resultCode='+data.code
|
|
|
});
|
|
|
},
|
|
|
//筛查
|
|
|
shaicha:function(data,isNew){
|
|
|
var vm=this
|
|
@ -148,10 +163,22 @@ new Vue({
|
|
|
});
|
|
|
},
|
|
|
//健康跟踪
|
|
|
jkgz:function(id){
|
|
|
jkgz:function(data){
|
|
|
var vm=this
|
|
|
//跳转到筛查结果页面
|
|
|
showInfoMessage(id+"筛查结果")
|
|
|
},
|
|
|
layer.open({
|
|
|
type: 2,
|
|
|
// offset: ['100px'], //右下角弹出
|
|
|
area: ['568px', '100%'],
|
|
|
shade: 0.5,
|
|
|
title: '查看筛选结果',
|
|
|
fixed: true, //不固定
|
|
|
maxmin: true,
|
|
|
closeBtn:1,
|
|
|
shift: 5,
|
|
|
shadeClose: false, //点击遮罩关闭层
|
|
|
content: 'advice.html?resultCode='+data.code+'&filter_code='+data.templateCode
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
})
|