From f77c79d828cefa576d4e7724d07cf93e878ce20a Mon Sep 17 00:00:00 2001 From: CoderSerio Date: Sun, 24 Sep 2023 23:23:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20preliminary=20complete=20the=20globalHi?= =?UTF-8?q?storyManagement=EF=BC=8CparameterConfig=20and=20login=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linkis-web-next/.env | 7 + linkis-web-next/.eslintrc.json | 1 - linkis-web-next/package.json | 6 +- .../src/components/editor/editor.vue | 196 +++++++++--------- .../src/dss/view/commonIframe/index.vue | 124 +++++------ linkis-web-next/src/layout.vue | 1 - .../pages/globalHistoryManagement/filter.vue | 166 +++++++++------ .../pages/globalHistoryManagement/table.vue | 46 ++-- .../src/pages/parameterConfig/drawer.vue | 2 +- linkis-web-next/vite.config.ts | 35 ++-- 10 files changed, 315 insertions(+), 269 deletions(-) diff --git a/linkis-web-next/.env b/linkis-web-next/.env index 5983420f56..b82d6a34c4 100644 --- a/linkis-web-next/.env +++ b/linkis-web-next/.env @@ -3,3 +3,10 @@ BACKEND_URL=http://106.52.77.156:19888 VUE_APP_MN_CONFIG_PREFIX= VUE_APP_MN_CONFIG_SOCKET=/ws/api/entrance/connect VUE_APP_VERSION=1.3.2 + + +VITE_VUE_APP_HOST= +VITE_BACKEND_URL=http://106.52.77.156:19888 +VITE_VUE_APP_MN_CONFIG_PREFIX= +VITE_VUE_APP_MN_CONFIG_SOCKET=/ws/api/entrance/connect +VITE_VUE_APP_VERSION=1.3.2 \ No newline at end of file diff --git a/linkis-web-next/.eslintrc.json b/linkis-web-next/.eslintrc.json index d29c6733c3..a235b745b0 100644 --- a/linkis-web-next/.eslintrc.json +++ b/linkis-web-next/.eslintrc.json @@ -28,7 +28,6 @@ } }, "plugins": ["vue", "@typescript-eslint"], - "import/prefer-default-export": "off", "rules": { "indent": ["error", 4], "linebreak-style": ["error", "unix"], diff --git a/linkis-web-next/package.json b/linkis-web-next/package.json index 5eb4f311ef..299c2c8f9b 100644 --- a/linkis-web-next/package.json +++ b/linkis-web-next/package.json @@ -21,14 +21,15 @@ "qs": "^6.11.2", "vue": "^3.2.47", "vue-i18n": "^9.4.1", - "vue-router": "^4.2.2" + "vue-router": "^4.2.2", + "vite": "^4.3.9", + "@vitejs/plugin-vue": "^4.1.0" }, "devDependencies": { "@commitlint/cli": "^17.6.3", "@commitlint/config-conventional": "^17.6.1", "@typescript-eslint/eslint-plugin": "^5.59.9", "@typescript-eslint/parser": "^5.59.9", - "@vitejs/plugin-vue": "^4.1.0", "eslint": "^8.41.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.8.0", @@ -41,7 +42,6 @@ "lint-staged": "^13.3.0", "prettier": "2.8.8", "typescript": "^5.0.2", - "vite": "^4.3.9", "vue-eslint-parser": "^9.3.0" }, "lint-staged": { diff --git a/linkis-web-next/src/components/editor/editor.vue b/linkis-web-next/src/components/editor/editor.vue index f7d239480f..df4d29f50e 100644 --- a/linkis-web-next/src/components/editor/editor.vue +++ b/linkis-web-next/src/components/editor/editor.vue @@ -3,22 +3,24 @@ diff --git a/linkis-web-next/src/dss/view/commonIframe/index.vue b/linkis-web-next/src/dss/view/commonIframe/index.vue index 9c0405e44a..7ac99d6a09 100644 --- a/linkis-web-next/src/dss/view/commonIframe/index.vue +++ b/linkis-web-next/src/dss/view/commonIframe/index.vue @@ -16,10 +16,10 @@ -->