From d687d7fe4462c3388db07ff637c592d03e9bc4c9 Mon Sep 17 00:00:00 2001 From: sqlicong <2301640570@qq.com> Date: Mon, 4 Aug 2025 20:16:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E4=BA=9B=E9=A1=B5=E9=9D=A2=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.prod | 4 +- index.html | 6 + package-lock.json | 6 +- src/api/kfc/finance/agentorder/index.ts | 7 + src/api/kfc/product/index.ts | 12 + src/api/kfc/store/index.ts | 22 + src/types/amap.d.ts | 32 ++ .../kfc/alarm/alarmconfig/AlarmConfigForm.vue | 36 +- src/views/kfc/alarm/alarmconfig/index.vue | 2 +- src/views/kfc/product/KFCProductForm.vue | 138 ++++++ src/views/kfc/product/ProductForm.vue | 2 +- src/views/kfc/product/index.vue | 15 +- src/views/kfc/store/index.vue | 439 ++++++++++++++++++ tsconfig.json | 5 +- 14 files changed, 707 insertions(+), 19 deletions(-) create mode 100644 src/api/kfc/store/index.ts create mode 100644 src/types/amap.d.ts create mode 100644 src/views/kfc/product/KFCProductForm.vue create mode 100644 src/views/kfc/store/index.vue diff --git a/.env.prod b/.env.prod index ca7cb8e4..ae86a9a8 100644 --- a/.env.prod +++ b/.env.prod @@ -4,7 +4,7 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:48080' +VITE_BASE_URL='https://www.cdsrh.top' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务 VITE_UPLOAD_TYPE=server @@ -22,7 +22,7 @@ VITE_DROP_CONSOLE=true VITE_SOURCEMAP=false # 打包路径 -VITE_BASE_PATH=/ +VITE_BASE_PATH=/kfc/ # 输出路径 VITE_OUT_DIR=dist-prod diff --git a/index.html b/index.html index 8cfcbefa..1d82df5d 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,13 @@ content="芋道管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!" /> %VITE_APP_TITLE% + + +
\ No newline at end of file diff --git a/src/views/kfc/product/ProductForm.vue b/src/views/kfc/product/ProductForm.vue index 8463f771..ba6618bf 100644 --- a/src/views/kfc/product/ProductForm.vue +++ b/src/views/kfc/product/ProductForm.vue @@ -36,7 +36,7 @@ - + diff --git a/src/views/kfc/product/index.vue b/src/views/kfc/product/index.vue index a2e1095e..cbc07984 100644 --- a/src/views/kfc/product/index.vue +++ b/src/views/kfc/product/index.vue @@ -223,8 +223,15 @@ :formatter="dateFormatter" width="180px" /> - + + + \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 38376ef9..72026452 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,13 +31,14 @@ // "vite-plugin-svg-icons/client" ], "outDir": "target", // 请保留这个属性,防止tsconfig.json文件报错 - "typeRoots": ["./node_modules/@types/", "./types"] + "typeRoots": ["./node_modules/@types/", "./types","./src/types"] }, "include": [ "src", "types/**/*.d.ts", "src/types/auto-imports.d.ts", - "src/types/auto-components.d.ts" + "src/types/auto-components.d.ts", + "src/types/**/*.d.ts" ], "exclude": ["dist", "target", "node_modules"] }