From ff84ef64a58ef604221aa580c34271d9647dfc5f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 1 Feb 2024 13:38:14 +0800 Subject: [PATCH] =?UTF-8?q?CRM=EF=BC=9A=E5=90=88=E5=90=8C=E7=9A=84=20code?= =?UTF-8?q?=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 956f19d9d08930f2617ca76a96e841e86b7a9e91) --- src/api/crm/bi/ranking.ts | 2 + src/api/crm/business/index.ts | 1 + src/api/crm/contract/index.ts | 1 + src/components/Table/src/TableSelectForm.vue | 1 + src/views/crm/backlog/index.vue | 2 +- src/views/crm/bi/ranking/index.vue | 5 ++- src/views/crm/contact/detail/index.vue | 12 +++--- src/views/crm/contract/ContractForm.vue | 42 ++++++++++++------- .../crm/contract/components/ProductList.vue | 16 ++++++- .../contract/detail/ContractDetailsHeader.vue | 1 + .../contract/detail/ContractDetailsInfo.vue | 1 + src/views/crm/contract/detail/index.vue | 11 ++++- .../crm/contract/oa/ContractDetail/index.vue | 1 + src/views/crm/customer/CustomerImportForm.vue | 3 +- src/views/crm/customer/index.vue | 4 ++ 15 files changed, 75 insertions(+), 28 deletions(-) diff --git a/src/api/crm/bi/ranking.ts b/src/api/crm/bi/ranking.ts index f68c2dd0..d45d6995 100644 --- a/src/api/crm/bi/ranking.ts +++ b/src/api/crm/bi/ranking.ts @@ -5,11 +5,13 @@ export interface BiContractRanKingRespVO { nickname: string deptName: string } + export interface BiReceivablesRanKingRespVO { price: number nickname: string deptName: string } + export interface BiRankReqVO { deptId: number orderDate: Date[] diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts index 314eb389..79568dec 100644 --- a/src/api/crm/business/index.ts +++ b/src/api/crm/business/index.ts @@ -73,6 +73,7 @@ export const getBusinessListByIds = async (val: number[]) => { } // 商机转移 +// TODO @puhui999:transferBusiness export const transfer = async (data: TransferReqVO) => { return await request.put({ url: '/crm/business/transfer', data }) } diff --git a/src/api/crm/contract/index.ts b/src/api/crm/contract/index.ts index 731750c1..58f63631 100644 --- a/src/api/crm/contract/index.ts +++ b/src/api/crm/contract/index.ts @@ -71,6 +71,7 @@ export const handleApprove = async (id: number) => { } // 合同转移 +// TODO @puhui999:transfer 相关方法,这块要补充下; export const transfer = async (data: TransferReqVO) => { return await request.put({ url: '/crm/contract/transfer', data }) } diff --git a/src/components/Table/src/TableSelectForm.vue b/src/components/Table/src/TableSelectForm.vue index 55b2855e..fde540cd 100644 --- a/src/components/Table/src/TableSelectForm.vue +++ b/src/components/Table/src/TableSelectForm.vue @@ -1,3 +1,4 @@ +