|  | @@ -12,7 +12,7 @@ import {
 | 
	
		
			
				|  |  |  } from '@/services/TaskManage';
 | 
	
		
			
				|  |  |  import { useLocation } from '@@/exports';
 | 
	
		
			
				|  |  |  import { connect, useRequest } from '@umijs/max';
 | 
	
		
			
				|  |  | -import { Col, Row, Steps } from 'antd';
 | 
	
		
			
				|  |  | +import { Col, Divider, Row, Steps } from 'antd';
 | 
	
		
			
				|  |  |  import dayjs from 'dayjs';
 | 
	
		
			
				|  |  |  import { useEffect, useState } from 'react';
 | 
	
		
			
				|  |  |  import styles from './workOrderDetail.less';
 | 
	
	
		
			
				|  | @@ -297,52 +297,57 @@ const WorkOrderDetail = (props) => {
 | 
	
		
			
				|  |  |        <PageTitle returnable>工单详情</PageTitle>
 | 
	
		
			
				|  |  |        <div className={styles.selfCardBox}>
 | 
	
		
			
				|  |  |          <div className={styles.orderInfo}>
 | 
	
		
			
				|  |  | -          <SubTitle
 | 
	
		
			
				|  |  | -            title="工单信息"
 | 
	
		
			
				|  |  | -            // @ts-ignore
 | 
	
		
			
				|  |  | -            showStatus={orderInfo?.OrderStatus.value === 2}
 | 
	
		
			
				|  |  | -            radius
 | 
	
		
			
				|  |  | -          />
 | 
	
		
			
				|  |  | +          <SubTitle title="工单信息" radius />
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |            <div style={{ padding: '0.15rem', letterSpacing: '0.015rem' }}>
 | 
	
		
			
				|  |  | -            <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28} span={15}>
 | 
	
		
			
				|  |  | -                {/* @ts-ignore */}
 | 
	
		
			
				|  |  | -                工单类型:
 | 
	
		
			
				|  |  | -                {OrderType.find((item) => item.value === order_type)?.label ||
 | 
	
		
			
				|  |  | -                  '-'}
 | 
	
		
			
				|  |  | -              </Col>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28} span={9}>
 | 
	
		
			
				|  |  | -                {/* @ts-ignore */}
 | 
	
		
			
				|  |  | -                工单负责人:{orderInfo?.Repairman?.CName || '-'}
 | 
	
		
			
				|  |  | -              </Col>
 | 
	
		
			
				|  |  | -            </Row>
 | 
	
		
			
				|  |  | -            <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28} span={15}>
 | 
	
		
			
				|  |  | -                {/*  @ts-ignore */}
 | 
	
		
			
				|  |  | -                工单状态:{orderInfo?.OrderStatus?.label}
 | 
	
		
			
				|  |  | -              </Col>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28} span={9}>
 | 
	
		
			
				|  |  | -                {/* @ts-ignore */}
 | 
	
		
			
				|  |  | -                派单人员:{orderInfo?.DispatchMan?.CName || '-'}
 | 
	
		
			
				|  |  | -              </Col>
 | 
	
		
			
				|  |  | -            </Row>
 | 
	
		
			
				|  |  | -            <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28}>
 | 
	
		
			
				|  |  | -                派单时间:{orderInfo?.CreateTime || '-'}
 | 
	
		
			
				|  |  | -              </Col>
 | 
	
		
			
				|  |  | -            </Row>
 | 
	
		
			
				|  |  | -            <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28}>
 | 
	
		
			
				|  |  | -                计划完成时间:{orderInfo?.PlanTime || '-'}
 | 
	
		
			
				|  |  | -              </Col>
 | 
	
		
			
				|  |  | -            </Row>
 | 
	
		
			
				|  |  | -            <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28}>
 | 
	
		
			
				|  |  | -                实际完成时间:{orderInfo?.RepairTime || '-'}
 | 
	
		
			
				|  |  | +            <div
 | 
	
		
			
				|  |  | +              style={{
 | 
	
		
			
				|  |  | +                background: 'rgba(23, 85, 255, 0.06)',
 | 
	
		
			
				|  |  | +                padding: '0.2rem',
 | 
	
		
			
				|  |  | +                marginBottom: '0.2rem',
 | 
	
		
			
				|  |  | +              }}
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  | +              <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28} span={13}>
 | 
	
		
			
				|  |  | +                  {/* @ts-ignore */}
 | 
	
		
			
				|  |  | +                  工单类型:
 | 
	
		
			
				|  |  | +                  {OrderType.find((item) => item.value === order_type)?.label ||
 | 
	
		
			
				|  |  | +                    '-'}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28} span={9}>
 | 
	
		
			
				|  |  | +                  {/* @ts-ignore */}
 | 
	
		
			
				|  |  | +                  工单负责人:{orderInfo?.Repairman?.CName || '-'}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +              </Row>
 | 
	
		
			
				|  |  | +              <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28} span={13}>
 | 
	
		
			
				|  |  | +                  {/*  @ts-ignore */}
 | 
	
		
			
				|  |  | +                  工单状态:{orderInfo?.OrderStatus?.label}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28} span={9}>
 | 
	
		
			
				|  |  | +                  {/* @ts-ignore */}
 | 
	
		
			
				|  |  | +                  派单人员:{orderInfo?.DispatchMan?.CName || '-'}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +              </Row>
 | 
	
		
			
				|  |  | +              <Row className={styles.rowMargin}>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28}>
 | 
	
		
			
				|  |  | +                  派单时间:{orderInfo?.CreateTime || '-'}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +              </Row>
 | 
	
		
			
				|  |  | +              <Row>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28} span={13}>
 | 
	
		
			
				|  |  | +                  计划完成时间:{orderInfo?.PlanTime || '-'}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +                <Col className={styles.fontS28}>
 | 
	
		
			
				|  |  | +                  实际完成时间:{orderInfo?.RepairTime || '-'}
 | 
	
		
			
				|  |  | +                </Col>
 | 
	
		
			
				|  |  | +              </Row>
 | 
	
		
			
				|  |  | +            </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            <Row style={{ padding: '0 0.2rem' }}>
 | 
	
		
			
				|  |  | +              <Col className={styles.fontS28} style={{ fontWeight: '600' }}>
 | 
	
		
			
				|  |  | +                工单详情:
 | 
	
		
			
				|  |  |                </Col>
 | 
	
		
			
				|  |  | -            </Row>
 | 
	
		
			
				|  |  | -            <Row>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS28}>工单详情:</Col>
 | 
	
		
			
				|  |  |                <Col className={styles.fontS28} span={18}>
 | 
	
		
			
				|  |  |                  {orderInfo?.Reason}
 | 
	
		
			
				|  |  |                </Col>
 | 
	
	
		
			
				|  | @@ -361,28 +366,35 @@ const WorkOrderDetail = (props) => {
 | 
	
		
			
				|  |  |            <div>
 | 
	
		
			
				|  |  |              <SubTitle title="维修内容" />
 | 
	
		
			
				|  |  |              <div style={{ padding: '0.15rem' }}>
 | 
	
		
			
				|  |  | -              <Row className={styles.rowMargin} justify={'space-around'}>
 | 
	
		
			
				|  |  | -                <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | -                  是否润滑/加油:{orderInfo?.Lubrication === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | -                </Col>
 | 
	
		
			
				|  |  | -                <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | -                  是否拆检:{orderInfo?.Check === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | -                </Col>
 | 
	
		
			
				|  |  | -                <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | -                  是否清洁:{orderInfo?.Clean === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | -                </Col>
 | 
	
		
			
				|  |  | -              </Row>
 | 
	
		
			
				|  |  | -              <Row justify={'space-around'}>
 | 
	
		
			
				|  |  | -                <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | -                  是否紧固:{orderInfo?.Fasten === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | -                </Col>
 | 
	
		
			
				|  |  | -                <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | -                  是否除锈:{orderInfo?.AntiCorrosive === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | -                </Col>
 | 
	
		
			
				|  |  | -                <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | -                  是否防腐:{orderInfo?.RustRemoval === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | -                </Col>
 | 
	
		
			
				|  |  | -              </Row>
 | 
	
		
			
				|  |  | +              <div
 | 
	
		
			
				|  |  | +                style={{
 | 
	
		
			
				|  |  | +                  padding: '0.15rem 0.2rem',
 | 
	
		
			
				|  |  | +                  background: 'rgba(23, 85, 255, 0.06)',
 | 
	
		
			
				|  |  | +                }}
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  | +                <Row className={styles.rowMargin} justify={'space-around'}>
 | 
	
		
			
				|  |  | +                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | +                    是否润滑/加油:{orderInfo?.Lubrication === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | +                  </Col>
 | 
	
		
			
				|  |  | +                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | +                    是否拆检:{orderInfo?.Check === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | +                  </Col>
 | 
	
		
			
				|  |  | +                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | +                    是否清洁:{orderInfo?.Clean === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | +                  </Col>
 | 
	
		
			
				|  |  | +                </Row>
 | 
	
		
			
				|  |  | +                <Row justify={'space-around'}>
 | 
	
		
			
				|  |  | +                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | +                    是否紧固:{orderInfo?.Fasten === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | +                  </Col>
 | 
	
		
			
				|  |  | +                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | +                    是否除锈:{orderInfo?.AntiCorrosive === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | +                  </Col>
 | 
	
		
			
				|  |  | +                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  | +                    是否防腐:{orderInfo?.RustRemoval === 1 ? '是' : '否'}
 | 
	
		
			
				|  |  | +                  </Col>
 | 
	
		
			
				|  |  | +                </Row>
 | 
	
		
			
				|  |  | +              </div>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
		
			
				|  |  |          )}
 | 
	
	
		
			
				|  | @@ -391,7 +403,12 @@ const WorkOrderDetail = (props) => {
 | 
	
		
			
				|  |  |            <div>
 | 
	
		
			
				|  |  |              <SubTitle title="加药详情" />
 | 
	
		
			
				|  |  |              <div style={{ padding: '0.15rem' }}>
 | 
	
		
			
				|  |  | -              <Row>
 | 
	
		
			
				|  |  | +              <Row
 | 
	
		
			
				|  |  | +                style={{
 | 
	
		
			
				|  |  | +                  padding: '0.15rem 0.2rem',
 | 
	
		
			
				|  |  | +                  background: 'rgba(23, 85, 255, 0.06)',
 | 
	
		
			
				|  |  | +                }}
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                  <Col className={styles.fontS28} span={8}>
 | 
	
		
			
				|  |  |                    药剂名称:{additionalInfo?.name || '-'}
 | 
	
		
			
				|  |  |                  </Col>
 | 
	
	
		
			
				|  | @@ -409,6 +426,16 @@ const WorkOrderDetail = (props) => {
 | 
	
		
			
				|  |  |          {stepInfo?.length > 0 && (
 | 
	
		
			
				|  |  |            <div>
 | 
	
		
			
				|  |  |              <SubTitle title="工单流程" />
 | 
	
		
			
				|  |  | +            <Divider
 | 
	
		
			
				|  |  | +              type="horizontal"
 | 
	
		
			
				|  |  | +              style={{
 | 
	
		
			
				|  |  | +                height: '0.02rem',
 | 
	
		
			
				|  |  | +                margin: 0,
 | 
	
		
			
				|  |  | +                padding: 0,
 | 
	
		
			
				|  |  | +                color: 'rgba(23, 85, 255, 0.50)',
 | 
	
		
			
				|  |  | +                background: 'rgba(23, 85, 255, 0.50)',
 | 
	
		
			
				|  |  | +              }}
 | 
	
		
			
				|  |  | +            />
 | 
	
		
			
				|  |  |              <div style={{ padding: '0.15rem 0.2rem' }}>
 | 
	
		
			
				|  |  |                <Steps
 | 
	
		
			
				|  |  |                  direction="vertical"
 |