feat: 统计分布: +客人国籍

feature/person-num
Lei OT 2 years ago
parent 3198226430
commit 9d2d04cdc5

@ -65,6 +65,7 @@ export default observer((props) => {
},];
const MixConfig = {
appendPadding: 15,
height: 600,
syncViewPadding: true,
tooltip: {
shared: true,
@ -99,6 +100,12 @@ export default observer((props) => {
max: calcAxis,
title: { text: '团数', autoRotate: false, position: 'end' },
},
xAxis: {
label: {
autoHide: false,
autoRotate: true,
},
},
label: false,
},
},

@ -13,6 +13,7 @@ const modelMapper = {
'destination': { url: '/service-Analyse2/GetTradeApartByDestination', keySort: false },
'GlobalDestination': { url: '/service-Analyse2/GetTradeApartByGlobalDestination', keySort: false },
'destinationCountry': { url: '/service-Analyse2/GetTradeApartByDestinationCountry', keySort: false },
'guestCountry': { url: '/service-Analyse2/GetTradeApartByGuestCountry', keySort: false },
};
class Distribution {
constructor(appStore) {
@ -83,6 +84,7 @@ class Distribution {
this.destination = { loading: false, dataSource: [] };
this.GlobalDestination = { loading: false, dataSource: [] };
this.destinationCountry = { loading: false, dataSource: [] };
this.guestCountry = { loading: false, dataSource: [] };
};
curTab = 'tourDays';
@ -114,6 +116,7 @@ class Distribution {
destination = { loading: false, dataSource: [] };
GlobalDestination = { loading: false, dataSource: [] };
destinationCountry = { loading: false, dataSource: [] };
guestCountry = { loading: false, dataSource: [] };
}
/**

@ -21,7 +21,8 @@ const apartOptions = [
{ key: 'PersonNum', value: 'PersonNum', label: '人等' },
{ key: 'destination', value: 'destination', label: '国内目的地' },
{ key: 'GlobalDestination', value: 'GlobalDestination', label: '海外目的地' },
{ key: 'destinationCountry', value: 'GlobalDestination', label: '目的地国籍' },
{ key: 'destinationCountry', value: 'destinationCountry', label: '目的地国籍' },
{ key: 'guestCountry', value: 'guestCountry', label: '客人国籍' },
];
export default observer(() => {

Loading…
Cancel
Save