|
@@ -1,5 +1,7 @@
|
|
|
import ModuleTitle from '@/components/ManagementPage/moduleTitle';
|
|
|
+import PageContent from '@/components/PageContent';
|
|
|
import { queryWorkReport } from '@/services/smartReport';
|
|
|
+import { LeftOutlined } from '@ant-design/icons';
|
|
|
import { useNavigate, useParams, useRequest } from '@umijs/max';
|
|
|
import { ConfigProvider, DatePicker, Select, Spin } from 'antd';
|
|
|
import zhCN from 'antd/es/locale/zh_CN';
|
|
@@ -236,12 +238,22 @@ const SmartReport = () => {
|
|
|
setDate(date);
|
|
|
};
|
|
|
|
|
|
+ const handleOnClick = () => {
|
|
|
+ history.back();
|
|
|
+ };
|
|
|
+
|
|
|
return (
|
|
|
- <ConfigProvider locale={zhCN}>
|
|
|
- <div className={styles.page}>
|
|
|
+ <PageContent closeable={false}>
|
|
|
+ <ConfigProvider locale={zhCN}>
|
|
|
<div className={styles.head}>
|
|
|
<div>
|
|
|
- <div className={styles.name}>智慧运营报告</div>
|
|
|
+ <div className={styles.name}>
|
|
|
+ <LeftOutlined
|
|
|
+ onClick={handleOnClick}
|
|
|
+ style={{ fontSize: 36, cursor: 'pointer', marginRight: '20px' }}
|
|
|
+ />
|
|
|
+ 智慧运营报告
|
|
|
+ </div>
|
|
|
<div className={styles.photo}>
|
|
|
{dayjs(date.stime).format('MM月DD日')}-
|
|
|
{dayjs(date.etime).format('MM月DD日')}
|
|
@@ -386,8 +398,8 @@ const SmartReport = () => {
|
|
|
</div>
|
|
|
</div>
|
|
|
</Spin>
|
|
|
- </div>
|
|
|
- </ConfigProvider>
|
|
|
+ </ConfigProvider>
|
|
|
+ </PageContent>
|
|
|
);
|
|
|
};
|
|
|
export default SmartReport;
|