style: 年度对比

conf/amap
Lei OT 2 years ago
parent 77f9e67c08
commit c7e16af0aa

@ -24,6 +24,7 @@ const topSeries = [
{ key: 'GuestGroupType', value: 'GuestGroupType', label: '客群类别', graphVisible: false },
{ key: 'country', value: 'country', label: '国籍', graphVisible: true },
{ key: 'webcode', value: 'webcode', label: '站点', graphVisible: false },
{ key: 'bizarea', value: 'bizarea', label: '国境', graphVisible: false },
];
const allGroupTypes = [
@ -231,7 +232,7 @@ export default observer(() => {
<Radio.Group options={datePartOptions} optionType="button" onChange={handleChangeDateType} value={dateField} />
{searchValues.yearDiff && (
<Button type="link" size={'small'} onClick={() => setShowDiff(!showDiff)}>
{showDiff === false ? '显示对比' : '返回总额'}
{showDiff === false ? '显示对比' : '返回本期走势'}
</Button>
)}
</Space>

Loading…
Cancel
Save