function showNofity(e) {
if (e!="") { notif("", e + "催办申请,请尽快处理", '@EToastrNotifyType.Warning.ToString()'); }}
function notif(title, message, toastrType) {
toastr.options = { "closeButton": true, // "id":"clickss", "debug": false, "progressBar": true, "positionClass": "toast-bottom-right", //"onclick":Jumping(), "showDuration": "400", "hideDuration": "1000", "timeOut": "3000", "extendedTimeOut": "1000", "showEasing": "swing", "hideEasing": "linear", "showMethod": "fadeIn", "hideMethod": "fadeOut" }//自身的onclik函数,点击弹出框,直接跳转到消息内容相关的页面上,此页面是套嵌在iframe中的,所以写法如下
toastr.options.onclick = function () { $("iframe").attr("src", "../../Approcess/Index") };switch (toastrType.toLowerCase()) {
case "success": toastr.success(message, title); break; case "info": toastr.info(message, title); break; case "warning": toastr.warning(message, title); break; case "error": toastr.error(message, title); break; default: } }