|
|
|
window.DecCst = {
|
|
|
|
ErrorCode: {
|
|
|
|
CONNECTION_DELETED: '21300035',
|
|
|
|
CONNECTION_UNDER_EDIT: '21300034',
|
|
|
|
DUPLICATE_NAMES: '21300005',
|
|
|
|
LOGIN_INFO_NOT_AVAILABLE: '21300014',
|
|
|
|
LOGIN_INFO_ERROR: '21300018',
|
|
|
|
TIMEOUT: '21300001',
|
|
|
|
LACK_DRIVER: '22400037'
|
|
|
|
},
|
|
|
|
Connect: {
|
|
|
|
ConnectionType: {
|
|
|
|
JDBC: 'jdbc',
|
|
|
|
JNDI: 'jndi',
|
|
|
|
},
|
|
|
|
EditStatusEvent: {
|
|
|
|
OPEN: 'getConnectionStatus',
|
|
|
|
SHUTDOWN: 'shutdownConnectionStatus',
|
|
|
|
CONNECTION_EDITED: 'connectionEdited',
|
|
|
|
CONNECTION_RELEASED: 'connectionReleased',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
Hyperlink: {
|
|
|
|
Database: {
|
|
|
|
ODPS: "odps"
|
|
|
|
},
|
|
|
|
DECISION_HYPERLINK_CONFIG: "hyperlink",
|
|
|
|
WEBSOCKET_CONNECT: "websocket"
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
window.Dec = {
|
|
|
|
fineServletURL: '/webroot/decision',
|
|
|
|
socket: {
|
|
|
|
connected: false,
|
|
|
|
},
|
|
|
|
personal: {
|
|
|
|
username: '',
|
|
|
|
},
|
|
|
|
system: {
|
|
|
|
hyperlink: {
|
|
|
|
websocket: "http://help.finebi.com/doc-view-183.html",
|
|
|
|
odps: "http://help.finebi.com/doc-view-183.html",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|