Commit 562de120 by 姜雷

约车详情中添加部分数据展示

parent 1c2529f3
...@@ -72,8 +72,14 @@ class PublicCarItem extends Component { ...@@ -72,8 +72,14 @@ class PublicCarItem extends Component {
</div> </div>
</div>, </div>,
<div key="department" className={styles.listLine}> <div key="department" className={styles.listLine}>
<div className={styles.mLineItem}>
<div className={styles.listLabel}>用车部门:</div> <div className={styles.listLabel}>用车部门:</div>
<div className={styles.listValue}>{data.department}</div> <div className={styles.listValue}>{data.department}</div>
</div>
<div className={styles.mLineItem}>
<div className={styles.listLabel}>申请人:</div>
<div className={styles.listValue}>{data.name}</div>
</div>
</div>, </div>,
<div key="userCount" className={styles.listLine}> <div key="userCount" className={styles.listLine}>
<div className={styles.listLabel}>用车人数:</div> <div className={styles.listLabel}>用车人数:</div>
...@@ -147,6 +153,16 @@ class PublicCarItem extends Component { ...@@ -147,6 +153,16 @@ class PublicCarItem extends Component {
<div className={styles.listLabel}>用车时间:</div> <div className={styles.listLabel}>用车时间:</div>
<div className={styles.listValue}>{data.createDate}</div> <div className={styles.listValue}>{data.createDate}</div>
</div>, </div>,
<div key="department" className={styles.listLine}>
<div className={styles.mLineItem}>
<div className={styles.listLabel}>用车部门:</div>
<div className={styles.listValue}>{data.department}</div>
</div>
<div className={styles.mLineItem}>
<div className={styles.listLabel}>申请人:</div>
<div className={styles.listValue}>{data.name}</div>
</div>
</div>,
<div key="type" className={styles.listLine}> <div key="type" className={styles.listLine}>
<div className={styles.listLabel}>用车类型:</div> <div className={styles.listLabel}>用车类型:</div>
<div className={styles.listValue}> <div className={styles.listValue}>
...@@ -155,9 +171,7 @@ class PublicCarItem extends Component { ...@@ -155,9 +171,7 @@ class PublicCarItem extends Component {
</div>, </div>,
<div key="line" className={styles.listLine}> <div key="line" className={styles.listLine}>
<div className={styles.listLabel}>用车路线:</div> <div className={styles.listLabel}>用车路线:</div>
<div className={styles.listValue}> <div className={styles.listValue}>{data.lineDescription}</div>
{data.lineDescription}
</div>
</div>, </div>,
]} ]}
</div> </div>
......
...@@ -43,6 +43,10 @@ ...@@ -43,6 +43,10 @@
.listValueMutLine { .listValueMutLine {
composes: listValueMutLine from '../../Repair/components/style.css'; composes: listValueMutLine from '../../Repair/components/style.css';
} }
.mLineItem {
width: 50%;
display: flex;
}
.dealingColor { .dealingColor {
color: #ff3131; color: #ff3131;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment