Revert "perf: 数据透视: + 预定的出发日期"

This reverts commit 16b08311fa.
main
Lei OT 1 month ago
parent baae505831
commit 73e1dcdb4c

@ -299,7 +299,6 @@ export const pivotBy = (_data, [rows, columns, date]) => {
// const max_RTXF_WB = Math.max(...RTXF_WB_values); // const max_RTXF_WB = Math.max(...RTXF_WB_values);
const RTXF_WB_range = calculateRangeScale(RTXF_WB_values); const RTXF_WB_range = calculateRangeScale(RTXF_WB_values);
let data = cloneDeep(_data).map(ele => { let data = cloneDeep(_data).map(ele => {
ele.OrderStartMonth = ele.OrderStartDate ? moment(ele.OrderStartDate).format('MM') : '';
ele.startYearMonth = ele.startDate ? moment(ele.startDate).format('YYYY-MM') : ''; ele.startYearMonth = ele.startDate ? moment(ele.startDate).format('YYYY-MM') : '';
ele.startMonth = ele.startDate ? moment(ele.startDate).format('MM') : ''; ele.startMonth = ele.startDate ? moment(ele.startDate).format('MM') : '';
ele.applyYearMonth = ele.applyDate ? moment(ele.applyDate).format('YYYY-MM') : ''; ele.applyYearMonth = ele.applyDate ? moment(ele.applyDate).format('YYYY-MM') : '';

@ -21,7 +21,6 @@ const filterFields = [
{ key: 'COLI_LineClass', label: '页面渠道' }, { key: 'COLI_LineClass', label: '页面渠道' },
{ key: 'guestGroupType', label: '客群类别' }, { key: 'guestGroupType', label: '客群类别' },
{ key: 'travelMotivation', label: '出行目的' }, { key: 'travelMotivation', label: '出行目的' },
{ key: 'OrderStartMonth', label: '出行日期(期望)-月份' },
{ key: 'startMonth', label: '出行日期-月份' }, { key: 'startMonth', label: '出行日期-月份' },
{ key: 'startYearMonth', label: '出行日期-年月' }, { key: 'startYearMonth', label: '出行日期-年月' },
{ key: 'applyMonth', label: '预订日期-月份' }, { key: 'applyMonth', label: '预订日期-月份' },

Loading…
Cancel
Save