|
@@ -3,12 +3,12 @@ import ChartModule from '@/components/ManagementPage/chartModule';
|
|
import PageContent from '@/components/PageContent';
|
|
import PageContent from '@/components/PageContent';
|
|
import PageTitle from '@/components/PageTitle';
|
|
import PageTitle from '@/components/PageTitle';
|
|
import { getComparisonData } from '@/services/OperationManagement';
|
|
import { getComparisonData } from '@/services/OperationManagement';
|
|
|
|
+import { UnityAction } from '@/utils/utils';
|
|
import { useParams } from '@umijs/max';
|
|
import { useParams } from '@umijs/max';
|
|
import { message } from 'antd';
|
|
import { message } from 'antd';
|
|
import dayjs from 'dayjs';
|
|
import dayjs from 'dayjs';
|
|
import { useEffect, useState } from 'react';
|
|
import { useEffect, useState } from 'react';
|
|
import styles from './manage.less';
|
|
import styles from './manage.less';
|
|
-import { UnityAction } from '@/utils/utils';
|
|
|
|
|
|
|
|
const typeParams = [
|
|
const typeParams = [
|
|
{
|
|
{
|
|
@@ -236,7 +236,6 @@ const CostComparison = () => {
|
|
</PageTitle>
|
|
</PageTitle>
|
|
|
|
|
|
<div className="card-box" style={{ padding: 20, marginTop: 40 }}>
|
|
<div className="card-box" style={{ padding: 20, marginTop: 40 }}>
|
|
-
|
|
|
|
<div className={styles.curEnergyCost}>
|
|
<div className={styles.curEnergyCost}>
|
|
<div className={styles.item}>
|
|
<div className={styles.item}>
|
|
<div className={styles.value}>
|
|
<div className={styles.value}>
|
|
@@ -256,17 +255,18 @@ const CostComparison = () => {
|
|
{chartData.length !== 0 && (
|
|
{chartData.length !== 0 && (
|
|
<div
|
|
<div
|
|
style={{
|
|
style={{
|
|
- height: '800px',
|
|
|
|
|
|
+ height: '920px',
|
|
display: 'flex',
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
flexDirection: 'column',
|
|
- justifyContent: 'space-evenly',
|
|
|
|
|
|
+ justifyContent: 'space-between',
|
|
|
|
+ padding: '60px 0 40px',
|
|
}}
|
|
}}
|
|
>
|
|
>
|
|
- <div style={{ height: '300px' }}>
|
|
|
|
|
|
+ <div style={{ height: '350px' }}>
|
|
<ChartModule {...chartData[0]} />
|
|
<ChartModule {...chartData[0]} />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div style={{ height: '300px' }}>
|
|
|
|
|
|
+ <div style={{ height: '350px' }}>
|
|
<ChartModule {...chartData[1]} />
|
|
<ChartModule {...chartData[1]} />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|