|
@@ -2,7 +2,7 @@ import PageContent from '@/components/PageContent';
|
|
|
import TabsContent from '@/components/TabsContent';
|
|
|
import styles from '@/pages/TaskManage/index.less';
|
|
|
import { getMandateList } from '@/services/TaskManage';
|
|
|
-import { RightOutlined } from '@ant-design/icons';
|
|
|
+import { CaretRightFilled } from '@ant-design/icons';
|
|
|
import { connect, useParams } from '@umijs/max';
|
|
|
import { List, Spin } from 'antd';
|
|
|
import { BaseOptionType } from 'rc-select/es/Select';
|
|
@@ -81,15 +81,15 @@ const TaskManage = (props) => {
|
|
|
}}
|
|
|
>
|
|
|
<List.Item.Meta
|
|
|
- title={<span className={styles.fontS28}>{item.label}</span>}
|
|
|
+ title={<span className={styles.itemLabel}>{item.label}</span>}
|
|
|
/>
|
|
|
|
|
|
<div className={styles.itemCount}>
|
|
|
<div className={styles.countNumber}>{mandateCount[index]}</div>
|
|
|
- <div className={styles.fontS22}>任务数量</div>
|
|
|
+ <div className={styles.counterText}>任务数量</div>
|
|
|
</div>
|
|
|
|
|
|
- <RightOutlined />
|
|
|
+ <CaretRightFilled style={{ fontSize: '0.3rem', color: '#BCBABA' }} />
|
|
|
</List.Item>
|
|
|
);
|
|
|
};
|
|
@@ -103,13 +103,9 @@ const TaskManage = (props) => {
|
|
|
}}
|
|
|
>
|
|
|
<List.Item.Meta
|
|
|
- title={<span className={styles.fontS28}>{item.label}</span>}
|
|
|
+ title={<span className={styles.itemLabel}>{item.label}</span>}
|
|
|
/>
|
|
|
- {/* <div className={styles.itemCount}>
|
|
|
- <div className={styles.countNumber}>{mandateCount[index]}</div>
|
|
|
- <div className={styles.fontS22}>任务数量</div>
|
|
|
- </div> */}
|
|
|
- <RightOutlined />
|
|
|
+ <CaretRightFilled style={{ fontSize: '0.3rem', color: '#BCBABA' }} />
|
|
|
</List.Item>
|
|
|
);
|
|
|
};
|
|
@@ -129,32 +125,36 @@ const TaskManage = (props) => {
|
|
|
label: `任务管理`,
|
|
|
key: '1',
|
|
|
children: (
|
|
|
- <Spin spinning={loading}>
|
|
|
- <List
|
|
|
- className={styles.taskList}
|
|
|
- bordered
|
|
|
- itemLayout="horizontal"
|
|
|
- dataSource={MandateType}
|
|
|
- renderItem={makeTaskList}
|
|
|
- pagination={false}
|
|
|
- />
|
|
|
- </Spin>
|
|
|
+ <div className={styles.container}>
|
|
|
+ <Spin spinning={loading}>
|
|
|
+ <List
|
|
|
+ className={styles.taskList}
|
|
|
+ bordered
|
|
|
+ itemLayout="horizontal"
|
|
|
+ dataSource={MandateType}
|
|
|
+ renderItem={makeTaskList}
|
|
|
+ pagination={false}
|
|
|
+ />
|
|
|
+ </Spin>
|
|
|
+ </div>
|
|
|
),
|
|
|
},
|
|
|
{
|
|
|
label: `工单管理`,
|
|
|
key: '2',
|
|
|
children: (
|
|
|
- <Spin spinning={loading}>
|
|
|
- <List
|
|
|
- className={styles.taskList}
|
|
|
- bordered
|
|
|
- itemLayout="horizontal"
|
|
|
- dataSource={OrderType}
|
|
|
- renderItem={makeWorkOrderList}
|
|
|
- pagination={false}
|
|
|
- />
|
|
|
- </Spin>
|
|
|
+ <div className={styles.container}>
|
|
|
+ <Spin spinning={loading}>
|
|
|
+ <List
|
|
|
+ className={styles.taskList}
|
|
|
+ bordered
|
|
|
+ itemLayout="horizontal"
|
|
|
+ dataSource={OrderType}
|
|
|
+ renderItem={makeWorkOrderList}
|
|
|
+ pagination={false}
|
|
|
+ />
|
|
|
+ </Spin>
|
|
|
+ </div>
|
|
|
),
|
|
|
},
|
|
|
]}
|