diff --git a/src/api/bpm/model/index.ts b/src/api/bpm/model/index.ts index fea5ecf0..d0547207 100644 --- a/src/api/bpm/model/index.ts +++ b/src/api/bpm/model/index.ts @@ -32,9 +32,11 @@ export const getModelPage = async (params) => { export const getModel = async (id: number) => { return await request.get({ url: '/bpm/model/get?id=' + id }) } + export const getModelByKey = async (key: string) => { return await request.get({ url: '/bpm/model/get-by-key?key=' + key }) } + export const updateModel = async (data: ModelVO) => { return await request.put({ url: '/bpm/model/update', data: data }) } diff --git a/src/api/crm/bi/ranking.ts b/src/api/crm/bi/ranking.ts index 53c09e63..aa0b7fdb 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 type: string 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 @@ +