feat: business list

This commit is contained in:
xingyu4j
2025-06-04 21:17:36 +08:00
parent 4edd889883
commit 070274de15
7 changed files with 423 additions and 18 deletions

View File

@@ -21,6 +21,14 @@ const CustomerDetailsInfo = defineAsyncComponent(
() => import('./detail-info.vue'),
);
const CustomerForm = defineAsyncComponent(
() => import('#/views/crm/customer/modules/form.vue'),
);
const BusinessList = defineAsyncComponent(
() => import('#/views/crm/business/modules/detail-list.vue'),
);
const FollowUp = defineAsyncComponent(
() => import('#/views/crm/followup/index.vue'),
);
@@ -37,10 +45,6 @@ const OperateLog = defineAsyncComponent(
() => import('#/components/operate-log'),
);
const CustomerForm = defineAsyncComponent(
() => import('#/views/crm/customer/modules/form.vue'),
);
const loading = ref(false);
const route = useRoute();
@@ -236,7 +240,11 @@ onMounted(async () => {
/>
</Tabs.TabPane>
<Tabs.TabPane tab="商机" key="5" :force-render="true">
<div>商机</div>
<BusinessList
:biz-id="customerId"
:biz-type="BizTypeEnum.CRM_CUSTOMER"
:customer-id="customerId"
/>
</Tabs.TabPane>
<Tabs.TabPane tab="合同" key="6" :force-render="true">
<div>合同</div>