|
|
|
|
@ -61,19 +61,19 @@
|
|
|
|
|
<el-tabs v-model="activeTab">
|
|
|
|
|
<!-- 城市分布分析 -->
|
|
|
|
|
<el-tab-pane label="城市分布分析" lazy name="addressRef">
|
|
|
|
|
<CustomerAddress ref="addressRef" :query-params="queryParams" />
|
|
|
|
|
<CrmStatisticsPortraitCustomerArea ref="addressRef" :query-params="queryParams" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<!-- 客户级别分析 -->
|
|
|
|
|
<el-tab-pane label="客户级别分析" lazy name="levelRef">
|
|
|
|
|
<CustomerLevel ref="levelRef" :query-params="queryParams" />
|
|
|
|
|
<CrmStatisticsPortraitCustomerLevel ref="levelRef" :query-params="queryParams" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<!-- 客户来源分析 -->
|
|
|
|
|
<el-tab-pane label="客户来源分析" lazy name="sourceRef">
|
|
|
|
|
<CustomerSource ref="sourceRef" :query-params="queryParams" />
|
|
|
|
|
<CrmStatisticsPortraitCustomerSource ref="sourceRef" :query-params="queryParams" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<!-- 客户行业分析 -->
|
|
|
|
|
<el-tab-pane label="客户行业分析" lazy name="industryRef">
|
|
|
|
|
<CustomerIndustry ref="industryRef" :query-params="queryParams" />
|
|
|
|
|
<CrmStatisticsPortraitCustomerIndustry ref="industryRef" :query-params="queryParams" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
</el-col>
|
|
|
|
|
@ -85,11 +85,10 @@ import * as UserApi from '@/api/system/user'
|
|
|
|
|
import { useUserStore } from '@/store/modules/user'
|
|
|
|
|
import { beginOfDay, defaultShortcuts, endOfDay, formatDate } from '@/utils/formatTime'
|
|
|
|
|
import { defaultProps, handleTree } from '@/utils/tree'
|
|
|
|
|
// TODO @puhui999:最好命名带上模块名,如:CrmStatisticsPortrait
|
|
|
|
|
import CustomerAddress from './components/CustomerAddress.vue'
|
|
|
|
|
import CustomerIndustry from './components/CustomerIndustry.vue'
|
|
|
|
|
import CustomerSource from './components/CustomerSource.vue'
|
|
|
|
|
import CustomerLevel from './components/CustomerLevel.vue'
|
|
|
|
|
import CrmStatisticsPortraitCustomerArea from './components/CrmStatisticsPortraitCustomerArea.vue'
|
|
|
|
|
import CrmStatisticsPortraitCustomerIndustry from './components/CrmStatisticsPortraitCustomerIndustry.vue'
|
|
|
|
|
import CrmStatisticsPortraitCustomerSource from './components/CrmStatisticsPortraitCustomerSource.vue'
|
|
|
|
|
import CrmStatisticsPortraitCustomerLevel from './components/CrmStatisticsPortraitCustomerLevel.vue'
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'CrmStatisticsPortrait' })
|
|
|
|
|
|
|
|
|
|
|