From d35117a66908d76aec439d6926fc82125df9b88c Mon Sep 17 00:00:00 2001 From: kinghao Date: Sat, 22 Nov 2025 22:11:24 +0800 Subject: [PATCH 1/5] merge web --- linkis-web/.env | 3 +- linkis-web/.gitignore | 3 +- linkis-web/package.json | 33 +- linkis-web/release-docs/NOTICE | 2 +- .../src/apps/PythonModule/.gitattributes | 9 + linkis-web/src/apps/PythonModule/index.html | 2 +- linkis-web/src/apps/PythonModule/package.json | 32 ++ .../src/apps/PythonModule/public/logo.svg | 33 ++ .../src/apps/PythonModule/tsconfig.json | 33 ++ linkis-web/src/apps/URM/i18n/common/en.json | 4 +- linkis-web/src/apps/URM/i18n/common/zh.json | 4 +- .../functionManagement/addFunctionModal.vue | 82 ++- .../URM/module/functionManagement/index.vue | 24 +- .../src/apps/URM/module/header/index.vue | 12 +- .../src/apps/URM/module/header/userMenu.vue | 4 +- .../module/udfManagement/addFunctionModal.vue | 133 ++++- .../apps/URM/module/udfManagement/index.vue | 29 +- .../apps/linkis/assets/styles/console.scss | 3 + .../src/apps/linkis/components/tag/index.vue | 14 +- .../src/apps/linkis/i18n/common/en.json | 111 +++- .../src/apps/linkis/i18n/common/zh.json | 106 +++- .../src/apps/linkis/module/ECM/engineConn.vue | 49 +- .../src/apps/linkis/module/ECM/index.scss | 8 +- .../src/apps/linkis/module/ECM/index.vue | 12 + .../src/apps/linkis/module/ECM/search.vue | 9 + .../module/EnginePluginManagement/index.vue | 16 +- .../module/acrossClusterRule/index.scss | 2 +- .../linkis/module/acrossClusterRule/index.vue | 454 ++++++++++++++-- .../module/codeQuery/codeDetail/index.vue | 9 +- .../apps/linkis/module/codeQuery/index.scss | 2 +- .../apps/linkis/module/codeQuery/index.vue | 93 +++- .../datasource/datasourceForm/index.vue | 8 + .../apps/linkis/module/datasource/index.vue | 10 +- .../module/departmentTagManagement/index.js | 23 + .../module/departmentTagManagement/index.scss | 43 ++ .../module/departmentTagManagement/index.vue | 511 ++++++++++++++++++ .../apps/linkis/module/eurekaService/index.js | 21 + .../linkis/module/eurekaService/index.scss | 59 ++ .../linkis/module/eurekaService/index.vue | 269 +++++++++ .../gatewayAuthToken/EditForm/index.vue | 4 +- .../linkis/module/gatewayAuthToken/index.vue | 138 ++++- .../linkis/module/gatewayAuthToken/service.js | 6 +- .../module/globalHistoryManagement/index.scss | 12 +- .../module/globalHistoryManagement/index.vue | 375 +++++++++++-- .../module/globalHistoryManagement/log.vue | 165 ++++++ .../globalHistoryManagement/viewHistory.vue | 322 ++++++++--- .../src/apps/linkis/module/header/index.vue | 8 +- .../apps/linkis/module/header/userMenu.vue | 2 + .../linkis/module/ipListManagement/index.vue | 2 +- .../module/microServiceManagement/index.scss | 4 +- .../module/microServiceManagement/index.vue | 2 +- .../apps/linkis/module/pythonModule/index.js | 23 + .../module/resourceManagement/index.scss | 12 +- .../module/resourceManagement/index.vue | 14 +- .../linkis/module/resourceManagement/log.vue | 8 +- .../apps/linkis/module/setting/setting.vue | 50 +- .../statisticsDashboard.vue | 2 +- .../module/tenantTagManagement/index.vue | 91 +++- .../linkis/module/udfTree/EditForm/index.vue | 2 +- .../apps/linkis/module/userConfig/index.vue | 27 +- linkis-web/src/apps/linkis/router.js | 80 ++- linkis-web/src/apps/linkis/view/layout.vue | 25 +- .../src/apps/linkis/view/linkis/index.vue | 185 +++++-- linkis-web/src/common/i18n/en.json | 2 +- linkis-web/src/common/i18n/zh.json | 6 +- .../src/components/consoleComponent/log.vue | 41 +- .../components/consoleComponent/result.vue | 8 +- .../src/components/consoleComponent/term.vue | 177 ++++++ .../components/consoleComponent/toolbar.vue | 31 +- linkis-web/src/components/editor/editor.vue | 6 + .../src/components/editor/languages/log.js | 2 + .../src/components/editor/theme/logView.js | 1 + linkis-web/src/components/log/index.vue | 6 + linkis-web/src/components/table/table.vue | 4 +- .../historyTable/historyTable.vue | 9 +- .../src/components/virtualTable/index.scss | 1 + linkis-web/src/dss/module/header/index.scss | 2 +- linkis-web/src/dss/module/header/index.vue | 8 +- linkis-web/src/dss/module/header/userMenu.vue | 2 + .../src/dss/module/resourceSimple/engine.vue | 30 +- .../src/dss/module/resourceSimple/index.scss | 5 + .../src/dss/module/resourceSimple/job.vue | 54 +- .../src/dss/module/resourceSimple/queue.vue | 4 +- linkis-web/src/dss/router.js | 10 - linkis-web/src/dss/view/login/index.vue | 21 +- linkis-web/src/main.js | 9 +- linkis-web/src/router.js | 53 +- 87 files changed, 3754 insertions(+), 571 deletions(-) create mode 100644 linkis-web/src/apps/PythonModule/.gitattributes create mode 100644 linkis-web/src/apps/PythonModule/package.json create mode 100644 linkis-web/src/apps/PythonModule/public/logo.svg create mode 100644 linkis-web/src/apps/PythonModule/tsconfig.json create mode 100644 linkis-web/src/apps/linkis/module/departmentTagManagement/index.js create mode 100644 linkis-web/src/apps/linkis/module/departmentTagManagement/index.scss create mode 100644 linkis-web/src/apps/linkis/module/departmentTagManagement/index.vue create mode 100644 linkis-web/src/apps/linkis/module/eurekaService/index.js create mode 100644 linkis-web/src/apps/linkis/module/eurekaService/index.scss create mode 100644 linkis-web/src/apps/linkis/module/eurekaService/index.vue create mode 100644 linkis-web/src/apps/linkis/module/globalHistoryManagement/log.vue create mode 100644 linkis-web/src/apps/linkis/module/pythonModule/index.js create mode 100644 linkis-web/src/components/consoleComponent/term.vue diff --git a/linkis-web/.env b/linkis-web/.env index 4660cdfacef..27591f1bfd7 100644 --- a/linkis-web/.env +++ b/linkis-web/.env @@ -1,5 +1,4 @@ VUE_APP_HOST= -BACKEND_URL=http://127.0.0.1:9001 VUE_APP_MN_CONFIG_PREFIX= VUE_APP_MN_CONFIG_SOCKET=/ws/api/entrance/connect -VUE_APP_VERSION=1.8.0 +VUE_APP_VERSION=1.3.2 diff --git a/linkis-web/.gitignore b/linkis-web/.gitignore index 89cc5767eb7..8f5fdeb9187 100644 --- a/linkis-web/.gitignore +++ b/linkis-web/.gitignore @@ -2,11 +2,12 @@ .vscode .cache .idea/ +.fes node_modules/ dist/ -package-lock.json apache-linkis-*.tar.gz ./cn.json .env.* +package-lock.json diff --git a/linkis-web/package.json b/linkis-web/package.json index 4ee88e7d5e1..a518db2f5fd 100644 --- a/linkis-web/package.json +++ b/linkis-web/package.json @@ -1,6 +1,6 @@ { "name": "linkis", - "version": "1.8.0", + "version": "1.10.0", "private": true, "scripts": { "serve": "vue-cli-service serve", @@ -8,7 +8,9 @@ "lint": "vue-cli-service lint --no-fix", "fix": "eslint --ext .js,.vue src --fix", "precommit": "lint-staged", - "preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions" + "preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions", + "buildSubModule": "cd src/apps/PythonModule && npm run build:prod && cd ../../..", + "installAll": "npm install && cd src/apps/PythonModule && npm install --legacy-peer-deps && cd ../../.." }, "husky": { "hooks": { @@ -23,55 +25,58 @@ }, "dependencies": { "@form-create/iview": "2.5.27", - "axios": "1.12.0", - "babel-polyfill": "6.26.0", - "core-js": "3.27.2", + "axios": "1.12.2", "dexie": "3.2.3", "dt-sql-parser": "3.0.5", - "eslint": "7.21.0", - "eslint-plugin-vue": "9.6.0", + "echarts": "^5.6.0", "highlight.js": "10.7.0", + "hint.css": "^2.7.0", "iview": "3.5.4", "jsencrypt": "3.2.1", "lodash": "4.17.21", "md5": "2.3.0", - "mitt": "1.2.0", "moment": "2.29.4", "monaco-editor": "0.30.1", "object-to-formdata": "4.2.2", "path-browserify": "1.0.1", - "postcss": "8.4.31", "qs": "6.11.0", "reconnecting-websocket": "4.4.0", + "sass": "1.77.8", "sql-formatter": "2.3.3", "svgo": "3.0.2", "v-jsoneditor": "1.4.5", - "vue": "3.0.0", + "vue": "2.6.12", "vue-i18n": "8.22.1", "vue-router": "3.4.8", "vuedraggable": "2.24.3", "vuescroll": "4.16.1", "worker-loader": "3.0.8", - "echarts": "^5.1.1" + "xterm": "5.3.0", + "xterm-addon-fit": "0.8.0" }, "devDependencies": { "@intlify/vue-i18n-loader": "1.0.0", - "@vue/cli-plugin-babel": "5.0.8", + "@vue/cli-plugin-babel": "5.0.1", "@vue/cli-plugin-eslint": "5.0.8", "@vue/cli-service": "5.0.8", "@vue/eslint-config-standard": "4.0.0", "archiver": "3.1.1", "autoprefixer": "10.4.14", "babel-eslint": "10.1.0", + "babel-polyfill": "6.26.0", "copy-webpack-plugin": "9.1.0", + "core-js": "3.27.2", "csp-html-webpack-plugin": "5.1.0", + "eslint": "7.21.0", + "eslint-plugin-vue": "9.6.0", "filemanager-webpack-plugin": "7.0.0", "husky": "1.3.1", "lint-staged": "13.1.1", "material-design-icons": "3.0.1", + "mitt": "1.2.0", "monaco-editor-webpack-plugin": "6.0.0", - "node-sass": "8.0.0", "npm-force-resolutions": "0.0.10", + "postcss": "8.4.21", "sass-loader": "10.4.1", "svg-sprite-loader": "6.0.0", "vue-cli-plugin-mockjs": "0.1.3", @@ -79,6 +84,6 @@ "webpack-virtual-modules": "0.3.2" }, "resolutions": { - "postcss": "8.4.31" + "postcss": "8.4.21" } } diff --git a/linkis-web/release-docs/NOTICE b/linkis-web/release-docs/NOTICE index 3012346c23d..c9b63ba5c61 100644 --- a/linkis-web/release-docs/NOTICE +++ b/linkis-web/release-docs/NOTICE @@ -1,5 +1,5 @@ Apache Linkis -Copyright 2021-2025 The Apache Software Foundation +Copyright 2021-2023 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/linkis-web/src/apps/PythonModule/.gitattributes b/linkis-web/src/apps/PythonModule/.gitattributes new file mode 100644 index 00000000000..ec8935df7d2 --- /dev/null +++ b/linkis-web/src/apps/PythonModule/.gitattributes @@ -0,0 +1,9 @@ +* text=auto +* text eol=lf +*.png binary +*.gif binary +*.ttf binary +*.woff binary +*.eot binary +*.woff binary +*.otf binary \ No newline at end of file diff --git a/linkis-web/src/apps/PythonModule/index.html b/linkis-web/src/apps/PythonModule/index.html index a015c28931f..14b2fef00ac 100644 --- a/linkis-web/src/apps/PythonModule/index.html +++ b/linkis-web/src/apps/PythonModule/index.html @@ -15,7 +15,7 @@ ~ limitations under the License. --> - + diff --git a/linkis-web/src/apps/PythonModule/package.json b/linkis-web/src/apps/PythonModule/package.json new file mode 100644 index 00000000000..d01518360b2 --- /dev/null +++ b/linkis-web/src/apps/PythonModule/package.json @@ -0,0 +1,32 @@ +{ + "dependencies": { + "core-js": "3.35.1", + "vue": "3.3.9", + "@vueuse/core": "10.9.0", + "lodash-es": "4.17.21", + "@qlin/request": "0.2.6", + "@webank/letgo-components": "1.1.4", + "@fesjs/fes-design": "0.8.60", + "@webank/fes-design-material": "0.2.31", + "@fesjs/traction-widget": "1.9.1", + "dayjs": "1.11.9", + "lodash": "4.17.21", + "@fesjs/fes": "3.1.10", + "@fesjs/plugin-model": "3.0.1", + "@fesjs/plugin-request": "4.0.0-rc.3", + "@fesjs/plugin-locale": "4.2.5", + "@fesjs/builder-vite": "4.0.2" + }, + "name": "linkis", + "version": "1.0.0", + "scripts": { + "build:test": "cross-env FES_ENV=test fes build", + "build:prod": "cross-env FES_ENV=prod fes build", + "analyze": "cross-env ANALYZE=1 fes build", + "dev": "fes dev" + }, + "devDependencies": { + "typescript": "5.3.3", + "cross-env": "7.0.3" + } +} \ No newline at end of file diff --git a/linkis-web/src/apps/PythonModule/public/logo.svg b/linkis-web/src/apps/PythonModule/public/logo.svg new file mode 100644 index 00000000000..210841be54b --- /dev/null +++ b/linkis-web/src/apps/PythonModule/public/logo.svg @@ -0,0 +1,33 @@ + + + 编组 11 + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/linkis-web/src/apps/PythonModule/tsconfig.json b/linkis-web/src/apps/PythonModule/tsconfig.json new file mode 100644 index 00000000000..5ccb046d8ad --- /dev/null +++ b/linkis-web/src/apps/PythonModule/tsconfig.json @@ -0,0 +1,33 @@ +{ + "compilerOptions": { + "module": "esnext", + "target": "esnext", + "lib": [ + "esnext", + "dom" + ], + "sourceMap": true, + "baseUrl": ".", + "jsx": "preserve", + "allowSyntheticDefaultImports": true, + "moduleResolution": "node", + "forceConsistentCasingInFileNames": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "allowJs": true, + "experimentalDecorators": true, + "strict": true, + "paths": { + "@/*": [ + "./src/*" + ], + "@@/*": [ + "./src/.fes/*" + ] + } + }, + "include": [ + "src", + "package.json" + ] +} \ No newline at end of file diff --git a/linkis-web/src/apps/URM/i18n/common/en.json b/linkis-web/src/apps/URM/i18n/common/en.json index f6f8319cc8e..89ab41bc82b 100644 --- a/linkis-web/src/apps/URM/i18n/common/en.json +++ b/linkis-web/src/apps/URM/i18n/common/en.json @@ -60,6 +60,7 @@ "no": "No", "sprak": "sprak", "jarPackage": "jar Package", + "registerFunc": "Register Function", "scriptPath": "Script Path", "registerFunction": "Register Function", "registerFormat": "Register Format", @@ -88,7 +89,8 @@ "XGHS": "Update Funtion", "XG": "Update", "QPZS": "View in Full Screen", - "QXQP": "Cancel Full Screen" + "QXQP": "Cancel Full Screen", + "XZHS": "Select Function" } } } diff --git a/linkis-web/src/apps/URM/i18n/common/zh.json b/linkis-web/src/apps/URM/i18n/common/zh.json index 942c66a7e2c..becc40b4fed 100644 --- a/linkis-web/src/apps/URM/i18n/common/zh.json +++ b/linkis-web/src/apps/URM/i18n/common/zh.json @@ -60,6 +60,7 @@ "no": "否", "sprak": "sprak", "jarPackage": "jar包", + "registerFunc": "注册函数", "scriptPath": "脚本路径", "registerFunction": "注册的函数", "registerFormat": "注册格式", @@ -88,7 +89,8 @@ "XGHS": "修改函数", "XG": "修改", "QPZS": "全屏展示", - "QXQP": "取消全屏" + "QXQP": "取消全屏", + "XZHS": "选择函数" } } } diff --git a/linkis-web/src/apps/URM/module/functionManagement/addFunctionModal.vue b/linkis-web/src/apps/URM/module/functionManagement/addFunctionModal.vue index 10fb4e2344a..a12a1abac2c 100644 --- a/linkis-web/src/apps/URM/module/functionManagement/addFunctionModal.vue +++ b/linkis-web/src/apps/URM/module/functionManagement/addFunctionModal.vue @@ -5,15 +5,15 @@ ~ The ASF licenses this file to You 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. - --> +-->
- {{ $t('message.linkis.resultSet.prefixText') }}{{ $t('message.linkis.resultSet.linkText') }} +

