All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.openmonitor.jui.dest.win.msg.js Maven / Gradle / Ivy

Go to download

一个简单易用的接口开放平台,平台封装了常用的参数校验、结果返回等功能,开发者只需实现业务代码即可。https://gitee.com/durcframework/easyopen

There is a newer version: 1.16.20
Show newest version
(function(){var a=JUI.Class("Msg",{init:function(c){this._super(c)},setContent:function(c){this.getContentDiv().html(c)},getContentDiv:function(){return $("#"+this.opt("contentId"))}},JUI.Dialog);var b=function(e){var d="jui-msg-id-"+JUI.getId();$("body").append($('
'));var c=new a({contentId:d,onOk:function(){e&&e.call(this,true);this.hide()},onCancel:function(){e&&e.call(this,false);this.hide()},zindex:1000});c.setNextDo(function(){this.hideBtn(1)});return c};a.confirm=function(f,d,c){callback=c;var e=b(c);e.setTitle(f);e.setContent(d);e.show();e.setNextDo(function(){this.showBtn(1)});return e};a.alert=function(f,d,c){var e=a.confirm(f,d,c);e.setNextDo(function(){this.hideBtn(1)})};a.prompt=function(g,e,d){var c="jui-msg-promptinput-id"+JUI.getId();var e="
"+e+'
';var f=a.confirm(g,e,function(h){var i=$("#"+c).val();d(h,i)});f.getContentDiv().width("auto")}})();




© 2015 - 2024 Weber Informatics LLC | Privacy Policy