From 322ce021e645785f35d8f70422eb65504b2aedad Mon Sep 17 00:00:00 2001 From: Lei OT Date: Thu, 25 Jul 2024 14:22:30 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=90=9C=E7=B4=A2=E7=BB=84=E4=BB=B6:?= =?UTF-8?q?=20=E7=AB=99=E7=82=B9=E6=9D=A5=E6=BA=90:=20+GH=20=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=90=84=E4=B8=AA=E7=AB=99=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/search/SiteSelect.jsx | 2 ++ src/libs/ht.js | 7 +++++++ src/views/DataPivot.jsx | 1 + 3 files changed, 10 insertions(+) diff --git a/src/components/search/SiteSelect.jsx b/src/components/search/SiteSelect.jsx index fd52f75..6616f46 100644 --- a/src/components/search/SiteSelect.jsx +++ b/src/components/search/SiteSelect.jsx @@ -34,6 +34,8 @@ class SiteSelect extends Component { maxTagCount={1} maxTagPlaceholder={(omittedValues) => ` +${omittedValues.length}...`} allowClear={_mode != null} + dropdownStyle={{height: '400px'}} + listHeight={400} {...extProps} > {_show_all===true ? 所有来源 : ''} diff --git a/src/libs/ht.js b/src/libs/ht.js index 77ebacd..d0e0cbb 100644 --- a/src/libs/ht.js +++ b/src/libs/ht.js @@ -73,18 +73,25 @@ export const sites = [ { value: '176', key: '176', label: 'GHToB 中国', code: 'GHTOBZG' }, { value: '11,12,20,21,10,18', key: '11,12,20,21,10,18', label: '国际(入境)', code: 'JP,VAC,IT,GM,RU,VC' }, { value: '122,200,211,100,188', key: '122,200,211,100,188', label: '国际(海外)', code: 'VACHW,ITHW,GMHW,RUHW,VCHW' }, + { value: '178,179,180,181,182,183', key: '178,179,180,181,182,183', label: '国际(GH)', code: 'gh_gm,gh_jp,gh_vc,gh_vac,gh_ru,gh_it'}, { value: '184', key: '184', label: '站外渠道', code: 'ZWQD' }, { value: '11', key: '11', label: '日语', code: 'JP' }, + { value: '179', key: '179', label: 'GH-日语', code: 'gh_jp'}, // www.globalhighlights.jp { value: '12', key: '12', label: '西语', code: 'VAC' }, { value: '122', key: '122', label: '西语海外', code: 'VACHW' }, + { value: '181', key: '181', label: 'GH-西语', code: 'gh_vac'}, // www.globalhighlights.es { value: '20', key: '20', label: '意大利', code: 'IT' }, { value: '200', key: '200', label: '意大利海外', code: 'ITHW' }, + { value: '183', key: '183', label: 'GH-意语', code: 'gh_it'}, // www.globalhighlights.it { value: '21', key: '21', label: '德语', code: 'GM' }, { value: '211', key: '211', label: '德语海外', code: 'GMHW' }, + { value: '178', key: '178', label: 'GH-德语', code: 'gh_gm'}, // wwww.globalhighlights.de { value: '10', key: '10', label: '俄语', code: 'RU' }, { value: '100', key: '100', label: '俄语海外', code: 'RUHW' }, + { value: '182', key: '182', label: 'GH-俄语', code: 'gh_ru'}, // www.globalhighlights.ru { value: '18', key: '18', label: '法语', code: 'VC' }, { value: '188', key: '188', label: '法语海外', code: 'VCHW' }, + { value: '180', key: '180', label: 'GH-法语', code: 'gh_vc'}, // www.globalhighlights.fr { value: '16', key: '16', label: 'CT', code: 'CT' }, { value: '30', key: '30', label: 'TP', code: 'trippest' }, { value: '31', key: '31', label: '花梨鹰', code: 'HLY' }, diff --git a/src/views/DataPivot.jsx b/src/views/DataPivot.jsx index 6ff59ae..9ede698 100644 --- a/src/views/DataPivot.jsx +++ b/src/views/DataPivot.jsx @@ -35,6 +35,7 @@ const filterFieldsMapped = filterFields.reduce((r, v) => ({ ...r, [v.key]: v }), /** 预设的选项, 只有行 */ const quickOptions = [ + { label: ' 来源站点 ', fields: [['WebCode'], []] }, { label: '[ 产品×客群 ]', fields: [['productType', 'guestGroupType'], []] }, { label: '[ 国籍×客群 ]', fields: [['country', 'guestGroupType'], []] }, { label: '[ 客群×目的地国籍 ]', fields: [['guestGroupType', 'destinationCountry_AsJOSN'], []] },