From 548de49e4b6c85a62dddcc5f16f8938d7bfb28ee Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Wed, 12 Nov 2025 15:33:53 +0800 Subject: [PATCH] =?UTF-8?q?api=E6=A8=A1=E5=9D=97=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- {common/api => api}/common.js | 0 {common/api => api}/customer.js | 0 {common/api => api}/dashboard.js | 0 common/api.js => api/index.js | 10 +++++----- {common/api => api}/task.js | 0 {common/api => api}/user.js | 0 components/ContentDashboard.vue | 2 +- components/CustomerManagement.vue | 2 +- components/MyProfile.vue | 2 +- composables/useCustomerForm.js | 2 +- pages/customer/add/index.vue | 2 +- pages/customer/detail/index.vue | 2 +- pages/customer/edit/index.vue | 2 +- pages/customer/follow/add/index.vue | 2 +- pages/customer/follow/detail/index.vue | 2 +- pages/customer/follow/edit/index.vue | 2 +- pages/index/index.vue | 2 +- pages/login/index.vue | 2 +- pages/task/detail/index.vue | 2 +- pages/task/list/index.vue | 2 +- pages/task/submit/index.vue | 2 +- store/customer.js | 2 +- utils/qiniu.js | 2 +- 23 files changed, 22 insertions(+), 22 deletions(-) rename {common/api => api}/common.js (100%) rename {common/api => api}/customer.js (100%) rename {common/api => api}/dashboard.js (100%) rename common/api.js => api/index.js (72%) rename {common/api => api}/task.js (100%) rename {common/api => api}/user.js (100%) diff --git a/common/api/common.js b/api/common.js similarity index 100% rename from common/api/common.js rename to api/common.js diff --git a/common/api/customer.js b/api/customer.js similarity index 100% rename from common/api/customer.js rename to api/customer.js diff --git a/common/api/dashboard.js b/api/dashboard.js similarity index 100% rename from common/api/dashboard.js rename to api/dashboard.js diff --git a/common/api.js b/api/index.js similarity index 72% rename from common/api.js rename to api/index.js index 6bc7cc7..d466a93 100644 --- a/common/api.js +++ b/api/index.js @@ -11,16 +11,16 @@ */ // 导入用户相关 API -export * from './api/user'; +export * from './user'; // 导入仪表板相关 API -export * from './api/dashboard'; +export * from './dashboard'; // 导入任务相关 API -export * from './api/task'; +export * from './task'; // 导入客户相关 API -export * from './api/customer'; +export * from './customer'; // 导入通用 API -export * from './api/common'; +export * from './common'; diff --git a/common/api/task.js b/api/task.js similarity index 100% rename from common/api/task.js rename to api/task.js diff --git a/common/api/user.js b/api/user.js similarity index 100% rename from common/api/user.js rename to api/user.js diff --git a/components/ContentDashboard.vue b/components/ContentDashboard.vue index daf0200..3593e25 100644 --- a/components/ContentDashboard.vue +++ b/components/ContentDashboard.vue @@ -152,7 +152,7 @@