diff --git a/assets/scripts/dec.js b/assets/scripts/dec.js new file mode 100644 index 0000000..e2d12ab --- /dev/null +++ b/assets/scripts/dec.js @@ -0,0 +1,23 @@ +window.DecCst = { + ErrorCode: { + CONNECTION_DELETED: '21300035', + CONNECTION_UNDER_EDIT: '21300034', + }, + Connect: { + ConnectionType: { + JDBC: 'jdbc', + JNDI: 'jndi', + }, + EditStatusEvent: { + OPEN: 'getConnectionStatus', + SHUTDOWN: 'shutdownConnectionStatus', + } + } +}; + +window.Dec = { + fineServletURL: '/webroot/decision', + socket: { + connected: false, + }, +} \ No newline at end of file diff --git a/i18n/zh_cn.properties b/i18n/zh_cn.properties index d889fad..fba0b19 100644 --- a/i18n/zh_cn.properties +++ b/i18n/zh_cn.properties @@ -105,6 +105,7 @@ Dec-Dcm_Socket_Unable_Connect= Socket未连接,可能存在多人同时编辑 Dec-Dcm_Connection_HW_DWS=华为云DWS Dec-Dcm_Connection_Lack_Driver=未找到“{R1}”驱动。 Dec-Dcm_Connection_Download_Driver=下载对应驱动 +Dec-Dec_Connection_Deleted=该数据连接已被删除,无法进行操作 BI-Multi_Date_Quarter_End= 季度末 BI-Multi_Date_Month_Begin= 月初 diff --git a/index.html b/index.html index 1bd2a5e..6bac9ec 100644 --- a/index.html +++ b/index.html @@ -22,16 +22,13 @@ href="./node_modules/fineui-materials/docs/materials.css" /> -
+