diff --git a/src/app/routes/datatable/components/customtable/owner/owner.component.ts b/src/app/routes/datatable/components/customtable/owner/owner.component.ts index f9660833..54549d42 100644 --- a/src/app/routes/datatable/components/customtable/owner/owner.component.ts +++ b/src/app/routes/datatable/components/customtable/owner/owner.component.ts @@ -39,9 +39,9 @@ export class DatatableOwnerComponent implements OnInit { { title: '合伙人', index: 'partnerName', className: 'text-center', width: '100px' }, { title: '客户状态', index: 'customerStatus', className: 'text-center', width: '100px', type: 'enum', enum: { 1: '未激活', - 2: '沉默', - 3: '流失', - 4: '活跃' + 2: '流失', + 3: '活跃', + 4: '沉默' } }, { title: '订单数', index: 'zsl', className: 'text-center', width: '100px' }, { title: '订单金额', index: 'ddje', className: 'text-right', width: '100px', type: 'widget', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ddje }) } }, @@ -117,9 +117,9 @@ export class DatatableOwnerComponent implements OnInit { }, enum: [ {label: '未激活', value: 1}, - {label: '沉默', value: 2}, - {label: '流失', value: 3}, - {label: '活跃', value: 4}, + {label: '流失', value: 2}, + {label: '活跃', value: 3}, + {label: '沉默', value: 4}, ] }, registerTime: { diff --git a/src/app/routes/datatable/services/data.service.ts b/src/app/routes/datatable/services/data.service.ts index a75ff652..609ed1b6 100644 --- a/src/app/routes/datatable/services/data.service.ts +++ b/src/app/routes/datatable/services/data.service.ts @@ -93,6 +93,15 @@ export class DataService extends BaseService { // 业务员-合规报表 $api_listPartComplianceReportPage = `/api/sdc/report/listPartComplianceReportPage`; + // 数据报表-订单类型比例 + $api_getBillTypeProportion = `/api/sdc/reportData/getBillTypeProportion`; + // 数据报表-运单直付比例 + $api_getWayBillDirectProportion = `/api/sdc/reportData/getWayBillDirectProportion`; + // 数据报表-统计订单金额-趋势 + $api_getBillAmount = `/api/sdc/reportData/getBillAmount`; + // // 数据报表-统计订单金额-趋势 + // $api_getBillAmount = `/api/sdc/reportData/getBillAmount`; + constructor(public injector: Injector) {