|
|
|
@ -634,7 +634,50 @@ class CustomerStore {
|
|
|
|
eurusdSummary.key = '欧美4国';
|
|
|
|
eurusdSummary.key = '欧美4国';
|
|
|
|
eurusdSummary.country = '欧美4国';
|
|
|
|
eurusdSummary.country = '欧美4国';
|
|
|
|
|
|
|
|
|
|
|
|
this.sales_regular_data.countrySummary = [aseanSummary, eurusdSummary];
|
|
|
|
// 西班牙语国家/地区
|
|
|
|
|
|
|
|
const esLgc = ['阿根廷','玻利维亚','智利','哥伦比亚','哥斯达黎加','古巴','多米尼加共和国','厄瓜多尔','萨尔瓦多','赤道几内亚','危地马拉','洪都拉斯','墨西哥','尼加拉瓜','巴拿马','巴拉圭','秘鲁','波多黎各','西班牙','乌拉圭','委内瑞拉'];
|
|
|
|
|
|
|
|
const [esLgc1, esLgc2] = [
|
|
|
|
|
|
|
|
pivot1.filter((ele) => esLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
pivot2.filter((ele) => esLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
const esLgcSummary = calcSummaryRow(esLgc1, esLgc2);
|
|
|
|
|
|
|
|
esLgcSummary.key = '西班牙语国家/地区';
|
|
|
|
|
|
|
|
esLgcSummary.country = '西班牙语国家/地区';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 意大利语国家/地区
|
|
|
|
|
|
|
|
const itLgc = ['意大利','圣马力诺','梵蒂冈','瑞士',];
|
|
|
|
|
|
|
|
const [itLgc1, itLgc2] = [
|
|
|
|
|
|
|
|
pivot1.filter((ele) => itLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
pivot2.filter((ele) => itLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
const itLgcSummary = calcSummaryRow(itLgc1, itLgc2);
|
|
|
|
|
|
|
|
itLgcSummary.key = '意大利语国家/地区';
|
|
|
|
|
|
|
|
itLgcSummary.country = '意大利语国家/地区';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 德语国家/地区
|
|
|
|
|
|
|
|
const deLgc = ['德国','奥地利','瑞士','列支敦士登','卢森堡','比利时',];
|
|
|
|
|
|
|
|
const [deLgc1, deLgc2] = [
|
|
|
|
|
|
|
|
pivot1.filter((ele) => deLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
pivot2.filter((ele) => deLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
const deLgcSummary = calcSummaryRow(deLgc1, deLgc2);
|
|
|
|
|
|
|
|
deLgcSummary.key = '德语国家/地区';
|
|
|
|
|
|
|
|
deLgcSummary.country = '德语国家/地区';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 葡萄牙语国家
|
|
|
|
|
|
|
|
const ptLgc = ['葡萄牙','巴西','安哥拉','莫桑比克','几内亚比绍','佛得角','圣多美和普林西比','东帝汶',];
|
|
|
|
|
|
|
|
const [ptLgc1, ptLgc2] = [
|
|
|
|
|
|
|
|
pivot1.filter((ele) => ptLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
pivot2.filter((ele) => ptLgc.includes(ele.country)),
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
const ptLgcSummary = calcSummaryRow(ptLgc1, ptLgc2);
|
|
|
|
|
|
|
|
ptLgcSummary.key = '葡萄牙语国家/地区';
|
|
|
|
|
|
|
|
ptLgcSummary.country = '葡萄牙语国家/地区';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.sales_regular_data.countrySummary = [
|
|
|
|
|
|
|
|
aseanSummary, eurusdSummary,
|
|
|
|
|
|
|
|
esLgcSummary, itLgcSummary, deLgcSummary, ptLgcSummary,
|
|
|
|
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (pivotRow === 'destinations') {
|
|
|
|
if (pivotRow === 'destinations') {
|
|
|
|
const city1 = ['昆明','大理','丽江','中甸','德钦','西双版纳','普洱','泸沽湖','腾冲'];
|
|
|
|
const city1 = ['昆明','大理','丽江','中甸','德钦','西双版纳','普洱','泸沽湖','腾冲'];
|
|
|
|
|