aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/js/core/const.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/webapp/thirdparty/js/core/const.js')
-rw-r--r--common/src/main/webapp/thirdparty/js/core/const.js46
1 files changed, 46 insertions, 0 deletions
diff --git a/common/src/main/webapp/thirdparty/js/core/const.js b/common/src/main/webapp/thirdparty/js/core/const.js
new file mode 100644
index 00000000..66bee91a
--- /dev/null
+++ b/common/src/main/webapp/thirdparty/js/core/const.js
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2016, CMCC Technologies Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var fMenuSiderDivId = 'page-f-sidebar-menu';
+var ICTFRAME_CONST_SPINNER_GIF_PATH="image/loading-spinner-grey.gif";
+var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST = 10;
+var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE = 5;
+var ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX = "css/themes/";
+var ICTFRAME_CONST_DEFAULTPAGE_PATH = "default.html?";
+var ICTFRAME_CONST_DATABACKUP_PATH = 'menus/dataBackup-mysql.html';
+var IS_V5_TESTVERSION = true;
+
+var FrameConst={};
+//默认登录成功跳转页面
+FrameConst.DEFAULT_LOGINSKIP_PAGE = "common/main-page.html";
+FrameConst.DEFAULT_PAGE = "default.html";
+
+FrameConst.do_heartbeat = false;
+FrameConst.change_pass = false;
+//是否加密
+FrameConst.isEncypt = "false";
+FrameConst.REST_FRAMECOMMIFO = "../../api/uiframe/v1/frameCommInfo";
+FrameConst.REST_HEARTBEAT = "../../api/uiframe/v1/heartbeat";
+FrameConst.REST_GETLICENSEINFO = "../../api/uiframe/v1/licensevalueinfo";
+FrameConst.REST_CHECKRIGHT = "../../api/uiframe/v1/checkRight";
+FrameConst.REST_LOGIN = "../../api/uiframe/v1/login";
+FrameConst.REST_GET_FRAME_MENUDIRECTION = "../../api/uiframe/v1/confByKey?key=usf.mainframe.web.navigation.direction";
+FrameConst.REST_GET_USERNAME = "../../api/uiframe/v1/userName";
+
+
+FrameConst.REST_GET_VERSIONINFO = "../../api/uiframe/v1/versionInfo";
+var zte_http_headers=new Array();
+zte_http_headers.push({"key":"ICTAuthentication","value":"icttka","store":true});
+zte_http_headers.push({"key":"isFromWeb","value":"1","store":false}); \ No newline at end of file