You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

138 lines
6.4 KiB

import { defHttp } from '/@/utils/http/axios'
import { PageResultModel } from '/@/api/model/baseModel'
export const getCluePage = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-clue-pool/by/clue-team',
params,
})
export const getClueList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/allocated-dating-clue-pool/by/clue-team',
params,
})
export const getCluePool = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/own-dating-clue-pool/by/clue-team',
params,
})
export const getClueFollow = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/own-allocated-dating-clue-pool/by/clue-team',
params,
})
export const createClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-clue', params })
export const editClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/edit/dating-clue', params })
export const importClueRecord = (params: any) => defHttp.post({ url: '/dating-clue-service/user/import/dating-clue', params })
export const allocateCluing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/batch-allocate/dating-clue/verifier', params })
export const getClueInfo = (id: string) => defHttp.get<any>({ url: '/dating-clue-service/user/get/dating-clue-detail', params: { id } })
export const recordClueing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-clue-follow-record', params })
export const getClueRecord = (id: string) => defHttp.get<any>({ url: '/dating-clue-service/user/list/dating-clue-follow-record', params: { id }})
export const deleteCluingList = (params: any) => defHttp.post({ url: '/dating-clue-service/user/batch-delete/dating-clue', params })
export const receiveCluing = (params: any) => defHttp.post({ url: '/dating-clue-service/user/collect/dating-clue-public-pool', params })
export const getInvitationPage = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-clue-pool/by/telephone-invitation-team',
params,
})
export const getInvitationList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/allocated-dating-clue-pool/by/telephone-invitation-team',
params,
})
export const getMyInvitationList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/own-dating-clue-pool/by/telephone-invitation-team',
params,
})
export const getSeasList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-clue-public-pool/by/telephone-invitation-team',
params,
})
export const getStoreTeam = (params: any) => defHttp.get<any>({ url: '/dating-agency-uec/user/list/dating-store-team', params})
export const getAppointmentList = (params: any) => defHttp.get<any>({ url: '/dating-clue-service/user/list/dating-store-appointment', params})
export const createAppointment = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-store-appointment/by-telemarketer', params })
export const editAppointment = (params: any) => defHttp.post({ url: '/dating-clue-service/user/edit/dating-store-appointment/by-telemarketer', params })
export const evaluateService = (params: any) => defHttp.post({ url: '/dating-clue-service/user/evaluate/custom-service', params })
export const getContractList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-agency-mall/user/page/customized-service-contract/by/dating-store-team',
params,
})
export const getTaskList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-store-customer-task/by/dating-store',
params,
})
export const getClientList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-store-customer/by/dating-store',
params,
})
export const allocationTask = (params: any) => defHttp.post({ url: '/dating-clue-service/user/allocate/dating-store-customer/service-matchmaker', params })
export const reportTask = (params: any) => defHttp.post({ url: '/dating-clue-service/user/delivery/dating-store-customer-task-item', params })
export const finishTask = (params: any) => defHttp.post({ url: '/dating-clue-service/user/operate/dating-store-customer-task', params })
export const getTaskItems = (params: any) => defHttp.get<any>({ url: '/dating-clue-service/user/list/dating-store-customer-task-item', params})
export const signCustomer = (params: any) => defHttp.post({ url: '/dating-clue-service/user/sign/dating-store-customer', params })
export const resignCustomer = (params: any) => defHttp.post({ url: '/dating-clue-service/user/renew/dating-store-customer', params })
export const getStoreAppointmentList = (params: any) =>
defHttp.get<PageResultModel<any>>({
url: '/dating-clue-service/user/page/dating-store-appointment/by/dating-store-team',
params,
})
export const allocationSaler = (params: any) => defHttp.post({ url: '/dating-clue-service/user/allocate/dating-store-appointment/by-dating-store', params })
export const appointmentCustomer = (params: any) => defHttp.post({ url: '/dating-clue-service/user/change/dating-store-appointment-time/by-dating-store', params })
export const remarkCustomer = (params: any) => defHttp.post({ url: '/dating-clue-service/user/create/dating-store-appointment-record', params })
export const getContractInfo = (params: any) => defHttp.get<any>({ url: '/dating-agency-mall/user/get/customized-service-contract/by/dating-store-customer', params})
export const getPaymentInfo = (params: any) => defHttp.get<any>({ url: '/dating-agency-mall/user/get/payment-order/by/dating-store-customer', params})
export const getCustomerInfo = (params: any) => defHttp.get<any>({ url: '/dating-clue-service/user/get/dating-store-customer/detail', params})
export const editCustomerInfo = (params: any) => defHttp.post({ url: '/dating-clue-service/user/edit/dating-store-customer', params })
export const getDemandInfo = (params: any) => defHttp.get<any>({ url: '/dating-clue-service/user/get/dating-store-customer-demand/detail', params})
export const editDemandInfo = (params: any) => defHttp.post({ url: '/dating-clue-service/user/edit/dating-store-customer-demand', params })