From 3ee254dce08b96df2a09229dbd538abbc2bc141d Mon Sep 17 00:00:00 2001 From: wersd <1523826083@qq.com> Date: Mon, 16 Jun 2025 22:23:43 +0800 Subject: [PATCH] =?UTF-8?q?CRM=20=E5=9C=BA=E5=9C=B0=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/stationsite/index.ts | 13 +++++- .../crm/followup/components/FollowUpList.vue | 19 +++++---- .../components/FollowUpRecordForm.vue | 25 +++++++----- .../permission/components/TransferForm.vue | 5 +++ .../detail/StationSiteDetailsHeader.vue | 12 +++++- src/views/crm/stationsite/detail/index.vue | 40 +++++++++++++++++-- src/views/crm/stationsite/index.vue | 29 ++++++++++++-- 7 files changed, 114 insertions(+), 29 deletions(-) diff --git a/src/api/crm/stationsite/index.ts b/src/api/crm/stationsite/index.ts index 353352d2f..263f655e1 100644 --- a/src/api/crm/stationsite/index.ts +++ b/src/api/crm/stationsite/index.ts @@ -1,4 +1,5 @@ import request from '@/config/axios' +import { TransferReqVO } from '@/api/crm/permission' // 场地信息 VO export interface StationSiteVO { @@ -13,6 +14,8 @@ export interface StationSiteVO { estimatedPiles: number // 可建充电桩数 siteType: number // 场地类型 siteStatus: number // 场地状态 + ownerUserId: number // 责任人编号 + ownerUserName?: string // 责任人名称 ownerId: number // 关联的业主方 ownerName: string // 业主方名称 managementId: number // 关联的物管方 @@ -24,7 +27,6 @@ export interface StationSiteVO { parkingSpaces: number // 车位数 rentPrice: number // 租金价格 creator: string // 填报人 - creatorName?: string // 填报人名称 params: string // 参数 } @@ -58,5 +60,12 @@ export const StationSiteApi = { // 导出场地信息 Excel exportStationSite: async (params) => { return await request.download({ url: `/crm/station-site/export-excel`, params }) - }, + } } +// ======================= 业务操作 ======================= + +// 转移场地信息 +export const transferStationSite = async (data: TransferReqVO) => { + return await request.put({ url: `/crm/station-site/transfer`, data }) +} + diff --git a/src/views/crm/followup/components/FollowUpList.vue b/src/views/crm/followup/components/FollowUpList.vue index 26b2d552d..aeef8f702 100644 --- a/src/views/crm/followup/components/FollowUpList.vue +++ b/src/views/crm/followup/components/FollowUpList.vue @@ -32,10 +32,9 @@ 重置 - 添加{{ bizLabel }}记录 + 添加{{ bizLabel }} - {{ queryParams }} @@ -48,7 +47,7 @@ placement="top" > {{ bizLabel }}人:{{ item.creatorName }} - + 客户名称:{{ item.customer[0].name }} @@ -72,11 +71,11 @@ - {{ bizLabel }}方式: + {{ bizLabel }}方式:
- + 编辑 @@ -126,7 +125,7 @@ /> - +