客户组件模块化
This commit is contained in:
parent
7a953972d5
commit
7ee121ede6
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user