fix bug
This commit is contained in:
@ -39,9 +39,9 @@ export class DatatableOwnerComponent implements OnInit {
|
|||||||
{ title: '合伙人', index: 'partnerName', className: 'text-center', width: '100px' },
|
{ title: '合伙人', index: 'partnerName', className: 'text-center', width: '100px' },
|
||||||
{ title: '客户状态', index: 'customerStatus', className: 'text-center', width: '100px', type: 'enum', enum: {
|
{ title: '客户状态', index: 'customerStatus', className: 'text-center', width: '100px', type: 'enum', enum: {
|
||||||
1: '未激活',
|
1: '未激活',
|
||||||
2: '沉默',
|
2: '流失',
|
||||||
3: '流失',
|
3: '活跃',
|
||||||
4: '活跃'
|
4: '沉默'
|
||||||
} },
|
} },
|
||||||
{ title: '订单数', index: 'zsl', className: 'text-center', width: '100px' },
|
{ 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 }) } },
|
{ 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: [
|
enum: [
|
||||||
{label: '未激活', value: 1},
|
{label: '未激活', value: 1},
|
||||||
{label: '沉默', value: 2},
|
{label: '流失', value: 2},
|
||||||
{label: '流失', value: 3},
|
{label: '活跃', value: 3},
|
||||||
{label: '活跃', value: 4},
|
{label: '沉默', value: 4},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
registerTime: {
|
registerTime: {
|
||||||
|
|||||||
@ -93,6 +93,15 @@ export class DataService extends BaseService {
|
|||||||
// 业务员-合规报表
|
// 业务员-合规报表
|
||||||
$api_listPartComplianceReportPage = `/api/sdc/report/listPartComplianceReportPage`;
|
$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) {
|
constructor(public injector: Injector) {
|
||||||
|
|||||||
Reference in New Issue
Block a user