| | |
| | | import React, { useState, useEffect, useRef, Fragment } from "react"; |
| | | import { Row, Col, Space } from 'antd'; |
| | | import TableView from '../../../../components/TableView'; |
| | | import TableView from '@/components/TableView'; |
| | | |
| | | export default function KeyVisits(props) { |
| | | const tagList = [{ label: '精神障碍', color: '#C64FBE' }, { label: '吸毒', color: '#D8A247' }, { label: '社区矫正', color: '#B82F6E' }, { label: '刑满释放', color: '#199C8F' }, { label: '流浪', color: '#3ECB7A' }, { label: '重点青少年', color: '#117AC1' }, { label: '涉稳涉访', color: '#6865D7' }, { label: '潜在风险', color: '#2661CE' }] |
| | |
| | | number: 3 |
| | | }, |
| | | { |
| | | name: '被申请方当事人', |
| | | number: 8 |
| | | name: '被申请方代理人', |
| | | number: 1 |
| | | }, |
| | | { |
| | | name: '被申请方代理人', |
| | | number: 2 |
| | | }, |
| | | { |
| | | name: '被申请方代理人', |
| | |
| | | // 列配置 |
| | | const fakeColumns = [ |
| | | { |
| | | title: '来访时间', |
| | | title: '时间', |
| | | dataIndex: 'expireTime', |
| | | key: 'expireTime', |
| | | defaultSortOrder: 'descend', |
| | |
| | | sorter: (a, b) => a.age - b.age, |
| | | }, |
| | | { |
| | | title: '渠道', |
| | | title: '数据来源', |
| | | dataIndex: 'judicNo', |
| | | key: 'judicNo', |
| | | }, |
| | |
| | | </Space> |
| | | <Col span={24} style={{ display: 'flex', alignItems: 'center', marginBottom: '16px' }}> |
| | | <Space size='small'> |
| | | <div className='MediationInfo-subTitle' ></div><span style={{ fontWeight: '600' }}>重复来访记录</span> |
| | | <div className='MediationInfo-subTitle' ></div><span style={{ fontWeight: '600' }}>反映诉求记录</span> |
| | | </Space> |
| | | </Col> |
| | | <div style={{marginBottom: '16px'}}> |
| | |
| | | return <span>{index !== 0 && '、'}{item.name}<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | })}</div> |
| | | <div><span>来访身份:</span>{visitMap.identityList.map((item, index) => { |
| | | return <span>{index !== 0 && '、'}作为{item.name}:<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | return <span>{index !== 0 && '、'}{item.name}:<span style={{ color: '#1a6fb8' }}>{item.number}</span>次</span> |
| | | })}</div> |
| | | </div> |
| | | <TableView |