import React, { useState, useRef, useEffect } from "react"; import { Form, Input, Button, Space, Table, Menu, Image } from "antd"; import { Routes, Route, Navigate, useNavigate, useLocation, } from "react-router-dom"; import baseRequest from "../../utils/baseRequest"; const StreamerTextMachineReviewContent = (props) => { const { TextArea } = Input; const current = props.current; //表头 const columns = [ { title: "基本信息", dataIndex: "account", key: "account", render: (data) => (

ID:{data.user_id}

昵称:{data.name}

), }, { title: "修改项目", dataIndex: "item", key: "item", render: (data) => (
{data === "name" &&

昵称

} {data === "bio" &&

个性签名

} {data === "auto_response_message" &&

私信自动回复

} {data === "profile" &&

空间介绍

}
), }, { title: "新内容", dataIndex: "newMedia", key: "newMedia", }, { title: "旧内容", dataIndex: "oldMedia", key: "oldMedia", }, { title: "审核结果", dataIndex: "info", key: "info", render: (data) => { if (data.status === 2 || data.status === 5) return

无违规

; return (
{data.spam_label_details && (

垃圾审核:

)} {data.politics_label_details && (

敏感审核:

)} {data.abuse_label_details && (

辱骂审核:

)} {data.terrorism_label_details && (

暴恐审核:

)} {data.porn_label_details && (

鉴黄审核:

)} {data.flood_label_details && (

灌水审核:

)} {data.contraband_label_details && (

违禁审核:

)}
); }, }, { title: "提交时间", dataIndex: "submitTime", key: "submitTime", }, { title: "备注", dataIndex: "remarks", key: "remarks", render: (_, record) => (