aboutsummaryrefslogtreecommitdiffstats
path: root/portal-common/src/main/webapp/common/js/core/const.js
blob: 60307c9705d733be443a225c36d9605f1722958d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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});