forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-13 899e81654c9389785d58f9dbdf2ea7d2b2bc9082
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import React from 'react';
import { register } from '@/assets/images';
import * as $$ from '@/utils/utility';
 
export default function ReviewProgress(props) {
  return (
    <div className='reviewProgress'>
      {props.progressData['handleCaseFlowList']?.map((item, index) => {
        const flag = index + 1 === props.progressData['handleCaseFlowList'].length
        return <div style={{ display: 'flex' }}>
 
          <div style={{ marginRight: '10px' }}>
            <div className='reviewCircle' style={flag ? { borderColor: '#EF6C24' } : {}}></div>
            {!flag && <div className='reviewLine'></div>}
          </div>
 
          <div>
            <div className='deepTitle'>{item.handleUnitName}({item.nodeShowName})</div>
            {!flag &&
              <>
                {
                  item.handleUserName && <div className='shallowTitle'>
                    操作人:<span>{item.handleUserName}<img src={register} alt="" className="title-register" /></span>
                  </div>
                }
                <div className='shallowTitle'>
                  操作时间:<span>{$$.timeFormat(item.handleTime)}</span>
                </div>
                <div style={{ height: '34px' }}></div>
              </>
            }
          </div>
        </div>
 
      })}
    </div>
  )
}