diff --git a/src/api/crm/permission/index.ts b/src/api/crm/permission/index.ts index 205c76278..6bc871aa3 100644 --- a/src/api/crm/permission/index.ts +++ b/src/api/crm/permission/index.ts @@ -34,7 +34,8 @@ export enum BizTypeEnum { CRM_CONTRACT = 5, // 合同 CRM_PRODUCT = 6, // 产品 CRM_RECEIVABLE = 7, // 回款 - CRM_RECEIVABLE_PLAN = 8 // 回款计划 + CRM_RECEIVABLE_PLAN = 8, // 回款计划 + CRM_STATION_SITE = 9 // 场地信息 } /** * CRM 数据权限级别枚举 diff --git a/src/api/crm/stationsite/index.ts b/src/api/crm/stationsite/index.ts index 634c38160..353352d2f 100644 --- a/src/api/crm/stationsite/index.ts +++ b/src/api/crm/stationsite/index.ts @@ -9,11 +9,14 @@ export interface StationSiteVO { detailAddress?: string // 地址 locationLng: number // 定位经度 locationLat: number // 定位纬度 + locationName: string // 定位名称 estimatedPiles: number // 可建充电桩数 siteType: number // 场地类型 siteStatus: number // 场地状态 ownerId: number // 关联的业主方 + ownerName: string // 业主方名称 managementId: number // 关联的物管方 + managementName: string // 物管方名称 recommenderName: string // 推荐人姓名 recommenderContact: string // 推荐人联系方式 picUrls?: string // 图片 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index b8828b538..d94be2370 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -588,6 +588,17 @@ const remainingRouter: AppRouteRecordRaw[] = [ activeMenu: '/crm/product' }, component: () => import('@/views/crm/product/detail/index.vue') + }, + { + path: 'stationsite/detail/:id', + name: 'CrmStationSiteDetail', + meta: { + title: '场地信息详情', + noCache: true, + hidden: true, + activeMenu: '/crm/station-site' + }, + component: () => import('@/views/crm/stationsite/detail/index.vue') } ] }, diff --git a/src/views/crm/customer/index.vue b/src/views/crm/customer/index.vue index 937238f93..1e5f7f38f 100644 --- a/src/views/crm/customer/index.vue +++ b/src/views/crm/customer/index.vue @@ -267,15 +267,6 @@ const openDetail = (id: number) => { push({ name: 'CrmCustomerDetail', params: { id } }) } -/** 打开主要联系人详情 */ -const openPrimaryContactDetail = (id: number) => { - if (!id) { - // id 为空跳转客户详情 - push({ name: 'CrmCustomerDetail', params: { id: scopeRowIdForCustomerDetail.value } }) - } else { - push({ name: 'CrmContactDetail', params: { id } }) - } -} // 用于存储当前行客户id const scopeRowIdForCustomerDetail = ref(null) diff --git a/src/views/crm/followup/components/FollowUpList.vue b/src/views/crm/followup/components/FollowUpList.vue index 4619ea3bc..26b2d552d 100644 --- a/src/views/crm/followup/components/FollowUpList.vue +++ b/src/views/crm/followup/components/FollowUpList.vue @@ -2,13 +2,13 @@ - 跟进方式: + {{ bizLabel }}方式:
- + 编辑 删除
- - + +