消息框弹出框以及系统消息框确认框
窗口');}); showMyWindow(title, href, width, height, modal, minimizable, maximizable) { $().window({ title: title, width: width === undefined ? 600 : width, height: height === undefined ? 400 : height, content: + href + , modal: modal === undefined ? : modal, minimizable: minimizable === undefined ? : minimizable, maximizable: maximizable === undefined ? : maximizable, shadow: , cache: , closed: , collapsible: , resizable: , loadingMessage: });}表单');}); showMyWindow(title, href, width, height, modal, minimizable, maximizable) { $().window({ title: title, width: width === undefined ? 600 : width, height: height === undefined ? 400 : height, content: + href + , modal: modal === undefined ? : modal, minimizable: minimizable === undefined ? : minimizable, maximizable: maximizable === undefined ? : maximizable, shadow: , cache: , closed: , collapsible: , resizable: , loadingMessage: });} closeMyWindow() { $().window();} submitForm(url) { $().form(, { url: (url === undefined ? : url) + + typeCode, onSubmit: () { flag = $().form(); (flag) { showProcess(, , ); } flag }, success: (data) { showProcess(); (data == 1) { top.showMsg(, ); (parent !== undefined) { ($.isFunction(window.reloadParent)) { reloadParent.call(); } { parent.$().datagrid(); parent.closeMyWindow(); } } } { $.messager.alert(, data); } }, onLoadError: () { showProcess(); $.messager.alert(, ); } });} deleteConfirm() { showConfirm(, );} showConfirm(title, msg, callback) { $.messager.confirm(title, msg, (r) { (r) { (jQuery.isFunction(callback)) callback.call(); } });} showProcess(isShow, title, msg) { (!isShow) { $.messager.progress(); ; } win = $.messager.progress({ title: title, msg: msg });}
10-21 01:51