diff --git a/components/customer-detail/FollowupTab.vue b/components/customer/customer-detail/FollowupTab.vue similarity index 100% rename from components/customer-detail/FollowupTab.vue rename to components/customer/customer-detail/FollowupTab.vue diff --git a/components/customer-detail/InfoTab.vue b/components/customer/customer-detail/InfoTab.vue similarity index 100% rename from components/customer-detail/InfoTab.vue rename to components/customer/customer-detail/InfoTab.vue diff --git a/components/customer-detail/ProjectsTab.vue b/components/customer/customer-detail/ProjectsTab.vue similarity index 100% rename from components/customer-detail/ProjectsTab.vue rename to components/customer/customer-detail/ProjectsTab.vue diff --git a/components/customer-form/CustomerBasicInfo.vue b/components/customer/customer-form/CustomerBasicInfo.vue similarity index 100% rename from components/customer-form/CustomerBasicInfo.vue rename to components/customer/customer-form/CustomerBasicInfo.vue diff --git a/components/customer-form/CustomerFormNavbar.vue b/components/customer/customer-form/CustomerFormNavbar.vue similarity index 100% rename from components/customer-form/CustomerFormNavbar.vue rename to components/customer/customer-form/CustomerFormNavbar.vue diff --git a/components/customer-form/CustomerOtherInfo.vue b/components/customer/customer-form/CustomerOtherInfo.vue similarity index 100% rename from components/customer-form/CustomerOtherInfo.vue rename to components/customer/customer-form/CustomerOtherInfo.vue diff --git a/components/customer-form/CustomerPickers.vue b/components/customer/customer-form/CustomerPickers.vue similarity index 100% rename from components/customer-form/CustomerPickers.vue rename to components/customer/customer-form/CustomerPickers.vue diff --git a/components/followup-form/FollowupPickers.vue b/components/customer/followup-form/FollowupPickers.vue similarity index 100% rename from components/followup-form/FollowupPickers.vue rename to components/customer/followup-form/FollowupPickers.vue diff --git a/pages/customer/add/index.vue b/pages/customer/add/index.vue index b8f5a2d..a8c0403 100644 --- a/pages/customer/add/index.vue +++ b/pages/customer/add/index.vue @@ -63,10 +63,10 @@ import { ref, onMounted } from 'vue'; import { createCustomer } from '@/common/api'; import { useUserStore } from '@/store/user'; import { useCustomerForm } from '@/composables/useCustomerForm'; -import CustomerFormNavbar from '@/components/customer-form/CustomerFormNavbar.vue'; -import CustomerBasicInfo from '@/components/customer-form/CustomerBasicInfo.vue'; -import CustomerOtherInfo from '@/components/customer-form/CustomerOtherInfo.vue'; -import CustomerPickers from '@/components/customer-form/CustomerPickers.vue'; +import CustomerFormNavbar from '@/components/customer/customer-form/CustomerFormNavbar.vue'; +import CustomerBasicInfo from '@/components/customer/customer-form/CustomerBasicInfo.vue'; +import CustomerOtherInfo from '@/components/customer/customer-form/CustomerOtherInfo.vue'; +import CustomerPickers from '@/components/customer/customer-form/CustomerPickers.vue'; // 使用共享逻辑 const { diff --git a/pages/customer/detail/index.vue b/pages/customer/detail/index.vue index 22bdfb3..057fa45 100644 --- a/pages/customer/detail/index.vue +++ b/pages/customer/detail/index.vue @@ -127,9 +127,9 @@ import { ref, onMounted } from 'vue'; import { onLoad, onShow } from '@dcloudio/uni-app'; import { getCustomerDetail, getCustomerFollowupList, getCustomerProjects, deleteCustomer } from '@/common/api'; -import FollowupTab from '@/components/customer-detail/FollowupTab.vue'; -import ProjectsTab from '@/components/customer-detail/ProjectsTab.vue'; -import InfoTab from '@/components/customer-detail/InfoTab.vue'; +import FollowupTab from '@/components/customer/customer-detail/FollowupTab.vue'; +import ProjectsTab from '@/components/customer/customer-detail/ProjectsTab.vue'; +import InfoTab from '@/components/customer/customer-detail/InfoTab.vue'; import CustomerSummaryBrief from '@/components/customer/CustomerSummaryBrief.vue'; import { getCustomerStatusText, diff --git a/pages/customer/edit/index.vue b/pages/customer/edit/index.vue index fe435c3..9159a0f 100644 --- a/pages/customer/edit/index.vue +++ b/pages/customer/edit/index.vue @@ -64,10 +64,10 @@ import { onLoad } from '@dcloudio/uni-app'; import { updateCustomer, getCustomerDetail } from '@/common/api'; import { useUserStore } from '@/store/user'; import { useCustomerForm } from '@/composables/useCustomerForm'; -import CustomerFormNavbar from '@/components/customer-form/CustomerFormNavbar.vue'; -import CustomerBasicInfo from '@/components/customer-form/CustomerBasicInfo.vue'; -import CustomerOtherInfo from '@/components/customer-form/CustomerOtherInfo.vue'; -import CustomerPickers from '@/components/customer-form/CustomerPickers.vue'; +import CustomerFormNavbar from '@/components/customer/customer-form/CustomerFormNavbar.vue'; +import CustomerBasicInfo from '@/components/customer/customer-form/CustomerBasicInfo.vue'; +import CustomerOtherInfo from '@/components/customer/customer-form/CustomerOtherInfo.vue'; +import CustomerPickers from '@/components/customer/customer-form/CustomerPickers.vue'; // 使用共享逻辑 const { diff --git a/pages/customer/follow/add/index.vue b/pages/customer/follow/add/index.vue index 9b0ae5c..f4d9b55 100644 --- a/pages/customer/follow/add/index.vue +++ b/pages/customer/follow/add/index.vue @@ -234,7 +234,7 @@ import { getCustomerIntentLevelDict, getCustomerFollowTypeDict } from '@/common/api/customer.js'; -import FollowupPickers from '@/components/followup-form/FollowupPickers.vue'; +import FollowupPickers from '@/components/customer/followup-form/FollowupPickers.vue'; import { getCustomerStatusText, getIntentLevelText as getIntentLevelTextFromMapping, diff --git a/pages/customer/follow/edit/index.vue b/pages/customer/follow/edit/index.vue index 917d4a0..1bb6c95 100644 --- a/pages/customer/follow/edit/index.vue +++ b/pages/customer/follow/edit/index.vue @@ -237,7 +237,7 @@ import { getCustomerIntentLevelDict, getCustomerFollowTypeDict } from '@/common/api/customer.js'; -import FollowupPickers from '@/components/followup-form/FollowupPickers.vue'; +import FollowupPickers from '@/components/customer/followup-form/FollowupPickers.vue'; import { getCustomerStatusText, getIntentLevelText as getIntentLevelTextFromMapping,