|  | @@ -9,7 +9,7 @@ import {
 | 
	
		
			
				|  |  |  } from '@/pages/TaskManage/constent';
 | 
	
		
			
				|  |  |  import { getDiagnosticDetail, getMandateDetail } from '@/services/TaskManage';
 | 
	
		
			
				|  |  |  import { useLocation } from '@@/exports';
 | 
	
		
			
				|  |  | -import { UpOutlined } from '@ant-design/icons';
 | 
	
		
			
				|  |  | +import { CaretDownFilled } from '@ant-design/icons';
 | 
	
		
			
				|  |  |  import { connect, useRequest } from '@umijs/max';
 | 
	
		
			
				|  |  |  import { Col, Collapse, Divider, Row, Table } from 'antd';
 | 
	
		
			
				|  |  |  import dayjs from 'dayjs';
 | 
	
	
		
			
				|  | @@ -99,7 +99,7 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |          {
 | 
	
		
			
				|  |  |            key: '1',
 | 
	
		
			
				|  |  |            label: (
 | 
	
		
			
				|  |  | -            <span style={{ color: '#5697e4' }}>
 | 
	
		
			
				|  |  | +            <span style={{ color: '#ffffff', marginRight: '0.1rem' }}>
 | 
	
		
			
				|  |  |                关联工单({workOrder.length})
 | 
	
		
			
				|  |  |              </span>
 | 
	
		
			
				|  |  |            ),
 | 
	
	
		
			
				|  | @@ -108,18 +108,18 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |                <div key={record.Id} className={styles.workOrderCard}>
 | 
	
		
			
				|  |  |                  <div className={styles.leftInfo}>
 | 
	
		
			
				|  |  |                    <Row style={{ marginBottom: '0.15rem' }}>
 | 
	
		
			
				|  |  | -                    <Col className={styles.fontS24} span={12}>
 | 
	
		
			
				|  |  | +                    <Col className={styles.fontS32} span={12}>
 | 
	
		
			
				|  |  |                        <>
 | 
	
		
			
				|  |  |                          工单类型:
 | 
	
		
			
				|  |  |                          {record.RecordType?.label?.replace('工单', '')}
 | 
	
		
			
				|  |  |                        </>
 | 
	
		
			
				|  |  |                      </Col>
 | 
	
		
			
				|  |  | -                    <Col className={styles.fontS24} span={12}>
 | 
	
		
			
				|  |  | +                    <Col className={styles.fontS32} span={12}>
 | 
	
		
			
				|  |  |                        时间:{record.CreateTime || '-'}
 | 
	
		
			
				|  |  |                      </Col>
 | 
	
		
			
				|  |  |                    </Row>
 | 
	
		
			
				|  |  |                    <Row>
 | 
	
		
			
				|  |  | -                    <Col className={styles.fontS24} span={12}>
 | 
	
		
			
				|  |  | +                    <Col className={styles.fontS32} span={12}>
 | 
	
		
			
				|  |  |                        工单状态:
 | 
	
		
			
				|  |  |                        <span style={{ color: '#5697e4' }}>
 | 
	
		
			
				|  |  |                          {typeof record.Status === 'number'
 | 
	
	
		
			
				|  | @@ -127,7 +127,7 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |                            : record.Status?.label}
 | 
	
		
			
				|  |  |                        </span>
 | 
	
		
			
				|  |  |                      </Col>
 | 
	
		
			
				|  |  | -                    <Col className={styles.fontS24} span={12}>
 | 
	
		
			
				|  |  | +                    <Col className={styles.fontS32} span={12}>
 | 
	
		
			
				|  |  |                        工单负责人:
 | 
	
		
			
				|  |  |                        {typeof record.Responsible === 'number'
 | 
	
		
			
				|  |  |                          ? '-'
 | 
	
	
		
			
				|  | @@ -139,7 +139,6 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |                  <div className={styles.rightButtonContainer}>
 | 
	
		
			
				|  |  |                    <div
 | 
	
		
			
				|  |  |                      className={styles.rightButton}
 | 
	
		
			
				|  |  | -                    style={{ color: '#5697e4' }}
 | 
	
		
			
				|  |  |                      onClick={() => {
 | 
	
		
			
				|  |  |                        if (typeof record.RecordType === 'number') {
 | 
	
		
			
				|  |  |                          return;
 | 
	
	
		
			
				|  | @@ -152,7 +151,7 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |                        );
 | 
	
		
			
				|  |  |                      }}
 | 
	
		
			
				|  |  |                    >
 | 
	
		
			
				|  |  | -                    查看工单
 | 
	
		
			
				|  |  | +                    查看
 | 
	
		
			
				|  |  |                    </div>
 | 
	
		
			
				|  |  |                    {/* <div
 | 
	
		
			
				|  |  |                      className={styles.rightButton}
 | 
	
	
		
			
				|  | @@ -260,24 +259,24 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |    return (
 | 
	
		
			
				|  |  |      <PageContent closeable={false}>
 | 
	
		
			
				|  |  |        <PageTitle returnable>任务详情</PageTitle>
 | 
	
		
			
				|  |  | -      <div className={`${styles.cardContainer} card-box`}>
 | 
	
		
			
				|  |  | +      <div className={`${styles.cardContainer}`}>
 | 
	
		
			
				|  |  |          <div className={styles.normalInfo}>
 | 
	
		
			
				|  |  | -          <Row className={styles.infoRow} justify="space-between">
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +          <Row className={styles.infoRow}>
 | 
	
		
			
				|  |  | +            <Col span={14} className={styles.fontS32}>
 | 
	
		
			
				|  |  |                时间:{mandateDetail?.CreateTime}
 | 
	
		
			
				|  |  |              </Col>
 | 
	
		
			
				|  |  |              {/*// @ts-ignore*/}
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +            <Col className={styles.fontS32}>
 | 
	
		
			
				|  |  |                {/*//@ts-ignore*/}
 | 
	
		
			
				|  |  |                任务类别:{mandateDetail?.MandateClass?.label}
 | 
	
		
			
				|  |  |              </Col>
 | 
	
		
			
				|  |  |            </Row>
 | 
	
		
			
				|  |  | -          <Row justify="space-between">
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +          <Row>
 | 
	
		
			
				|  |  | +            <Col span={14} className={styles.fontS32}>
 | 
	
		
			
				|  |  |                {/*//@ts-ignore*/}
 | 
	
		
			
				|  |  |                任务状态:{mandateDetail?.Status?.label}
 | 
	
		
			
				|  |  |              </Col>
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +            <Col className={styles.fontS32}>
 | 
	
		
			
				|  |  |                {/*// @ts-ignore*/}
 | 
	
		
			
				|  |  |                任务负责人:{mandateDetail?.ResponsiblePeople?.CName}
 | 
	
		
			
				|  |  |              </Col>
 | 
	
	
		
			
				|  | @@ -285,20 +284,31 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |          </div>
 | 
	
		
			
				|  |  |          <div className={styles.detailInfo}>
 | 
	
		
			
				|  |  |            <Row className={styles.infoRow}>
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24} span={4}>
 | 
	
		
			
				|  |  | +            <Col
 | 
	
		
			
				|  |  | +              className={styles.fontS32}
 | 
	
		
			
				|  |  | +              span={4}
 | 
	
		
			
				|  |  | +              style={{ fontWeight: 600 }}
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |                任务总结
 | 
	
		
			
				|  |  |              </Col>
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +            <Col
 | 
	
		
			
				|  |  | +              className={styles.fontS32}
 | 
	
		
			
				|  |  | +              style={{ color: 'rgba(97, 93, 93, 1)' }}
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |                {mandateDetail?.Summary ||
 | 
	
		
			
				|  |  |                  '根据水质相关数据.建议您调节以下参数,水厂运行可达较优状态'}
 | 
	
		
			
				|  |  |              </Col>
 | 
	
		
			
				|  |  |            </Row>
 | 
	
		
			
				|  |  |            {mandateDetail?.img && (
 | 
	
		
			
				|  |  |              <Row className={styles.infoRow}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS24} span={4}>
 | 
	
		
			
				|  |  | +              <Col
 | 
	
		
			
				|  |  | +                className={styles.fontS32}
 | 
	
		
			
				|  |  | +                span={4}
 | 
	
		
			
				|  |  | +                style={{ fontWeight: 600 }}
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                  预警图片
 | 
	
		
			
				|  |  |                </Col>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +              <Col className={styles.fontS32}>
 | 
	
		
			
				|  |  |                  <ReactZmage
 | 
	
		
			
				|  |  |                    controller={{
 | 
	
		
			
				|  |  |                      // 关闭按钮
 | 
	
	
		
			
				|  | @@ -322,10 +332,14 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            {mandateDetail?.Files.length > 0 && (
 | 
	
		
			
				|  |  |              <Row className={styles.infoRow}>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS24} span={4}>
 | 
	
		
			
				|  |  | +              <Col
 | 
	
		
			
				|  |  | +                className={styles.fontS32}
 | 
	
		
			
				|  |  | +                span={4}
 | 
	
		
			
				|  |  | +                style={{ fontWeight: 600 }}
 | 
	
		
			
				|  |  | +              >
 | 
	
		
			
				|  |  |                  截图
 | 
	
		
			
				|  |  |                </Col>
 | 
	
		
			
				|  |  | -              <Col className={styles.fontS24}>
 | 
	
		
			
				|  |  | +              <Col className={styles.fontS32}>
 | 
	
		
			
				|  |  |                  <ReactZmage
 | 
	
		
			
				|  |  |                    controller={{
 | 
	
		
			
				|  |  |                      // 关闭按钮
 | 
	
	
		
			
				|  | @@ -356,12 +370,17 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |            )}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <Row>
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24} span={4}>
 | 
	
		
			
				|  |  | +            <Col
 | 
	
		
			
				|  |  | +              className={styles.fontS32}
 | 
	
		
			
				|  |  | +              span={4}
 | 
	
		
			
				|  |  | +              style={{ fontWeight: 600 }}
 | 
	
		
			
				|  |  | +            >
 | 
	
		
			
				|  |  |                任务内容
 | 
	
		
			
				|  |  |              </Col>
 | 
	
		
			
				|  |  | -            <Col className={styles.fontS24} span={20}>
 | 
	
		
			
				|  |  | +            <Col className={styles.fontS32} span={20}>
 | 
	
		
			
				|  |  |                {/*{mandateDetail?.Detail}*/}
 | 
	
		
			
				|  |  |                <Table
 | 
	
		
			
				|  |  | +                className={styles.taskTable}
 | 
	
		
			
				|  |  |                  rowKey="key"
 | 
	
		
			
				|  |  |                  columns={columnDef}
 | 
	
		
			
				|  |  |                  dataSource={mandateTable}
 | 
	
	
		
			
				|  | @@ -375,8 +394,8 @@ function TaskDetail(props) {
 | 
	
		
			
				|  |  |              className={styles.collapseLabel}
 | 
	
		
			
				|  |  |              ghost
 | 
	
		
			
				|  |  |              expandIcon={({ isActive }) => (
 | 
	
		
			
				|  |  | -              <UpOutlined
 | 
	
		
			
				|  |  | -                style={{ color: '#5697e4' }}
 | 
	
		
			
				|  |  | +              <CaretDownFilled
 | 
	
		
			
				|  |  | +                style={{ color: '#ffffff' }}
 | 
	
		
			
				|  |  |                  rotate={isActive ? 180 : 0}
 | 
	
		
			
				|  |  |                />
 | 
	
		
			
				|  |  |              )}
 |