123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477 |
- import http from "@/api/http.js"
- /* 数据报表模块 */
- const dataMainInterface = {
- /* 工作台 */
- workdata: params => {
- return http.get('/statistic_report/home')
- },
- /**
- * 获取即将过期的客户列表接口
- * @param {PageSize } params
- * @param {CurrentIndex } params
- * @param {EndDate } params 结束日期
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @returns
- */
- expireList:params => {
- return http.get('/statistic_report/will_expire_list',params);
- },
- /**
- * 获取存量客户列表接口
- * @param {PageSize } params
- * @param {CurrentIndex } params
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @param {Date} params
- * @param {DataType} params
- * @returns
- */
- stackList:params => {
- return http.get('/statistic_report/stack_company_list',params);
- },
- raiStackList:params => {
- return http.get('/statistic_report/stack_company_list_rai',params);
- },
- /**
- * 获取增量客户列表接口
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {EndDate} params 结束日期
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @param {StartDate} params
- * @param {DataType} params
- * @param {IsConfirm} params 是否确认续约: -1-默认全部; 0-待确认; 1-已确认
- * @param {CompanyAscribeId} params 归因Id
- * @returns
- */
- incrementalList:params => {
- return http.get('/statistic_report/incremental_company_list',params);
- },
- /**
- * 权益客户统计列表接口
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {EndDate} params 结束日期
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @param {StartDate} params
- * @param {DataType} params
- * @param {IsConfirm} params 是否确认续约: -1-默认全部; 0-待确认; 1-已确认
- * @param {CompanyAscribeId} params 归因Id
- * @returns
- */
- incrementalEquityList:params => {
- return http.get('/statistic_report/merge_company_list',params);
- },
- /**
- * 获取未续约备注列表
- * @param {CompanyId} params 公司ID
- * @param {ProductId} params 产品ID 1:FICC ,2权益
- * @returns
- */
- getNotRenewedRemarkList:params => {
- return http.get('/custom/company_no_renewed_note/list',params);
- },
- /**
- * 添加未续约备注
- * @param {CompanyId} params 公司ID
- * @param {ProductId} params 产品ID 1:FICC ,2权益
- * @param {Content} params 内容
- * @returns
- */
- addNotRenewedRemark:params => {
- return http.post('/custom/company_no_renewed_note/add',params);
- },
- /**
- * 获取归因列表
- * @param {KeyWord} params
- * @returns
- */
- getAscribList:params => {
- return http.get('/custom/company_ascribe/list',params);
- },
- /**
- * 新增归因
- * @param {KeyWord} params
- * @returns
- */
- addAscrib:params => {
- return http.post('/custom/company_ascribe/add',params);
- },
- /**
- * 合同通过归因添加确认不续约接口
- * @param {KeyWord} params
- * @returns
- */
- addAscribContract:params => {
- return http.post('/custom/company_contract_no_renewed_ascribe/add',params);
- },
- /**
- * 修改归因标签
- * @param {CompanyId} params 公司ID
- * @param {ProductId} params 产品ID 1:FICC ,2权益
- * @param {Content} params 内容
- * @param {CompanyAscribeId} params 归因Id
- * @returns
- */
- addNoRenewedAscribe:params => {
- return http.post('/custom/company_no_renewed_ascribe/add',params);
- },
- /**
- * 归因标签详情
- * @param {CompanyId} params 公司ID
- * @param {ProductId} params 产品ID 1:FICC ,2权益
- * @returns
- */
- infoNoRenewedAscribe:params => {
- return http.get('/custom/company_no_renewed_ascribe/detail',params);
- },
- /**
- * 合同确认归因不续约详情接口
- * @param {CompanyContractId} params 合同ID
- * @returns
- */
- contractInfoNoRenewedAscribe:params => {
- return http.get('/custom/company_contract_no_renewed_ascribe/detail',params);
- },
- /**
- * 获取收入统计列表接口
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {EndDate} params 结束日期
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @returns
- */
- incomeList:params => {
- return http.get('/statistic_report/income_list',params);
- },
- /**
- * 获取合同数据报表接口
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {EndDate} params 结束日期
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @returns
- */
- contractList:params => {
- return http.get('/statistic_report/contract_list',params);
- },
- /**
- * 获取企业客户的合同数据报表接口
- * @param {CompanyId } params
- * @returns
- */
- companyContractList:params => {
- return http.get('/statistic_report/company_contract_list',params);
- },
- // 系统合同类调此接口
- companyContractDetailList:params => {
- return http.get('/statistic_report/contract_detail_list',params);
- },
- // 客户数据未续约说明更多
- moreRenewReason:params => {
- return http.get('/statistic_report/more_renew_reason',params);
- },
- // 客户数据未续约说明更多
- mergeCompanyPreviousDetail:params => {
- return http.get('/statistic_report/merge_company_previous/detail',params);
- },
- // 客户数据未续约说明更多上一年
- mergeCompanyPreviousDetailYear:params => {
- return http.get('/statistic_report/merge_company_previous/last_year',params);
- },
- /**
- * // 获取图表阅读统计列表
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {ClassifyId} params 分类ID
- * @param {Order} params 排序
- * @returns
- */
- getchartCensusList:params => {
- return http.get('/yb/chartCensus/getVisitList',params);
- },
- /**
- * // 图表阅读统计详情列表
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {ClassifyId} params 分类ID
- * @param {Order} params 排序
- * @returns
- */
- getchartgetVisitDetailList:params => {
- return http.get('yb/chartCensus/getVisitDetailList',params);
- },
- /**
- * // 用户图表访问明细
- * @returns
- */
- getCompanyChartVisitDetail:params => {
- return http.get('yb/chartCensus/getCompanyChartVisitDetail',params);
- },
- /**
- * // 图库权限开通客户统计列表
- * @returns
- */
- getCompanyAuthCensusList:params => {
- return http.get('yb/chartCensus/getCompanyAuthCensusList',params);
- },
-
- /**新增客户统计
- * StartDate EndDate DataType
- * @return
- */
- newcustomStatistic: params => {
- return http.get('/statistic_report/report/incremental_company',params)
- },
- /**
- * 存量客户统计
- * Date
- * @return
- */
- stockcustomStatistic: params => {
- return http.get('/statistic_report/report/stack_company',params)
- },
- /**续约客户统计
- * StartDate 统计开始时间
- * EndDate 统计结束时间
- * DataType 统计范围类型
- * ProductId 项目类型 1 ficc 2 权益
- * @return
- */
- renewalCustomStatistic: params => {
- return http.get('/statistic_report/report/renew_company',params)
- },
- // 续约异常客户统计
- unusualRenewalCustomStatistic: params => {
- return http.get('/statistic_report/report/unusual_renew_company',params)
- },
- //续约异常客户统计图表数据
- unusualRenewalCustomStatisticChartData:params=>{
- return http.get('/statistic_report/report/unusual_renew_company/chart',params)
- },
- /**
- * 新增客户列表
- * @param {} params PageSize CurrentIndex SortParam SortType CompanyIds
- * @return
- */
- newcustomList: params => {
- return http.post('/statistic_report/report/company_list',params)
- },
- /**
- * 销售To do统计
- * DataType ProductId StartDate EndDate
- * @return
- */
- todoStatistic: params => {
- return http.get('/statistic_report/report/seller_company_todo',params)
- },
- /**
- * 语音播报统计
- * @param SectionId 板块id
- * @param VarietyId 品种id
- * @param AdminId 语音管理员id
- * @param ClickSort 排序 1升序 2降序
- * @param Title 搜索关键词
- */
- voicePlayStatistic:params=>{
- return http.get('/yb/voice/broadcast/list',params)
- },
- /**
- * 语音播报详情
- * @param BroadcastId
- */
- voicePlayDetailSta:params=>{
- return http.get('/yb/voice/broadcast/deatil',params)
- },
- /**
- * 价格驱动点击量-列表
- */
- priceDrivenStatisticsList:params=>{
- return http.get('/yb/price_driven/click_census_list',params)
- },
- /**
- * 价格驱动点击量-详情
- */
- priceDrivenStatisticsDetail:params=>{
- return http.get('/yb/price_driven/click_census_detail',params)
- },
- //ficc产品阅读统计
- ficcProductStatistic:params=>{
- return http.get('/statistic_report/report/seller_yb_log',params)
- },
- /**
- * 分产品阅读客户统计-- 新增客户列表
- * @param {} params PageSize CurrentIndex SortParam SortType SellerIds ProductId ProductType StartDate EndDate CompanyStatus
- * @return
- */
- newCustomProductionList: params => {
- return http.post('/statistic_report/report/seller_yb_log/user',params)
- },
- /**
- * 分产品阅读统计 -- 收藏统计
- * @param Datatype
- */
- collectStatistic:params=>{
- return http.get('/statistic_report/report/seller_collect_log',params)
- },
- /**
- * 分产品阅读统计 -- 收藏统计用户详情
- * @param Datatype
- */
- collectStatisticList:params=>{
- return http.post('/statistic_report/report/seller_collect_log/user',params)
- },
- /**
- * 分产品阅读统计 -- 收藏详情详情
- * @param CollectionType
- */
- collectDetailList:params=>{
- return http.post('/statistic_report/report/seller_collect_log/detail',params)
- },
- /**
- * 分产品阅读统计 -- 图收藏统计
- * @param Datatype
- */
- chartStatistic:params=>{
- return http.get('/statistic_report/report/seller_chart_collect_log',params)
- },
- /**
- * 分产品阅读统计 -- 图收藏统计用户详情
- * @param Datatype
- */
- chartStatisticList:params=>{
- return http.post('/statistic_report/report/seller_chart_collect_log/user',params)
- },
- /**
- * 分产品阅读统计 -- 图收藏详情列表
- * @param CollectionType
- */
- chartDetailList:params=>{
- return http.post('/statistic_report/report/seller_chart_collect_log/detail',params)
- },
- /**
- * 权益客户统计列表接口
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {EndDate} params 结束日期
- * @param {CompanyType} params
- * @param {AdminId } params 销售id,多个用英文逗号隔开,空字符串为全部
- * @param {RegionType } params
- * @param {StartDate} params
- * @param {DataType} params
- * @param {IsConfirm} params 是否确认续约: -1-默认全部; 0-待确认; 1-已确认
- * @param {CompanyAscribeId} params 归因Id
- * @returns
- */
- incrementalCompanyContractPermissionList:params => {
- return http.get('/statistic_report/merge_company/company_contract_permission/list',params);
- },
- /**
- * 权益客户续约率统计
- * @param {PageSize} params
- * @param {CurrentIndex} params
- * @param {EndDate} params 结束日期
- * @param {StartDate} params 开始日期
- * @param {ContractDataType} params 到期合同
- * @param {AdminId} params 销售id
- * @returns
- */
- incrementalCompanyContractPercentageList:params => {
- return http.get('/statistic_report/merge_company/company_contract_percentage/list',params);
- },
- incrementalCompanyContractPercentageListV2:params => {
- return http.get('/statistic_report/merge_company/company_contract_percentage/listV2',params);
- },
- /**
- * 权益客户续约率统计所能查询的年份
- * @returns
- */
- incrementalCompanyContractGetYearList:params => {
- return http.get('/statistic_report/merge_company/get_year_list',params);
- },
- /**
- * 权益服务统计列表接口
- * @returns
- */
- getRaiServeList:params => {
- return http.get('/cygx/rai_serve/list',params);
- },
- /**
- * 标签搜索接口
- * @returns
- */
- getRaiServeSearchTag:params => {
- return http.get('/cygx/rai_serve/search_tag',params);
- },
- /**
- * 近四周覆盖率
- * @returns
- */
- getRaiServeCoverageRate:params => {
- return http.get('/cygx/rai_serve/coverage_rate',params);
- },
- /**
- * 明细列表接口
- * @returns
- */
- getRaiServeBillList:params => {
- return http.get('/cygx/rai_serve/bill_list',params);
- },
- /**
- * 服务类型列表接口
- * @returns
- */
- getRaiServeTypeList:params => {
- return http.get('/cygx/rai_serve/type_list',params);
- },
- /**
- * 获取权益服务组销售列表
- * @returns
- */
- getRaiServeCustomSellerList:params => {
- return http.get('/custom/seller/rai_serve/list',params);
- },
- /**
- * 历史备注列表
- * @returns
- */
- getRaiServeRemarkList:params => {
- return http.get('/cygx/rai_serve/remark/list',params);
- },
- /**
- * 新增历史备注
- * @returns
- */
- getRaiServeRemarkAdd:params => {
- return http.post('/cygx/rai_serve/remark/add',params);
- },
- }
- export {
- dataMainInterface
- }
|