diff --git a/src/api/crm/business/status/index.ts b/src/api/crm/business/status/index.ts
index cddaa5a2c..dfd8a1132 100644
--- a/src/api/crm/business/status/index.ts
+++ b/src/api/crm/business/status/index.ts
@@ -15,7 +15,7 @@ export const DEFAULT_STATUSES = [
{
endStatus: 1,
key: '结束',
- name: '赢单',
+ name: '成交',
percent: 100
},
{
diff --git a/src/api/crm/statistics/funnel.ts b/src/api/crm/statistics/funnel.ts
index 574a5f4f7..c5ede85ef 100644
--- a/src/api/crm/statistics/funnel.ts
+++ b/src/api/crm/statistics/funnel.ts
@@ -3,7 +3,7 @@ import request from '@/config/axios'
export interface CrmStatisticFunnelRespVO {
customerCount: number // 客户数
businessCount: number // 商机数
- businessWinCount: number // 赢单数
+ businessWinCount: number // 成交数
}
export interface CrmStatisticsBusinessSummaryByDateRespVO {
@@ -15,7 +15,7 @@ export interface CrmStatisticsBusinessSummaryByDateRespVO {
export interface CrmStatisticsBusinessInversionRateSummaryByDateRespVO {
time: string // 时间
businessCount: number // 商机数量
- businessWinCount: number // 赢单商机数
+ businessWinCount: number // 成交商机数
}
// 客户分析 API
diff --git a/src/views/crm/business/BusinessForm.vue b/src/views/crm/business/BusinessForm.vue
index cb0d323bd..736937c4f 100644
--- a/src/views/crm/business/BusinessForm.vue
+++ b/src/views/crm/business/BusinessForm.vue
@@ -279,7 +279,7 @@ const formData = ref({
creditMethod: undefined,
creditCalcCycle: undefined,
creditLimit: undefined,
- techSupport: 1,
+ techSupport: false,
products: []
});
const formRules = reactive({
@@ -413,6 +413,7 @@ const resetForm = () => {
totalPrice: 0,
products: [],
contactId: undefined,
+ techSupport: 1,
customerDefault: false
};
formRef.value?.resetFields();
@@ -421,7 +422,7 @@ const resetForm = () => {
const route = useRoute();
onMounted(async () => {
const customerId = route.query.customerId;
- console.log('%csrc/views/crm/business/BusinessForm.vue:422 useUserStore().getUser.id', 'color: #007acc;', useUserStore().getUser.id);
+ console.log('%csrc/views/crm/business/BusinessForm.vue:425 formData.value', 'color: #007acc;', formData.value);
formData.value.ownerUserId = customerId ? '' : useUserStore().getUser.id;
formType.value = route.query.id;
if (formType.value) open(formType.value, customerId)
diff --git a/src/views/crm/business/BusinessUpdateStatusForm.vue b/src/views/crm/business/BusinessUpdateStatusForm.vue
index 4f2f761b8..29ae99f13 100644
--- a/src/views/crm/business/BusinessUpdateStatusForm.vue
+++ b/src/views/crm/business/BusinessUpdateStatusForm.vue
@@ -12,13 +12,13 @@
diff --git a/src/views/crm/business/status/BusinessStatusForm.vue b/src/views/crm/business/status/BusinessStatusForm.vue
index d6a4d6f81..c5d28338e 100644
--- a/src/views/crm/business/status/BusinessStatusForm.vue
+++ b/src/views/crm/business/status/BusinessStatusForm.vue
@@ -42,12 +42,12 @@
{{ row.name }}
-
+
-
+
{{ scope.row.name }}
@@ -125,7 +125,7 @@
-
+
@@ -158,7 +158,7 @@
{{scope.row.assistName || '暂无'}}
-
+
diff --git a/src/views/crm/statistics/funnel/components/BusinessInversionRateSummary.vue b/src/views/crm/statistics/funnel/components/BusinessInversionRateSummary.vue
index 541d6fc47..4c4479b01 100644
--- a/src/views/crm/statistics/funnel/components/BusinessInversionRateSummary.vue
+++ b/src/views/crm/statistics/funnel/components/BusinessInversionRateSummary.vue
@@ -143,7 +143,7 @@ const echartsOption = reactive({
}
},
legend: {
- data: ['赢单转化率', '商机总数', '赢单商机数'],
+ data: ['成交转化率', '商机总数', '成交商机数'],
bottom: '0px',
itemWidth: 14
},
@@ -178,7 +178,7 @@ const echartsOption = reactive({
yAxis: [
{
type: 'value',
- name: '赢单转化率',
+ name: '成交转化率',
axisTick: {
alignWithLabel: true,
lineStyle: { width: 0 }
@@ -217,7 +217,7 @@ const echartsOption = reactive({
],
series: [
{
- name: '赢单转化率',
+ name: '成交转化率',
type: 'line',
yAxisIndex: 0,
data: []
@@ -230,7 +230,7 @@ const echartsOption = reactive({
data: []
},
{
- name: '赢单商机数',
+ name: '成交商机数',
type: 'bar',
yAxisIndex: 1,
barWidth: 15,
diff --git a/src/views/crm/statistics/funnel/components/FunnelBusiness.vue b/src/views/crm/statistics/funnel/components/FunnelBusiness.vue
index c4e4bf6fd..152a1b958 100644
--- a/src/views/crm/statistics/funnel/components/FunnelBusiness.vue
+++ b/src/views/crm/statistics/funnel/components/FunnelBusiness.vue
@@ -58,7 +58,7 @@ const echartsOption = reactive({
}
},
legend: {
- data: ['客户', '商机', '赢单']
+ data: ['客户', '商机', '成交']
},
series: [
{
@@ -97,7 +97,7 @@ const echartsOption = reactive({
data: [
{ value: 60, name: '客户-0个' },
{ value: 40, name: '商机-0个' },
- { value: 20, name: '赢单-0个' }
+ { value: 20, name: '成交-0个' }
]
}
]
@@ -127,11 +127,11 @@ const loadData = async () => {
if (active.value) {
list.push({ value: 60, name: `客户-${data.customerCount || 0}个` })
list.push({ value: 40, name: `商机-${data.businessCount || 0}个` })
- list.push({ value: 20, name: `赢单-${data.businessWinCount || 0}个` })
+ list.push({ value: 20, name: `成交-${data.businessWinCount || 0}个` })
} else {
list.push({ value: data.customerCount || 0, name: `客户-${data.customerCount || 0}个` })
list.push({ value: data.businessCount || 0, name: `商机-${data.businessCount || 0}个` })
- list.push({ value: data.businessWinCount || 0, name: `赢单-${data.businessWinCount || 0}个` })
+ list.push({ value: data.businessWinCount || 0, name: `成交-${data.businessWinCount || 0}个` })
}
echartsOption.series[0]['data'] = list