{{ result.tipMsg }}

+

{{ $t('message.linkis.resultSet.prefixText') }}{{ $t('message.linkis.resultSet.linkText') }}

@@ -135,7 +136,8 @@ :list="script.resultList" @change="changeSet"> -
+
+

{{ result.tipMsg }}

+ + + + + \ No newline at end of file diff --git a/linkis-web/src/components/consoleComponent/toolbar.vue b/linkis-web/src/components/consoleComponent/toolbar.vue index bcdff0af06c..bbbe640c51e 100644 --- a/linkis-web/src/components/consoleComponent/toolbar.vue +++ b/linkis-web/src/components/consoleComponent/toolbar.vue @@ -67,7 +67,7 @@
-
  • +
  • - cloud_download + cloud_download {{ $t('message.common.download') }}
    @@ -143,19 +143,20 @@
    + + + {{$t('message.common.toolbar.downloadMode')}} +
    - {{$t('message.common.toolbar.downloadMode')}} + {{$t('message.common.toolbar.all', {count: String(allPath.length)})}} +
    + +
    - {{$t('message.common.toolbar.all', {count: String(allPath.length)})}} + {{$t('message.common.toolbar.autoFormat')}} -
    - - {{$t('message.common.toolbar.autoFormat')}} - -
    -
    @@ -300,8 +301,14 @@ export default { }; return describe }, + canDownload() { + if (this?.script?.resultList && this.script.resultList[this.script.resultSet]?.result?.tipMsg) { + return !this.script.resultList[this.script.resultSet].result.tipMsg; + } + return true + }, isAll() { - return ['hql', 'sql'].includes(this.script.runType) || this.download.format === '1'; + return ['hql', 'sql', 'tsql', 'nebula'].includes(this.script.runType) || this.download.format === '1'; }, isExcel() { return this.download.format === '2'; @@ -396,7 +403,7 @@ export default { let separator = encodeURIComponent(separatorItem.key || ''); url += `&csvSeparator=${separator}` } - if(this.isAll && this.isExcel) { + if(this.isExcel) { url += `&autoFormat=${this.autoFormat}` } // Before downloading, use the heartbeat interface to confirm whether to log in(下载之前条用心跳接口确认是否登录) diff --git a/linkis-web/src/components/editor/editor.vue b/linkis-web/src/components/editor/editor.vue index 7ffa5558e0d..ea96d256085 100644 --- a/linkis-web/src/components/editor/editor.vue +++ b/linkis-web/src/components/editor/editor.vue @@ -195,6 +195,12 @@ export default { undo() { this.editor.trigger('anyString', 'undo'); }, + fold() { + this.editor.trigger('fold', 'editor.foldAll'); + }, + unfold() { + this.editor.trigger('unfold', 'editor.unfoldAll'); + }, redo() { this.editor.trigger('anyString', 'redo'); }, diff --git a/linkis-web/src/components/editor/languages/log.js b/linkis-web/src/components/editor/languages/log.js index d38ba145db2..75735a29f98 100644 --- a/linkis-web/src/components/editor/languages/log.js +++ b/linkis-web/src/components/editor/languages/log.js @@ -22,7 +22,9 @@ export default { monaco.languages.setMonarchTokensProvider('log', { tokenizer: { + // The earlier a rule is placed, the higher its priority. If a new rule does not take effect, try moving it to the top.(规则越靠前,优先级越高,如果新配置的规则不生效,尝试提到最前面去) root: [ + [/^Caused by:\s.*/, 'log-caused'], [/(^[=a-zA-Z].*|\d\s.*)/, 'log-normal'], [/\sERROR\s.*/, 'log-error'], [/\sWARN\s.*/, 'log-warn'], diff --git a/linkis-web/src/components/editor/theme/logView.js b/linkis-web/src/components/editor/theme/logView.js index a9533e1405b..424c53f09d9 100644 --- a/linkis-web/src/components/editor/theme/logView.js +++ b/linkis-web/src/components/editor/theme/logView.js @@ -27,6 +27,7 @@ export default { { token: 'log-warn', foreground: 'FFA500' }, { token: 'log-date', foreground: '008800' }, { token: 'log-normal', foreground: '808080' }, + { token: 'log-caused', foreground: 'ff0000', fontStyle: 'bold' }, ], colors: { 'editor.lineHighlightBackground': '#ffffff', diff --git a/linkis-web/src/components/log/index.vue b/linkis-web/src/components/log/index.vue index da73836c4c6..dc20c78996d 100644 --- a/linkis-web/src/components/log/index.vue +++ b/linkis-web/src/components/log/index.vue @@ -143,6 +143,12 @@ export default { this.errorNum = errorLogs.length; this.warnNum = warnLogs.length; }, + unfold() { + this.$refs.logEditor.unfold(); + }, + fold() { + this.$refs.logEditor.fold(); + }, getSearchList(log) { let MatchText = ''; const val = this.searchText; diff --git a/linkis-web/src/components/table/table.vue b/linkis-web/src/components/table/table.vue index e3ca03d90fd..6b9b7c4fedc 100644 --- a/linkis-web/src/components/table/table.vue +++ b/linkis-web/src/components/table/table.vue @@ -68,7 +68,7 @@ cellpadding="0" cellspacing="0" border="0" - style="width:100%;table-layout:fixed;" + style="width:100%;table-layout:fixed;overflow:hidden" :style="{height:`${loadedNum*tdHeight}px`}" > @@ -95,7 +95,7 @@ v-if="item.key" :key="`${index}-${indexs}`" class="bottom-td" - :class="[hasLineBreak(item.logic==undefined?items[item.key]:item.logic(items)) ? '' : 'hint--bottom hint--rounded']" + :class="[hasLineBreak(item.logic==undefined?items[item.key]:item.logic(items)) ? '' : 'hint--right hint--rounded']" :style="{width: item.width?`${item.width}px`:'auto'}" :aria-label="item.logic==undefined?items[item.key]:item.logic(items)" > diff --git a/linkis-web/src/components/virtualTable/historyTable/historyTable.vue b/linkis-web/src/components/virtualTable/historyTable/historyTable.vue index 65988bd7cf1..477ce5a1d56 100644 --- a/linkis-web/src/components/virtualTable/historyTable/historyTable.vue +++ b/linkis-web/src/components/virtualTable/historyTable/historyTable.vue @@ -53,7 +53,7 @@ :style="{'text-align': th.align}" class="we-table-row-cell" :aria-label="td[th.key]" - :class="[!th.ellipsis ? '' : 'hint--bottom hint--rounded']"> + :class="[!th.ellipsis ? '' : 'hint--right hint--rounded']">
    { + return h('span', {}, `${value} / ${cell[params.concatKey1]} / ${cell[params.concatKey2]}`); + }; + }, renderIf(cell, params) { const opt = params.action({ row: cell }); return this[`render${opt.type}`](opt.value); diff --git a/linkis-web/src/components/virtualTable/index.scss b/linkis-web/src/components/virtualTable/index.scss index 5bc010d8d6a..b9cd814a7f9 100644 --- a/linkis-web/src/components/virtualTable/index.scss +++ b/linkis-web/src/components/virtualTable/index.scss @@ -146,6 +146,7 @@ $border-color: #e0e0e0; .we-table { border: 1px solid #dcdee2; table-layout: fixed; + overflow: hidden; .we-table-thead { background-color: #2d8cf0; color: #fff; diff --git a/linkis-web/src/dss/module/header/index.scss b/linkis-web/src/dss/module/header/index.scss index ad758b39b07..8edff761bd1 100644 --- a/linkis-web/src/dss/module/header/index.scss +++ b/linkis-web/src/dss/module/header/index.scss @@ -80,7 +80,7 @@ } } } - /deep/ .ivu-select-dropdown { + ::v-deep .ivu-select-dropdown { padding: 0; margin: 0; } diff --git a/linkis-web/src/dss/module/header/index.vue b/linkis-web/src/dss/module/header/index.vue index 43dae0e0628..ee9c25e29f4 100644 --- a/linkis-web/src/dss/module/header/index.vue +++ b/linkis-web/src/dss/module/header/index.vue @@ -98,13 +98,13 @@ export default { linkTo(type) { let url = ""; if (type === "book") { - url = `https://linkis.apache.org/`; + url = `https://github.com/WeBankFinTech/DataSphereStudio/blob/master/docs/zh_CN/ch3/DSS_User_Manual.md`; } else if (type === "github") { - url = `https://linkis.apache.org/`; + url = `https://github.com/WeBankFinTech/DataSphereStudio`; } else if (type === "freedback") { - url = "https://linkis.apache.org/"; + url = "https://wj.qq.com/s2/4943071/c037/ "; if (localStorage.getItem("locale") === "en") { - url = "https://linkis.apache.org/"; + url = "https://wj.qq.com/s2/4943706/5a8b"; } } util.windowOpen(url); diff --git a/linkis-web/src/dss/module/header/userMenu.vue b/linkis-web/src/dss/module/header/userMenu.vue index 6c5216fcff1..42f9f46e690 100644 --- a/linkis-web/src/dss/module/header/userMenu.vue +++ b/linkis-web/src/dss/module/header/userMenu.vue @@ -126,8 +126,10 @@ export default { // Chinese to English(中文切换英文) if (localStorage.getItem('locale') === 'zh-CN') { localStorage.setItem('locale', 'en'); + localStorage.setItem('fes_locale', 'en-US'); } else { localStorage.setItem('locale', 'zh-CN'); + localStorage.setItem('fes_locale', 'zh-CN'); } window.location.reload(); } diff --git a/linkis-web/src/dss/module/resourceSimple/engine.vue b/linkis-web/src/dss/module/resourceSimple/engine.vue index b9acb7c53cc..cc9833485ea 100644 --- a/linkis-web/src/dss/module/resourceSimple/engine.vue +++ b/linkis-web/src/dss/module/resourceSimple/engine.vue @@ -41,7 +41,7 @@ class="engine-list" v-for="item in ideClassList" :key="item"> - {{ calssifyName(item) }} + {{ calssifyName(item) }}