From 69fac31ff4034350663bb3c5ba06bd6f5ccfd885 Mon Sep 17 00:00:00 2001 From: insistence <3055204202@qq.com> Date: Fri, 26 Jan 2024 23:37:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-fastapi-frontend/package.json | 8 +- ruoyi-fastapi-frontend/src/main.js | 1 + ruoyi-fastapi-frontend/src/router/index.js | 2 +- .../views/dashboard/editable-link-group.vue | 68 ++ .../src/views/dashboard/index.vue | 736 ++++++++++++ ruoyi-fastapi-frontend/src/views/index.vue | 1061 ----------------- 6 files changed, 812 insertions(+), 1064 deletions(-) create mode 100644 ruoyi-fastapi-frontend/src/views/dashboard/editable-link-group.vue create mode 100644 ruoyi-fastapi-frontend/src/views/dashboard/index.vue delete mode 100644 ruoyi-fastapi-frontend/src/views/index.vue diff --git a/ruoyi-fastapi-frontend/package.json b/ruoyi-fastapi-frontend/package.json index 1cd246c..bfaaf4e 100644 --- a/ruoyi-fastapi-frontend/package.json +++ b/ruoyi-fastapi-frontend/package.json @@ -16,9 +16,12 @@ "url": "https://gitee.com/insistence2022/RuoYi-Vue3-FastAPI.git" }, "dependencies": { + "@ant-design/icons-vue": "^7.0.1", + "@antv/g2plot": "^2.4.31", "@element-plus/icons-vue": "2.3.1", "@vueup/vue-quill": "1.2.0", "@vueuse/core": "10.6.1", + "ant-design-vue": "^4.1.1", "axios": "0.27.2", "echarts": "5.4.3", "element-plus": "2.4.3", @@ -35,11 +38,12 @@ "devDependencies": { "@vitejs/plugin-vue": "4.5.0", "@vue/compiler-sfc": "3.3.9", + "less": "^4.2.0", "sass": "1.69.5", "unplugin-auto-import": "0.17.1", + "unplugin-vue-setup-extend-plus": "1.0.0", "vite": "5.0.4", "vite-plugin-compression": "0.5.1", - "vite-plugin-svg-icons": "2.0.1", - "unplugin-vue-setup-extend-plus": "1.0.0" + "vite-plugin-svg-icons": "2.0.1" } } diff --git a/ruoyi-fastapi-frontend/src/main.js b/ruoyi-fastapi-frontend/src/main.js index 04b6801..027d5bb 100644 --- a/ruoyi-fastapi-frontend/src/main.js +++ b/ruoyi-fastapi-frontend/src/main.js @@ -43,6 +43,7 @@ import ImagePreview from "@/components/ImagePreview" import TreeSelect from '@/components/TreeSelect' // 字典标签组件 import DictTag from '@/components/DictTag' +import 'ant-design-vue/dist/reset.css'; const app = createApp(App) diff --git a/ruoyi-fastapi-frontend/src/router/index.js b/ruoyi-fastapi-frontend/src/router/index.js index c4a9d64..60b057f 100644 --- a/ruoyi-fastapi-frontend/src/router/index.js +++ b/ruoyi-fastapi-frontend/src/router/index.js @@ -64,7 +64,7 @@ export const constantRoutes = [ children: [ { path: '/index', - component: () => import('@/views/index'), + component: () => import('@/views/dashboard/index'), name: 'Index', meta: { title: '首页', icon: 'dashboard', affix: true } } diff --git a/ruoyi-fastapi-frontend/src/views/dashboard/editable-link-group.vue b/ruoyi-fastapi-frontend/src/views/dashboard/editable-link-group.vue new file mode 100644 index 0000000..1be617d --- /dev/null +++ b/ruoyi-fastapi-frontend/src/views/dashboard/editable-link-group.vue @@ -0,0 +1,68 @@ + + + + + + + \ No newline at end of file diff --git a/ruoyi-fastapi-frontend/src/views/dashboard/index.vue b/ruoyi-fastapi-frontend/src/views/dashboard/index.vue new file mode 100644 index 0000000..aee868f --- /dev/null +++ b/ruoyi-fastapi-frontend/src/views/dashboard/index.vue @@ -0,0 +1,736 @@ + + + + + + + + \ No newline at end of file diff --git a/ruoyi-fastapi-frontend/src/views/index.vue b/ruoyi-fastapi-frontend/src/views/index.vue deleted file mode 100644 index 77f559c..0000000 --- a/ruoyi-fastapi-frontend/src/views/index.vue +++ /dev/null @@ -1,1061 +0,0 @@ - - - - - -