import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import './index.less'; import { Tooltip, Icon } from 'antd'; import Page from '@src/containers/Page'; import Assets from '@src/components/Assets'; import { zeroFill, formatPercent, formatDate, formatSeconds, getMap } from '@src/services/Tools'; import { asyncSMessage } from '@src/services/AsyncTools'; import moment from 'moment'; import Date from '../../../components/Date'; import UserLayout from '../../../layouts/User'; import Tabs from '../../../components/Tabs'; import Button from '../../../components/Button'; import { Icon as GIcon } from '../../../components/Icon'; import UserTable from '../../../components/UserTable'; import Examination from '../../../components/Examination'; import menu from '../index'; import { BindPhone, BindEmail, EditInfo, RealAuth, EditAvatar } from '../../../components/OtherModal'; import VipRenew from '../../../components/VipRenew'; import { My } from '../../../stores/my'; import { Main } from '../../../stores/main'; import { QuestionType } from '../../../../Constant'; import { User } from '../../../stores/user'; const QuestionTypeMap = getMap(QuestionType, 'value', 'label'); class LogItem extends Component { constructor(props) { super(props); this.columns = [ { title: '', key: 'title' }, { title: '语法SC', key: 'sc' }, { title: '逻辑CR', key: 'cr' }, { title: '阅读RC', key: 'rc' }, ]; this.state = { open: false, showTop: true }; } render() { const { data = {} } = this.props; const { total = [], type } = data; const { open } = this.state; return (