AR.Utility 文档
1:方法:
| 名称 |
说明 |
| queryString |
function (key) *模拟.NET的Request对象 |
| stringFormat |
function (str, args) *模拟.NET的String.Format函数,调用方式String.Format("a={0}",'a') |
| guid |
生成随机guid数 |
Cookie对象
| 名称 |
说明 |
| get |
function (name) |
| set |
function (key, value, expiredays) |
| remove |
function (name) |
Ajax对象
| 名称 |
说明 |
| get |
function (method, objName, data, callback, isShowProgress) |
| post |
function (method, objName, data, callback, isShowProgress) |
Window对象
| 名称 |
说明 |
| refresh |
Bool类型 关闭窗口时是否刷新父窗体 |
| open |
open(url, title, update, opts) /** *打开一个新页面 *@param{string} url 连接 *@param{string} title 打开后的窗口标题 *@param{bool} update 是否更新标记,默认false *param{object} opts easyui window属性覆盖 */ |
| close |
关闭窗体(reflesh属性可以配合使用) |
| showMsg |
showMsg(msg, title, showType, timeout) 参考EasyUI |
| confirm |
confirm(msg, title, asyncFun) |
| openLoading |
打开正在加载…提示 |
| closeLoading |
关闭正在加载…提示 |
| dialog |
dialog(title, html, options) |
| closeDialog |
关闭对话框 |
