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 |
關閉對話框 |
