广州市综治平台前端
xusd
1 days ago e8071c7d6f7aa6ac0d5522c59a52ee5e187a4b16
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
39
40
41
import React, { Fragment } from 'react'
import { Row, Col, Space } from 'antd';
import { Rate } from '@arco-design/web-react';
import * as $$ from '../../../utils/utility';
export default function RateModule(props) {
  return (
    <Fragment>
      <Col span={24} style={{ display: 'flex', alignItems: 'center', margin: '12px 0px 4px 0px' }}>
        <Space size='small'>
          <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h4>当事人评价</h4>
        </Space>
      </Col>
      <Row gutter={[16, 16]}>
        <Col span={8}>
          <div className="title">
            <div className="title-text">评价等级</div>
          </div>
          <div style={{ display: 'flex' }}><Rate value={props.grade?.evaluateGrade} disabled /></div>
        </Col>
        <Col span={8}>
          <div className="title">
            <div className="title-text">评价时间</div>
          </div>
          <div>{$$.minuteFormat(props.grade?.createTime) || '-'}</div>
        </Col>
        <Col span={8}>
          <div className="title">
            <div className="title-text">评价人</div>
          </div>
          <div>{props.grade?.evaluateUserName || '-'}</div>
        </Col>
        <Col span={12}>
          <div className="title">
            <div className="title-text">评语</div>
          </div>
          <div>{props.grade?.evaluateContent}</div>
        </Col>
      </Row>
    </Fragment>
  )
}