报价回复率添加鼠标移动上显示具体数字

网页路径添加已成行筛选
feature/2.0-sales-trade
尹诚诚 3 years ago
parent 2be0264d1e
commit d7ecbda831

@ -158,6 +158,9 @@ class OrdersStore {
getOrderCountByType_sub(ordertype, ordertype_sub, sub_type) {
const date_picker_store = this.rootStore.date_picker_store;
let url = "/service-web/QueryData/GetOrderCountByType_Sub";
if (sub_type=='page_cxstate1'){ //统计成行订单的路径
sub_type='page&cxstate=1'
}
url += `?WebCode=${this.webcode}&OrderType=${ordertype}&OrderType_val=${ordertype_sub}&SubOrderType=${sub_type}` + "&IncludeTickets=" + this.include_tickets;
url += "&COLI_ApplyDate1=" + date_picker_store.start_date.format(config.DATE_FORMAT) + "&COLI_ApplyDate2=" + date_picker_store.end_date.format(config.DATE_FORMAT) + "%2023:59:59";
if (date_picker_store.start_date_cp && date_picker_store.end_date_cp) {

@ -210,47 +210,47 @@ class SaleStore {
},
{
title: "首次回复率",
children: [{ title: "", dataIndex: "firstReplayRate" }],
children: [{ title: "", dataIndex: "firstReplayRate", render: (text, record) => <span title={record.firstReplay + "回复数/" + record.OrderCount + "总订单"}>{text}</span> }],
sorter: (a, b) => parseInt(b.firstReplayRate) - parseInt(a.firstReplayRate),
},
{
title: "一次报价率",
children: [{ title: '', dataIndex: "FirstQuotationRate" }],
sorter: (a, b) => b.FirstQuotationRate - a.FirstQuotationRate,
children: [{ title: "", dataIndex: "FirstQuotationRate", render: (text, record) => <span title={record.FirstQuotation + "一次报价数/" + record.OrderCount + "总订单"}>{text}</span> }],
sorter: (a, b) => parseInt(b.FirstQuotationRate) - parseInt(a.FirstQuotationRate),
},
{
title: "一次报价回复率",
children: [{ title: '', dataIndex: "FirstQuotationReplayRate" }],
sorter: (a, b) => b.FirstQuotationReplayRate - a.FirstQuotationReplayRate,
children: [{ title: "", dataIndex: "FirstQuotationReplayRate", render: (text, record) => <span title={record.FirstQuotationReplay + "一次报价回复数/" + record.FirstQuotation + "一次报价数"}>{text}</span> }],
sorter: (a, b) => parseInt(b.FirstQuotationReplayRate) - parseInt(a.FirstQuotationReplayRate),
},
{
title: "一次报价回复周期",
children: [{ title: '', dataIndex: "FirstQuotationReplaytimeAVG" }],
children: [{ title: "", dataIndex: "FirstQuotationReplaytimeAVG" }],
sorter: (a, b) => b.FirstQuotationReplaytimeAVG - a.FirstQuotationReplaytimeAVG,
},
{
title: "二次报价率",
children: [{ title: '', dataIndex: "SecondQuotationRate" }],
sorter: (a, b) => b.SecondQuotationRate - a.SecondQuotationRate,
children: [{ title: "", dataIndex: "SecondQuotationRate", render: (text, record) => <span title={record.SecondQuotation + "二次报价数/" + record.FirstQuotationReplay + "一次报价回复数"}>{text}</span> }],
sorter: (a, b) => parseInt(b.SecondQuotationRate) - parseInt(a.SecondQuotationRate),
},
{
title: "二次报价回复率",
children: [{ title: '', dataIndex: "SecondQuotationReplayRate" }],
sorter: (a, b) => b.SecondQuotationReplayRate - a.SecondQuotationReplayRate,
children: [{ title: "", dataIndex: "SecondQuotationReplayRate", render: (text, record) => <span title={record.SecondQuotation + "二次报价数/" + record.SecondQuotationReplay + "二次报价回复"}>{text}</span> }],
sorter: (a, b) => parseInt(b.SecondQuotationReplayRate) - parseInt(a.SecondQuotationReplayRate),
},
{
title: "二次报价回复周期",
children: [{ title: '', dataIndex: "SecondQuotationReplaytimeAVG" }],
children: [{ title: "", dataIndex: "SecondQuotationReplaytimeAVG" }],
sorter: (a, b) => b.SecondQuotationReplaytimeAVG - a.SecondQuotationReplaytimeAVG,
},
{
title: "成团率",
children: [{ title: '', dataIndex: "COLI_SuccessRate" }],
sorter: (a, b) => b.COLI_SuccessRate - a.COLI_SuccessRate,
children: [{ title: "", dataIndex: "COLI_SuccessRate" }],
sorter: (a, b) => parseInt(b.COLI_SuccessRate) - parseInt(a.COLI_SuccessRate),
},
{
title: "成团周期",
children: [{ title: '', dataIndex: "COLI_ConfirmTimeAVG" }],
children: [{ title: "", dataIndex: "COLI_ConfirmTimeAVG" }],
sorter: (a, b) => b.COLI_ConfirmTimeAVG - a.COLI_ConfirmTimeAVG,
},
];

@ -259,6 +259,26 @@ const Orders_sub = () => {
<Table dataSource={table_data_p.dataSource} rowKey={record => record.key} columns={table_data_p.columns} size="small" />
</Col>
<Col span={24}>
{date_picker_store.start_date_cp ? date_picker_store.start_date_cp.format(config.DATE_FORMAT) + "~" + date_picker_store.end_date_cp.format(config.DATE_FORMAT) : ""}
<Table dataSource={table_data2_p.dataSource} rowKey={record => record.key} columns={table_data2_p.columns} size="small" />
</Col>
</Row>
</Tabs.TabPane>
<Tabs.TabPane
tab={
<span>
<ContainerOutlined />
访问路径成行
</span>
}
key="page_cxstate1">
<Row>
<Col span={24}>
{date_picker_store.start_date.format(config.DATE_FORMAT)}~{date_picker_store.end_date.format(config.DATE_FORMAT)}
<Table dataSource={table_data_p.dataSource} rowKey={record => record.key} columns={table_data_p.columns} size="small" />
</Col>
<Col span={24}>
{date_picker_store.start_date_cp ? date_picker_store.start_date_cp.format(config.DATE_FORMAT) + "~" + date_picker_store.end_date_cp.format(config.DATE_FORMAT) : ""}
<Table dataSource={table_data2_p.dataSource} rowKey={record => record.key} columns={table_data2_p.columns} size="small" />

Loading…
Cancel
Save