|
@@ -27,6 +27,12 @@ interface IOrderInfo {
|
|
|
Reason: string;
|
|
|
Repairman: string | IUserType;
|
|
|
OrderStatus: string | DefaultOptionType;
|
|
|
+ Lubrication?: number;
|
|
|
+ Fasten?: number;
|
|
|
+ RustRemoval?: number;
|
|
|
+ AntiCorrosive?: number;
|
|
|
+ Clean?: number;
|
|
|
+ Check?: number;
|
|
|
}
|
|
|
|
|
|
const TaskOrder: React.FC<IPropsType> = (props) => {
|
|
@@ -50,6 +56,12 @@ const TaskOrder: React.FC<IPropsType> = (props) => {
|
|
|
PlanTime: temp.PlanTime,
|
|
|
RepairTime: '-',
|
|
|
Reason: temp.Note,
|
|
|
+ Lubrication: temp.Lubrication,
|
|
|
+ Fasten: temp.Fasten,
|
|
|
+ RustRemoval: temp.RustRemoval,
|
|
|
+ AntiCorrosive: temp.Anticorrosive,
|
|
|
+ Clean: temp.Clean,
|
|
|
+ Check: temp.Check,
|
|
|
Repairman:
|
|
|
userList.find((item) => item.ID === temp.MaintenancePerson) || '-',
|
|
|
OrderStatus:
|
|
@@ -173,17 +185,36 @@ const TaskOrder: React.FC<IPropsType> = (props) => {
|
|
|
</Row>
|
|
|
</div>
|
|
|
</div>
|
|
|
- {/*<div>*/}
|
|
|
- {/* <SubTitle title="维修内容" />*/}
|
|
|
- {/* <div style={{ padding: '15px' }}>*/}
|
|
|
- {/* <Row className={styles.rowMargin}>*/}
|
|
|
- {/* <Col className={styles.fontS24}>是否润滑加油:否</Col>*/}
|
|
|
- {/* </Row>*/}
|
|
|
- {/* <Row>*/}
|
|
|
- {/* <Col className={styles.fontS24} >是否清洁:否</Col>*/}
|
|
|
- {/* </Row>*/}
|
|
|
- {/* </div>*/}
|
|
|
- {/*</div>*/}
|
|
|
+ {order_type === 3 && (
|
|
|
+ <div>
|
|
|
+ <SubTitle title="维修内容" />
|
|
|
+ <div style={{ padding: '15px' }}>
|
|
|
+ <Row className={styles.rowMargin} justify={"space-between"}>
|
|
|
+ <Col className={styles.fontS24}>
|
|
|
+ 是否润滑/加油:{orderInfo?.Lubrication === 1 ? '是' : '否'}
|
|
|
+ </Col>
|
|
|
+ <Col className={styles.fontS24}>
|
|
|
+ 是否拆检:{orderInfo?.Check === 1 ? '是' : '否'}
|
|
|
+ </Col>
|
|
|
+ <Col className={styles.fontS24}>
|
|
|
+ 是否清洁:{orderInfo?.Clean === 1 ? '是' : '否'}
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ <Row>
|
|
|
+ <Col className={styles.fontS24}>
|
|
|
+ 是否紧固:{orderInfo?.Fasten === 1 ? '是' : '否'}
|
|
|
+ </Col>
|
|
|
+ <Col className={styles.fontS24}>
|
|
|
+ 是否除锈:{orderInfo?.AntiCorrosive === 1 ? '是' : '否'}
|
|
|
+ </Col>
|
|
|
+ <Col className={styles.fontS24}>
|
|
|
+ 是否防腐:{orderInfo?.RustRemoval === 1 ? '是' : '否'}
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ )}
|
|
|
+
|
|
|
{/*<div>*/}
|
|
|
{/* <SubTitle title="工单流程" />*/}
|
|
|
{/* <div style={{ padding: '15px' }}>*/}
|