60
60
<el-col >
61
61
<el-tabs v-model =" activeTab" >
62
62
<!-- 城市分布分析 -->
63
- <el-tab-pane label =" 城市分布分析" lazy name =" addressRef " >
64
- <CrmStatisticsPortraitCustomerArea ref =" addressRef " :query-params =" queryParams" />
63
+ <el-tab-pane label =" 城市分布分析" lazy name =" areaRef " >
64
+ <PortraitCustomerArea ref =" areaRef " :query-params =" queryParams" />
65
65
</el-tab-pane >
66
66
<!-- 客户级别分析 -->
67
67
<el-tab-pane label =" 客户级别分析" lazy name =" levelRef" >
68
- <CrmStatisticsPortraitCustomerLevel ref =" levelRef" :query-params =" queryParams" />
68
+ <PortraitCustomerLevel ref =" levelRef" :query-params =" queryParams" />
69
69
</el-tab-pane >
70
70
<!-- 客户来源分析 -->
71
71
<el-tab-pane label =" 客户来源分析" lazy name =" sourceRef" >
72
- <CrmStatisticsPortraitCustomerSource ref =" sourceRef" :query-params =" queryParams" />
72
+ <PortraitCustomerSource ref =" sourceRef" :query-params =" queryParams" />
73
73
</el-tab-pane >
74
74
<!-- 客户行业分析 -->
75
75
<el-tab-pane label =" 客户行业分析" lazy name =" industryRef" >
76
- <CrmStatisticsPortraitCustomerIndustry ref =" industryRef" :query-params =" queryParams" />
76
+ <PortraitCustomerIndustry ref =" industryRef" :query-params =" queryParams" />
77
77
</el-tab-pane >
78
78
</el-tabs >
79
79
</el-col >
@@ -85,10 +85,10 @@ import * as UserApi from '@/api/system/user'
85
85
import { useUserStore } from ' @/store/modules/user'
86
86
import { beginOfDay , defaultShortcuts , endOfDay , formatDate } from ' @/utils/formatTime'
87
87
import { defaultProps , handleTree } from ' @/utils/tree'
88
- import CrmStatisticsPortraitCustomerArea from ' ./components/CrmStatisticsPortraitCustomerArea .vue'
89
- import CrmStatisticsPortraitCustomerIndustry from ' ./components/CrmStatisticsPortraitCustomerIndustry .vue'
90
- import CrmStatisticsPortraitCustomerSource from ' ./components/CrmStatisticsPortraitCustomerSource .vue'
91
- import CrmStatisticsPortraitCustomerLevel from ' ./components/CrmStatisticsPortraitCustomerLevel .vue'
88
+ import PortraitCustomerArea from ' ./components/PortraitCustomerArea .vue'
89
+ import PortraitCustomerIndustry from ' ./components/PortraitCustomerIndustry .vue'
90
+ import PortraitCustomerSource from ' ./components/PortraitCustomerSource .vue'
91
+ import PortraitCustomerLevel from ' ./components/PortraitCustomerLevel .vue'
92
92
93
93
defineOptions ({ name: ' CrmStatisticsPortrait' })
94
94
@@ -113,17 +113,17 @@ const userListByDeptId = computed(() =>
113
113
: []
114
114
)
115
115
116
- const activeTab = ref (' addressRef ' ) // 活跃标签
117
- const addressRef = ref () // 客户地区分布
116
+ const activeTab = ref (' areaRef ' ) // 活跃标签
117
+ const areaRef = ref () // 客户地区分布
118
118
const levelRef = ref () // 客户级别
119
119
const sourceRef = ref () // 客户来源
120
120
const industryRef = ref () // 客户行业
121
121
122
122
/** 搜索按钮操作 */
123
123
const handleQuery = () => {
124
124
switch (activeTab .value ) {
125
- case ' addressRef ' :
126
- addressRef .value ?.loadData ?.()
125
+ case ' areaRef ' :
126
+ areaRef .value ?.loadData ?.()
127
127
break
128
128
case ' levelRef' :
129
129
levelRef .value ?.loadData ?.()
0 commit comments