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 ImageReviewContent = (props) => { const { TextArea } = Input; const current = props.current; //表头 const columns = [ { title: "新内容", dataIndex: "newMedia", key: "newMedia", render: (data) => (
{data?.map((item, index) => ( ))}
), }, { title: "旧内容", dataIndex: "oldMedia", key: "oldMedia", render: (data) => (
{data?.map((item, index) => ( ))}
), }, { title: "审核结果", dataIndex: "info", key: "info", render: (data) => (
{data?.map((item, index) => { if (item.status === 2 || item.status === 5) return (

图{index + 1}无违规

); return (

图{index + 1}违规情况:

色情审核:

  • 建议:{item.porn_scene_suggestion}
  • 结果:{item.porn_scene_label}
  • 结果:{item.porn_scene_rate.toFixed(1)}

暴恐审核:

  • 建议:{item.terrorism_scene_suggestion}
  • 结果:{item.terrorism_scene_label}
  • 结果:{item.terrorism_scene_rate.toFixed(1)}

广告审核:

  • 建议:{item.ad_scene_suggestion}
  • 结果:{item.ad_scene_label}
  • 结果:{item.ad_scene_rate.toFixed(1)}

不良审核:

  • 建议:{item.live_scene_suggestion}
  • 结果:{item.live_scene_label}
  • 结果:{item.live_scene_rate.toFixed(1)}

logo审核:

  • 建议:{item.logo_scene_suggestion}
  • 结果:{item.logo_scene_label}
  • 结果:{item.logo_scene_rate.toFixed(1)}
); })}
), }, { title: "提交时间", dataIndex: "submitTime", key: "submitTime", }, { title: "备注", dataIndex: "remarks", key: "remarks", render: (_, record) => (