From a3a0246c35b0b94f4285a16df58f74b7dfda1e82 Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Thu, 29 Feb 2024 11:04:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=BD=A6=E8=BE=86=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E5=8E=9F=E6=9D=90=E6=96=99=E7=9B=98=E7=82=B9=EF=BC=8C?= =?UTF-8?q?=E5=90=88=E5=90=8C=E5=AE=A1=E6=A0=B8=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/vue3.3.code-snippets | 14 +++++++------- src/layout/footer/index.tsx | 23 +++++++---------------- src/views/contract/index.vue | 11 +++++++++++ src/views/meterials-inventory/index.vue | 11 +++++++++++ src/views/vehicle-usage/index.vue | 7 +++++++ vite.config.ts | 2 -- 6 files changed, 43 insertions(+), 25 deletions(-) create mode 100644 src/views/contract/index.vue create mode 100644 src/views/meterials-inventory/index.vue create mode 100644 src/views/vehicle-usage/index.vue diff --git a/.vscode/vue3.3.code-snippets b/.vscode/vue3.3.code-snippets index c4625ad..e83bc9a 100644 --- a/.vscode/vue3.3.code-snippets +++ b/.vscode/vue3.3.code-snippets @@ -1,20 +1,20 @@ { "Vue3.3+defineOptions快速生成模板": { "scope": "vue", - "prefix": "Vue3.3+", + "prefix": "v3init", "body": [ + "\n", "\n", - "\n", "", - "$2" + "$2", ], - "description": "Vue3.3+defineOptions快速生成模板" - } + "description": "Vue3.3+defineOptions快速生成模板", + }, } diff --git a/src/layout/footer/index.tsx b/src/layout/footer/index.tsx index d835d8f..4d07c0b 100644 --- a/src/layout/footer/index.tsx +++ b/src/layout/footer/index.tsx @@ -1,6 +1,6 @@ import { defineComponent } from 'vue'; -import { GithubOutlined, CopyrightOutlined } from '@ant-design/icons-vue'; +import { CopyrightOutlined } from '@ant-design/icons-vue'; import { Layout } from 'ant-design-vue'; import styles from './index.module.less'; @@ -13,22 +13,13 @@ export default defineComponent({ return () => ( <> -
- Copyright 2020 - - buqiyuan.gitee.io + Copyright 2024 + +   华信智能科技
diff --git a/src/views/contract/index.vue b/src/views/contract/index.vue new file mode 100644 index 0000000..6cd4e3e --- /dev/null +++ b/src/views/contract/index.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/views/meterials-inventory/index.vue b/src/views/meterials-inventory/index.vue new file mode 100644 index 0000000..1f9cffd --- /dev/null +++ b/src/views/meterials-inventory/index.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/views/vehicle-usage/index.vue b/src/views/vehicle-usage/index.vue new file mode 100644 index 0000000..b6347f7 --- /dev/null +++ b/src/views/vehicle-usage/index.vue @@ -0,0 +1,7 @@ + + + diff --git a/vite.config.ts b/vite.config.ts index c3d8d5e..d2deb00 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -111,13 +111,11 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { port: 8088, proxy: { '/api': { - // target: 'https://nest-api.buqiyuan.site', target: 'http://127.0.0.1:7001', changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), }, '/upload': { - // target: 'hhttps://nest-api.buqiyuan.site/upload', target: 'http://127.0.0.1:7001/upload', changeOrigin: true, ws: true,