// 請求常數代碼 var a_RequestCode = { strSessionName :"r_ssn", strItemSessionName :"r_issn", strPermissionPage :"r_pp", strPageType :"r_pt", strItemPageType :"r_pc", strActionType :"r_at", strItemActionType :"r_as", strSortName :"r_sn", strSortType :"r_st", strCurrentPage :"r_cp", strPageSize :"r_ps", strRecordCount :"r_rc", strQueryString :"r_qs", strReferenceURL :"r_rul" } // 區間常數代碼 var a_PeriodCode = { strStart : "_start", strEnd : "_end" } // 表單常數代碼 var a_FormCode = { strCheckAllItem : "f_bCheckAllItem", strCheckBoxItemName : "f_CheckBoxItemName", strCheckedIndexNo : "f_CheckedIndexNo", strFormIdHeadmain : "f_", strFormIdHeadDetail : "fd_" } // 頁面類型,與PAGE_TYPE枚舉類型一一對應 var PAGE_TYPE = { NONE: { intValue: "0", strValue: "NONE" }, VIEW : { intValue: "1", strValue: "VIEW" }, SEARCH : { intValue: "2", strValue: "SEARCH" }, ADDNEW : { intValue: "3", strValue: "ADDNEW" }, EDIT : { intValue: "4", strValue: "EDIT" } } // 操作類型,與ACTION_TYPE枚舉類型一一對應 var ACTION_TYPE = { NONE : { intValue: "0", strValue: "NONE" }, FIND : { intValue: "1", strValue: "FIND" }, CREATE : { intValue: "2", strValue: "CREATE" }, UPDATE : { intValue: "3", strValue: "UPDATE" }, SETTING : { intValue: "4", strValue: "SETTING" }, DELETE : { intValue: "5", strValue: "DELETE" }, REMOVE : { intValue: "6", strValue: "REMOVE" }, IMPORT : { intValue: "7", strValue: "IMPORT" }, EXPORT : { intValue: "8", strValue: "EXPORT" }, BACKUP : { intValue: "9", strValue: "BACKUP" }, RESTORE : { intValue: "10", strValue: "RESTORE" }, RESET : { intValue: "11", strValue: "RESET" } } // HTTP請求類型 var HTTP_REQUEST_TYPE = { GET : 'GET', POST : 'POST', PUT : 'PUT', DELETE : 'DELETE' } // 消息類型 var EMESSAGE_TYPE = { NONE : "none", SUCCESS : "success", DANGER : "danger", WARNING : "warning", INFO : "info" } // 消息標題 var a_MessageTitle = { strTip : "提示", strWarning : "警告", strSuccess : "成功", strFail : "失敗" } // 消息顏色 var a_MessageColor = { strBlack : "black", strRed : "red", strGreen : "green", strBlue : "blue" } // 消息內容 var a_MessageContent = { strLogout : "賬號已登出,請重新登入後再試。", strNoAuthorization : "當前用戶沒有權限進行此操作,操作無效。", strCheckedItem : "請勾選需要操作的項目。", strPleaseSelect : "請選擇", strNotEmpty : "不能為空。", strValidCondition : "請帶入有效的WHERE條件。" } // 統計表 var a_StatisticalTable = { strStatisticalNo : "r_stno", strStatisticalNoText : "StatisticalNo", strStatisticalTableMaster : "jl_tabs_statisticaltablemaster", strStatisticalTableData : "jl_tabs_statisticaltabledata", strTrendTableNoText : "TrendTableNo", strTrendTableMaster : "jl_tabs_trendtablemaster", strTrendTableData : "jl_tabs_trendtabledata", strDataType : "DataType" } // 排序類型,與SORT_TYPE枚舉類型一一對應 var SORT_TYPE = { NONE: { intValue : "0", strValue: "NONE" }, ASC: { intValue: "1", strValue: "ASC" }, DESC: { intValue: "2", strValue: "DESC" } } // 資料表,統計表,趨勢表枚舉類型一一對應 var DATA_TABLE_TYPE = { NONE : { intValue : "0", strValue : "NONE", strDesc : "" }, DATATABLE : { intValue : "1", strValue : "DATATABLE", strDesc : "資料表" }, STATISTICALTABLE : { intValue : "2", strValue : "STATISTICALTABLE", strDesc : "統計表" }, TRENDTABLE : { intValue : "3", strValue : "TRENDTABLE", strDesc : "趨勢表" }, TRENDDATA : { intValue : "5", strValue : "TRENDDATA", strDesc : "趨勢數據" }, STATISTICALDATA : { intValue : "4", strValue : "STATISTICALDATA", strDesc : "統計數據" } } // Keen var KTAppOptions = { "colors": { "state": { "brand": "#5d78ff", "metal": "#c4c5d6", "light": "#ffffff", "accent": "#00c5dc", "primary": "#5867dd", "success": "#34bfa3", "info": "#36a3f7", "warning": "#ffb822", "danger": "#fd3995", "focus": "#9816f4" }, "base": { "label": [ "#c5cbe3", "#a1a8c3", "#3d4465", "#3e4466" ], "shape": [ "#f0f3ff", "#d9dffa", "#afb4d4", "#646c9a" ] } } };