feat: 新增举报功能及我的举报页面

本次更新主要内容:
1. 新增举报功能,支持举报信息和评价,包含防重复提交和频控保护
2. 新增我的举报页面,展示用户提交的举报记录
3. 新增平台客服弹窗,支持微信在线客服和电话客服
4. 优化消息通知,支持跳转业务页面
5. 新增举报原因字典配置,支持自定义举报原因
6. 修复服务电话默认值问题,移除硬编码兜底
7. 新增相关图标和页面组件,完善用户体验
这个提交包含在:
2026-11-18 10:38:18 +08:00
父节点 e01cedd18e
当前提交 7e22a66de0
共有 31 个文件被更改,包括 3306 次插入 和 157 次删除

查看文件

@@ -6,19 +6,24 @@ use app\common\controller\Backend;
use think\Db;
/**
* 同城-举报
* 同城-举报管理
*
* @icon fa fa-circle-o
* @icon fa fa-flag
*/
class Report extends Backend
{
/**
* FcReport模型对象
* @var \app\admin\model\FcReport
*/
protected $model = null;
/**
* 控制器初始化方法
* 绑定数据模型与状态字典
*
* @return void
*/
public function _initialize()
{
parent::_initialize();
@@ -26,34 +31,423 @@ class Report extends Backend
$this->view->assign("statusList", $this->model->getStatusList());
}
/**
* 默认生成的控制器所继承的父类中有index/add/edit/del/multi五个基础方法、destroy/restore/recyclebin三个回收站方法
* 因此在当前控制器中可不用编写增删改查的代码,除非需要自己控制这部分逻辑
* 需要将application/admin/library/traits/Backend.php中对应的方法复制到当前控制器,然后进行修改
* 举报详情与处置工作台
* 聚合全景信息:举报方画像(实名/历史举报数)、被举报方画像(账号状态/发帖数/被举报总数)、
* 被举报标的物全息数据(帖子交易要素/微信号/价格/完整正文/附图,或评价原文/关联原帖背景/双方回复)、
* 用户举证凭证(大图预览)以及联动处置工作台。
*
* @param int|null $ids 举报记录ID
* @return string
*/
public function detail($ids = null)
{
$id = $ids ? $ids : $this->request->param('ids');
$row = $this->model->get($id);
if (!$row) {
$this->error(__('No Results were found'));
}
$row = $row->toArray();
$row['createtime_text'] = !empty($row['createtime']) ? date('Y-m-d H:i:s', (int)$row['createtime']) : '-';
$row['updatetime_text'] = !empty($row['updatetime']) ? date('Y-m-d H:i:s', (int)$row['updatetime']) : '-';
$row['status_tag_text'] = $row['status'] === 'handled' ? '已处理完毕' : '待核实处理';
$row['status_tag_class'] = $row['status'] === 'handled' ? 'fc-tag-handled' : 'fc-tag-pending';
$row['type_tag_text'] = $row['target_type'] === 'post' ? '信息举报' : '评价举报';
$row['type_tag_class'] = $row['target_type'] === 'post' ? 'fc-tag-post' : 'fc-tag-comment';
// 1. 举报人(投诉方)画像
$reporterUser = Db::name('user')->where('id', (int)$row['reporter_id'])->find();
$reporterExt = $reporterUser ? Db::name('fc_user_ext')->where('user_id', $reporterUser['id'])->find() : null;
$reporterReportCount = Db::name('fc_report')->where('reporter_id', (int)$row['reporter_id'])->count();
$reporter = [
'id' => (int)$row['reporter_id'],
'nickname' => $reporterUser ? ($reporterUser['nickname'] ?: $reporterUser['username']) : '未注册/匿名',
'username' => $reporterUser['username'] ?? '-',
'mobile' => $reporterUser['mobile'] ?? '未绑定',
'avatar' => $reporterUser['avatar'] ?? '',
'status' => $reporterUser['status'] ?? 'normal',
'user_type' => $reporterExt ? ($reporterExt['user_type'] == 2 ? '商家' : '个人') : '个人',
'realname' => $reporterExt['realname'] ?? '',
'realname_status'=> $reporterExt ? (int)$reporterExt['realname_status'] : 0,
'realname_text' => ($reporterExt && $reporterExt['realname_status'] == 1) ? ('已实名 (' . ($reporterExt['realname'] ?: '已认证') . ')') : '未实名认证',
'realname_class' => ($reporterExt && $reporterExt['realname_status'] == 1) ? 'text-success' : 'text-muted',
'report_count' => (int)$reporterReportCount,
'createtime' => !empty($reporterUser['createtime']) ? date('Y-m-d', $reporterUser['createtime']) : '-',
];
// 2. 被举报标的与被举报人画像
$targetInfo = [];
$targetImages = [];
$targetAuthor = [];
$relatedPost = []; // 评价举报时关联的原帖全貌
// 本标的累计被举报次数
$targetTotalReports = Db::name('fc_report')
->where('target_type', $row['target_type'])
->where('target_id', $row['target_id'])
->count();
if ($row['target_type'] === 'post') {
$post = Db::name('fc_post')->where('id', (int)$row['target_id'])->find();
if ($post) {
$categoryName = (string)Db::name('fc_category')->where('id', $post['category_id'])->value('name');
$authorUser = Db::name('user')->where('id', $post['user_id'])->find();
$authorExt = $authorUser ? Db::name('fc_user_ext')->where('user_id', $authorUser['id'])->find() : null;
// 作者名下发帖总数与被举报总数
$authorPostCount = Db::name('fc_post')->where('user_id', $post['user_id'])->count();
$authorReportedCount = Db::name('fc_report')->where('target_type', 'post')->where('target_id', 'in', function ($q) use ($post) {
$q->name('fc_post')->where('user_id', $post['user_id'])->field('id');
})->count();
$authorStatus = $authorUser ? ($authorUser['status'] ?? 'normal') : 'normal';
$targetAuthor = [
'id' => $post['user_id'],
'nickname' => $authorUser ? ($authorUser['nickname'] ?: $authorUser['username']) : ('用户' . $post['user_id']),
'mobile' => $authorUser['mobile'] ?? '-',
'status' => $authorStatus,
'status_text' => $authorStatus === 'normal' ? '账号正常' : '账号已受限',
'status_class' => $authorStatus === 'normal' ? 'label-success' : 'label-danger',
'user_type' => $authorExt ? ($authorExt['user_type'] == 2 ? '商家' : '个人') : ($post['identity_type'] == 2 ? '商家' : '个人'),
'realname' => $authorExt['realname'] ?? '',
'realname_status'=> $authorExt ? (int)$authorExt['realname_status'] : 0,
'realname_text' => ($authorExt && $authorExt['realname_status'] == 1) ? ('已实名 (' . ($authorExt['realname'] ?: '已认证') . ')') : '未实名',
'realname_class' => ($authorExt && $authorExt['realname_status'] == 1) ? 'text-success' : 'text-muted',
'is_member' => $authorExt ? (int)$authorExt['is_member'] : 0,
'member_level' => $authorExt['member_level'] ?? '',
'post_count' => (int)$authorPostCount,
'reported_count' => (int)$authorReportedCount,
'reported_class' => $authorReportedCount > 0 ? 'text-danger' : 'text-muted',
];
// 解析帖子图片
if (!empty($post['cover'])) {
$targetImages[] = $post['cover'];
}
if (!empty($post['media'])) {
$mediaList = json_decode($post['media'], true);
if (is_array($mediaList)) {
foreach ($mediaList as $m) {
if (is_string($m) && $m !== '' && !in_array($m, $targetImages, true)) {
$targetImages[] = $m;
}
}
}
}
$targetInfo = [
'id' => $post['id'],
'title' => $post['title'],
'category' => $categoryName ?: '默认分类',
'category_id' => $post['category_id'],
'identity_type' => (int)$post['identity_type'] === 2 ? '商家发布' : '个人发布',
'price' => (float)$post['price'] > 0 ? (string)$post['price'] : '面议',
'price_unit' => $post['price_unit'] ?: '',
'area' => $post['area'] ?: '-',
'address' => $post['address'] ?: '未提供详细地址',
'contact' => $post['contact'] ?: '-',
'phone' => $post['phone'] ?: '-',
'wechat' => $post['wechat'] ?: '-',
'tags' => $post['tags'] ? explode(',', $post['tags']) : [],
'views' => (int)$post['views'],
'likes' => (int)$post['likes'],
'comment_count' => (int)$post['comment_count'],
'is_top' => (int)$post['is_top'] === 1 ? '置顶中' : '未置顶',
'is_paid' => (int)$post['is_paid'] === 1 ? '付费发布' : '免费发布',
'amount' => (float)$post['amount'],
'content' => $post['content'],
'status' => (int)$post['status'] === 1 ? '正常' : '已下架',
'status_val' => (int)$post['status'],
'status_class' => (int)$post['status'] === 1 ? 'label-success' : 'label-danger',
'status_text' => (int)$post['status'] === 1 ? '正常' : '已下架',
'audit_status' => (int)$post['audit_status'] === 1 ? '审核通过' : ((int)$post['audit_status'] === 2 ? '已驳回' : '待审核'),
'createtime' => $post['createtime'] ? date('Y-m-d H:i:s', $post['createtime']) : '-',
'updatetime' => $post['updatetime'] ? date('Y-m-d H:i:s', $post['updatetime']) : '-',
'is_deleted' => false,
];
} else {
$targetInfo = [
'id' => (int)$row['target_id'],
'title' => '(该信息已被物理删除或不存在)',
'category' => '-',
'category_id' => 0,
'identity_type' => '-',
'price' => '-',
'price_unit' => '',
'area' => '-',
'address' => '-',
'contact' => '-',
'phone' => '-',
'wechat' => '-',
'tags' => [],
'views' => 0,
'likes' => 0,
'comment_count' => 0,
'is_top' => '未置顶',
'is_paid' => '免费发布',
'amount' => 0,
'content' => '该帖子已被彻底删除或不存在,无法查看原文细节。',
'status' => '已彻底删除',
'status_val' => 0,
'status_class' => 'label-default',
'status_text' => '已彻底删除',
'audit_status' => '-',
'createtime' => '-',
'updatetime' => '-',
'is_deleted' => true,
];
$targetAuthor = [
'id' => 0,
'nickname' => '未知/账号已注销',
'mobile' => '-',
'status' => 'normal',
'status_text' => '账号未知',
'status_class' => 'label-default',
'user_type' => '个人',
'realname' => '',
'realname_status'=> 0,
'realname_text' => '未实名',
'realname_class' => 'text-muted',
'is_member' => 0,
'member_level' => '',
'post_count' => 0,
'reported_count' => 0,
'reported_class' => 'text-muted',
];
}
} elseif ($row['target_type'] === 'comment') {
$comment = Db::name('fc_comment')->where('id', (int)$row['target_id'])->find();
if ($comment) {
// 评价作者画像(被举报人)
$commentAuthorUser = Db::name('user')->where('id', $comment['user_id'])->find();
$commentAuthorExt = $commentAuthorUser ? Db::name('fc_user_ext')->where('user_id', $commentAuthorUser['id'])->find() : null;
$commentAuthorReportedCount = Db::name('fc_report')->where('target_type', 'comment')->where('target_id', 'in', function ($q) use ($comment) {
$q->name('fc_comment')->where('user_id', $comment['user_id'])->field('id');
})->count();
$cAuthorStatus = $commentAuthorUser ? ($commentAuthorUser['status'] ?? 'normal') : 'normal';
$targetAuthor = [
'id' => $comment['user_id'],
'nickname' => $commentAuthorUser ? ($commentAuthorUser['nickname'] ?: $commentAuthorUser['username']) : ('用户' . $comment['user_id']),
'mobile' => $commentAuthorUser['mobile'] ?? '-',
'status' => $cAuthorStatus,
'status_text' => $cAuthorStatus === 'normal' ? '账号正常' : '账号已受限',
'status_class' => $cAuthorStatus === 'normal' ? 'label-success' : 'label-danger',
'user_type' => $commentAuthorExt ? ($commentAuthorExt['user_type'] == 2 ? '商家' : '个人') : '个人',
'realname' => $commentAuthorExt['realname'] ?? '',
'realname_status'=> $commentAuthorExt ? (int)$commentAuthorExt['realname_status'] : 0,
'realname_text' => ($commentAuthorExt && $commentAuthorExt['realname_status'] == 1) ? ('已实名 (' . ($commentAuthorExt['realname'] ?: '已认证') . ')') : '未实名',
'realname_class' => ($commentAuthorExt && $commentAuthorExt['realname_status'] == 1) ? 'text-success' : 'text-muted',
'is_member' => $commentAuthorExt ? (int)$commentAuthorExt['is_member'] : 0,
'member_level' => $commentAuthorExt['member_level'] ?? '',
'post_count' => (int)Db::name('fc_comment')->where('user_id', $comment['user_id'])->count(),
'reported_count' => (int)$commentAuthorReportedCount,
'reported_class' => $commentAuthorReportedCount > 0 ? 'text-danger' : 'text-muted',
];
// 评价关联的原帖背景信息
$relPost = Db::name('fc_post')->where('id', $comment['post_id'])->find();
if ($relPost) {
$relAuthorUser = Db::name('user')->where('id', $relPost['user_id'])->find();
$relCategoryName = (string)Db::name('fc_category')->where('id', $relPost['category_id'])->value('name');
$relatedPost = [
'id' => $relPost['id'],
'title' => $relPost['title'],
'category' => $relCategoryName ?: '分类',
'author' => $relAuthorUser ? ($relAuthorUser['nickname'] ?: $relAuthorUser['username']) : ('用户' . $relPost['user_id']),
'author_id' => $relPost['user_id'],
'author_mobile' => $relAuthorUser['mobile'] ?? '-',
'price' => (float)$relPost['price'] > 0 ? (string)$relPost['price'] : '面议',
'price_unit' => $relPost['price_unit'] ?: '',
'cover' => $relPost['cover'] ?: '',
'content' => mb_substr(strip_tags($relPost['content']), 0, 80) . '...',
'status' => (int)$relPost['status'] === 1 ? '正常' : '已下架',
];
}
// 评价图片
if (!empty($comment['images'])) {
$cImages = json_decode($comment['images'], true);
if (is_array($cImages)) {
$targetImages = $cImages;
} elseif (is_string($comment['images'])) {
$targetImages = array_filter(explode(',', $comment['images']));
}
}
$cScore = (int)$comment['score'];
$targetInfo = [
'id' => $comment['id'],
'post_id' => $comment['post_id'],
'score' => $cScore,
'score_stars' => str_repeat('★', max(1, min(5, $cScore))),
'content' => $comment['content'],
'reply' => $comment['reply'],
'replytime' => $comment['replytime'] ? date('Y-m-d H:i:s', $comment['replytime']) : '',
'status' => (int)$comment['status'] === 1 ? '正常' : '已屏蔽',
'status_val' => (int)$comment['status'],
'status_class' => (int)$comment['status'] === 1 ? 'label-success' : 'label-danger',
'status_text' => (int)$comment['status'] === 1 ? '正常' : '已屏蔽',
'createtime' => $comment['createtime'] ? date('Y-m-d H:i:s', $comment['createtime']) : '-',
'is_deleted' => false,
];
} else {
$targetInfo = [
'id' => (int)$row['target_id'],
'post_id' => 0,
'score' => 5,
'score_stars' => '★★★★★',
'content' => '该评价已被彻底删除或不存在。',
'reply' => '',
'replytime' => '',
'status' => '已彻底删除',
'status_val' => 0,
'status_class' => 'label-default',
'status_text' => '已彻底删除',
'createtime' => '-',
'is_deleted' => true,
];
$targetAuthor = [
'id' => 0,
'nickname' => '未知/账号已注销',
'mobile' => '-',
'status' => 'normal',
'status_text' => '账号未知',
'status_class' => 'label-default',
'user_type' => '个人',
'realname' => '',
'realname_status'=> 0,
'realname_text' => '未实名',
'realname_class' => 'text-muted',
'is_member' => 0,
'member_level' => '',
'post_count' => 0,
'reported_count' => 0,
'reported_class' => 'text-muted',
];
}
}
// 3. 举报人上传的举证凭证
$images = [];
if (!empty($row['images'])) {
$images = array_filter(explode(',', (string)$row['images']));
}
$this->view->assign('row', $row);
$this->view->assign('reporter', $reporter);
$this->view->assign('targetAuthor', $targetAuthor);
$this->view->assign('targetInfo', $targetInfo);
$this->view->assign('targetImages', $targetImages);
$this->view->assign('relatedPost', $relatedPost);
$this->view->assign('targetTotalReports', $targetTotalReports);
$this->view->assign('images', $images);
return $this->view->fetch();
}
/**
* 处理举报
* 处理举报操作
* 支持单个或批量处理,更新 handle_remark 字段(保留用户的原始 remark 补充说明),
* 支持对违规帖子下架或违规评论屏蔽的一键联动处置,
* 并在处理完成后自动向举报人下发系统站内通知消息(附带小程序跳转参数)。
*
* POST 入参:
* - ids: 举报记录 ID 或 ID 数组
* - remark: 管理员处理备注
* - action: 联动处置动作,可选 'none'(默认仅标记)、'offline'(下架被举报信息/屏蔽被举报评论)
*
* @return void
*/
public function handle()
{
$ids = $this->request->post('ids');
$remark = $this->request->post('remark', '');
$remark = trim((string)$this->request->post('remark', ''));
$action = trim((string)$this->request->post('action', 'none'));
$ids = is_array($ids) ? $ids : explode(',', (string)$ids);
$ids = array_filter($ids);
$ids = array_filter(array_map('intval', $ids));
if (!$ids) {
$this->error('请选择要处理的举报');
}
Db::name('fc_report')->where('id', 'in', $ids)->update([
'status' => 'handled',
'remark' => $remark,
'updatetime' => time(),
]);
$this->success('处理成功');
$now = time();
$reports = Db::name('fc_report')->where('id', 'in', $ids)->select();
Db::startTrans();
try {
foreach ($reports as $report) {
$targetTitle = '';
$actionDesc = '平台已核实并记录处理';
// 如果勾选联动下架处置
if ($action === 'offline') {
if ($report['target_type'] === 'post') {
$post = Db::name('fc_post')->where('id', $report['target_id'])->find();
$targetTitle = $post ? (string)$post['title'] : '信息';
$actionDesc = '已下架违规信息';
// 下架对应信息(status 置为 0,并记录 audit_reason)
Db::name('fc_post')->where('id', $report['target_id'])->update([
'status' => 0,
'audit_reason' => '因用户举报违规被管理员下架:' . ($remark ?: $report['reason']),
'updatetime' => $now,
]);
} elseif ($report['target_type'] === 'comment') {
$cmt = Db::name('fc_comment')->where('id', $report['target_id'])->find();
$targetTitle = $cmt ? (mb_substr($cmt['content'], 0, 20) . '...') : '评价';
$actionDesc = '已屏蔽违规评价';
// 屏蔽对应评价(status 置为 0)
Db::name('fc_comment')->where('id', $report['target_id'])->update([
'status' => 0,
'updatetime' => $now,
]);
}
} else {
if ($report['target_type'] === 'post') {
$postTitle = Db::name('fc_post')->where('id', $report['target_id'])->value('title');
$targetTitle = $postTitle ? (string)$postTitle : '信息';
} else {
$cmtContent = Db::name('fc_comment')->where('id', $report['target_id'])->value('content');
$targetTitle = $cmtContent ? (mb_substr($cmtContent, 0, 20) . '...') : '评价';
}
}
// 更新举报记录为已处理,写入管理员处理备注
Db::name('fc_report')->where('id', $report['id'])->update([
'status' => 'handled',
'handle_remark' => $remark,
'updatetime' => $now,
]);
// 若举报人为平台注册用户,自动下发系统站内通知消息
$reporterId = (int)$report['reporter_id'];
if ($reporterId > 0) {
$typeCn = $report['target_type'] === 'post' ? '信息' : '评价';
$remarkNote = $remark !== '' ? ";管理员回复:{$remark}" : '';
$msgContent = "您于 " . date('Y-m-d H:i', $report['createtime']) . " 举报的{$typeCn}《{$targetTitle}》(原因:{$report['reason']}),平台已核实完毕。处理结果:{$actionDesc}{$remarkNote}。点击查看我的举报记录详情。感谢您的监督与支持!";
Db::name('fc_message')->insert([
'user_id' => $reporterId,
'type' => 'system',
'title' => '举报处理结果通知',
'content' => $msgContent,
'extra' => json_encode(['path' => '/pages/mine/reports', 'id' => (int)$report['id']], JSON_UNESCAPED_UNICODE),
'isread' => 0,
'createtime' => $now,
'updatetime' => $now,
]);
}
}
Db::commit();
} catch (\Exception $e) {
Db::rollback();
$this->error('处理失败:' . $e->getMessage());
}
$this->success('处理成功并已下发用户通知');
}
}

查看文件

@@ -115,7 +115,7 @@ class Setting extends Backend
return [
'appName' => $pick('base.appName', '同城分类信息'),
'logo' => $pick('base.logo', ''),
'servicePhone' => $pick('base.servicePhone', '400-000-0000'),
'servicePhone' => $pick('base.servicePhone', ''),
'aboutUs' => $pick('base.aboutUs', ''),
'shareTitle' => $pick('base.shareTitle', ''),
'virtualPayAudit' => (int)$pick('pay.virtualPayAudit', 1),

查看文件

@@ -1,14 +1,14 @@
<?php
return [
'Id' => 'ID',
'Target_type' => '举报对象',
'Id' => '序号',
'Target_type' => '举报类型',
'Target_id' => '对象ID',
'Reason' => '举报原因',
'Reporter_id' => '举报人ID',
'Reporter_id' => '举报人',
'Status' => '处理状态',
'Remark' => '处理备注',
'Createtime' => '创建时间',
'Updatetime' => '更新时间',
'Remark' => '用户说明',
'Createtime' => '举报时间',
'Updatetime' => '处理时间',
'HandleReport' => '处理'
];

查看文件

@@ -5,17 +5,14 @@ namespace app\admin\model;
use think\Model;
use app\common\library\FcRelation;
/**
* 同城-举报数据模型
*/
class FcReport extends Model
{
// 表名
protected $name = 'fc_report';
// 自动写入时间戳字段
protected $autoWriteTimestamp = 'integer';
@@ -31,11 +28,25 @@ class FcReport extends Model
'target_title',
];
/**
* 获取举报人昵称获取器
*
* @param mixed $value 原值
* @param array $data 行数据
* @return string
*/
public function getReporterNameAttr($value, $data)
{
return FcRelation::userName(isset($data['reporter_id']) ? $data['reporter_id'] : 0);
}
/**
* 获取被举报对象标题/摘要获取器
*
* @param mixed $value 原值
* @param array $data 行数据
* @return string
*/
public function getTargetTitleAttr($value, $data)
{
$type = isset($data['target_type']) ? $data['target_type'] : '';
@@ -48,9 +59,12 @@ class FcReport extends Model
}
return '';
}
/**
* 获取状态字典
*
* @return array
*/
public function getStatusList()
{
return [
@@ -59,15 +73,17 @@ class FcReport extends Model
];
}
/**
* 获取状态文本获取器
*
* @param mixed $value 原值
* @param array $data 行数据
* @return string
*/
public function getStatusTextAttr($value, $data)
{
$value = $value ?: ($data['status'] ?? '');
$list = $this->getStatusList();
return $list[$value] ?? '';
}
}

查看文件

@@ -0,0 +1,755 @@
<style>
.fc-report-detail {
padding: 16px;
background-color: #f1f5f9;
color: #334155;
font-size: 13px;
}
.fc-card {
background: #ffffff;
border-radius: 8px;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
margin-bottom: 14px;
overflow: hidden;
}
.fc-card-header {
padding: 12px 18px;
border-bottom: 1px solid #f1f5f9;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fafbfd;
}
.fc-card-title {
font-size: 14px;
font-weight: 700;
color: #1e293b;
margin: 0;
display: flex;
align-items: center;
gap: 8px;
}
.fc-card-body {
padding: 16px 18px;
}
.fc-tag {
display: inline-block;
padding: 2px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.fc-tag-post { background-color: #e0f2fe; color: #0284c7; }
.fc-tag-comment { background-color: #ede9fe; color: #7c3aed; }
.fc-tag-pending { background-color: #fef3c7; color: #d97706; }
.fc-tag-handled { background-color: #dcfce7; color: #15803d; }
/* 双边主体画像对照卡 - 等高对齐 */
.fc-profile-row {
display: flex;
gap: 14px;
margin-bottom: 14px;
align-items: stretch;
}
.fc-profile-col {
flex: 1;
background: #ffffff;
border-radius: 8px;
border: 1px solid #e2e8f0;
padding: 14px 16px;
box-shadow: 0 1px 3px rgba(0,0,0,0.03);
display: flex;
flex-direction: column;
justify-content: space-between;
}
.fc-profile-col.reporter-side {
border-left: 4px solid #3b82f6;
}
.fc-profile-col.target-side {
border-left: 4px solid #ef4444;
}
.fc-profile-title {
font-size: 13px;
font-weight: 700;
margin-bottom: 12px;
display: flex;
align-items: center;
justify-content: space-between;
}
.fc-profile-item {
margin-bottom: 8px;
display: flex;
align-items: center;
font-size: 12px;
}
.fc-profile-item:last-child {
margin-bottom: 0;
}
.fc-profile-item .label-name {
color: #64748b;
width: 75px;
flex-shrink: 0;
}
.fc-profile-item .label-val {
color: #1e293b;
font-weight: 600;
word-break: break-all;
}
/* 交易要素九宫格网格 */
.fc-props-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
margin-bottom: 14px;
}
.fc-prop-cell {
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 8px 12px;
}
.fc-prop-cell .cell-title {
font-size: 11px;
color: #64748b;
margin-bottom: 3px;
}
.fc-prop-cell .cell-val {
font-size: 13px;
font-weight: 700;
color: #1e293b;
word-break: break-all;
}
/* 附图画廊 */
.fc-gallery {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 8px;
}
.fc-evidence-img {
width: 96px;
height: 96px;
object-fit: cover;
border-radius: 6px;
border: 1px solid #cbd5e1;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.fc-evidence-img:hover {
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
/* 处置工作台 */
.fc-action-card {
border: 2px solid #00d26a;
background: #fcfdfd;
}
.fc-radio-label {
display: inline-flex;
align-items: center;
margin-right: 24px;
cursor: pointer;
font-weight: 600;
}
.fc-radio-label input {
margin-right: 6px;
}
</style>
<div class="fc-report-detail">
<!-- 0. 案件顶栏摘要 -->
<div class="fc-card" style="margin-bottom: 12px;">
<div class="fc-card-body" style="padding: 12px 18px; display: flex; align-items: center; justify-content: space-between;">
<div style="display: flex; align-items: center; gap: 12px;">
<span style="font-size: 15px; font-weight: 800; color: #0f172a;">工单 #{$row.id}</span>
<span class="fc-tag {$row.type_tag_class}">{$row.type_tag_text}</span>
<span style="font-size: 13px; color: #475569;">
举报原因:<strong class="text-danger">{$row.reason}</strong>
</span>
<span style="font-size: 12px; color: #94a3b8;">
提交时间:{$row.createtime_text}
</span>
</div>
<div style="display: flex; align-items: center; gap: 8px;">
{if condition="$targetTotalReports > 1"}
<span class="label label-danger font-12" style="padding: 4px 8px;">
<i class="fa fa-warning"></i> 累计被举报 {$targetTotalReports} 次
</span>
{/if}
<span class="fc-tag {$row.status_tag_class}">
{$row.status_tag_text}
</span>
</div>
</div>
</div>
<!-- 1. 纠纷双边主体画像(举报方 vs 被举报方) -->
<div class="fc-profile-row">
<!-- 举报方画像 -->
<div class="fc-profile-col reporter-side">
<div>
<div class="fc-profile-title text-primary">
<span><i class="fa fa-user-circle"></i> 举报人(投诉方)画像</span>
<span class="label label-info" style="font-size: 11px; font-weight: normal;">{$reporter.user_type}</span>
</div>
<div class="fc-profile-item">
<span class="label-name">用户昵称:</span>
<span class="label-val">{$reporter.nickname} <span class="text-muted font-11">(UID: {$reporter.id})</span></span>
</div>
<div class="fc-profile-item">
<span class="label-name">联系电话:</span>
<span class="label-val">{$reporter.mobile}</span>
</div>
<div class="fc-profile-item">
<span class="label-name">实名认证:</span>
<span class="label-val {$reporter.realname_class}">
<i class="fa fa-check-circle"></i> {$reporter.realname_text}
</span>
</div>
</div>
<div class="fc-profile-item" style="margin-top: 8px; border-top: 1px dashed #e2e8f0; padding-top: 6px;">
<span class="label-name">历史举报:</span>
<span class="label-val text-primary">累计发起 {$reporter.report_count} 次举报</span>
</div>
</div>
<!-- 被举报人画像 -->
<div class="fc-profile-col target-side">
<div>
<div class="fc-profile-title text-danger">
<span><i class="fa fa-shield"></i> 被举报责任人画像</span>
<span class="label {$targetAuthor.status_class}" style="font-size: 11px; font-weight: normal;">
{$targetAuthor.status_text}
</span>
</div>
{if condition="$targetAuthor.id > 0"}
<div class="fc-profile-item">
<span class="label-name">责任作者:</span>
<span class="label-val">{$targetAuthor.nickname} <span class="text-muted font-11">(UID: {$targetAuthor.id})</span></span>
</div>
<div class="fc-profile-item">
<span class="label-name">绑定手机:</span>
<span class="label-val">{$targetAuthor.mobile}</span>
</div>
<div class="fc-profile-item">
<span class="label-name">身份/实名:</span>
<span class="label-val">
{$targetAuthor.user_type} ·
<span class="{$targetAuthor.realname_class}">{$targetAuthor.realname_text}</span>
</span>
</div>
{else /}
<div class="text-muted" style="padding: 10px 0;"><i class="fa fa-info-circle"></i> 原作者账号已注销或原内容已彻底清理</div>
{/if}
</div>
<div class="fc-profile-item" style="margin-top: 8px; border-top: 1px dashed #e2e8f0; padding-top: 6px;">
<span class="label-name">风控记录:</span>
<span class="label-val">
名下内容累计被举报 <strong class="{$targetAuthor.reported_class}">{$targetAuthor.reported_count}</strong> 次
<span class="text-muted font-11">(历史发布: {$targetAuthor.post_count} 条)</span>
</span>
</div>
</div>
</div>
<!-- 2. 被举报标的物全息信息 -->
<div class="fc-card">
<div class="fc-card-header">
<h4 class="fc-card-title">
<i class="fa fa-file-text-o text-warning"></i>
{$row.target_type == 'post' ? '被举报信息(帖子)完整全貌' : '被举报评价原文及交易背景'}
</h4>
<span class="text-muted font-12">
目标ID: #{$row.target_id} &nbsp;|&nbsp;
当前状态:<span class="label {$targetInfo.status_class}">{$targetInfo.status_text}</span>
</span>
</div>
<div class="fc-card-body">
{if condition="$row.target_type == 'post'"}
{if condition="!$targetInfo.is_deleted"}
<!-- 帖子标题与分类 -->
<div style="margin-bottom: 14px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px;">
<div style="display:flex;align-items:center;gap:10px;">
<span class="label label-primary font-12">{$targetInfo.category}</span>
<span class="label label-default font-12">{$targetInfo.identity_type}</span>
<span class="label {$targetInfo.is_paid == '付费发布' ? 'label-warning' : 'label-default'} font-12">
{$targetInfo.is_paid}
</span>
<h4 style="margin: 0; font-weight: 800; color: #0f172a; font-size: 16px; line-height: 1.4;">{$targetInfo.title}</h4>
</div>
</div>
<!-- 交易与联络要素网格 -->
<div class="fc-props-grid">
<div class="fc-prop-cell">
<div class="cell-title">商品/服务标价</div>
<div class="cell-val text-warning" style="font-size: 15px;">
{if condition="$targetInfo.price != '面议'"}
¥{$targetInfo.price} {$targetInfo.price_unit}
{else /}
面议
{/if}
</div>
</div>
<div class="fc-prop-cell">
<div class="cell-title">联系人称呼</div>
<div class="cell-val">{$targetInfo.contact}</div>
</div>
<div class="fc-prop-cell">
<div class="cell-title">联系电话</div>
<div class="cell-val text-primary"><i class="fa fa-phone"></i> {$targetInfo.phone}</div>
</div>
<div class="fc-prop-cell" style="background: #f0fdf4; border-color: #86efac;">
<div class="cell-title" style="color: #15803d;"><i class="fa fa-weixin"></i> 微信号(重点排查引流)</div>
<div class="cell-val" style="color: #15803d;">{$targetInfo.wechat}</div>
</div>
<div class="fc-prop-cell">
<div class="cell-title">所在区域与位置</div>
<div class="cell-val" title="{$targetInfo.address}">
{$targetInfo.area} · {$targetInfo.address}
</div>
</div>
<div class="fc-prop-cell">
<div class="cell-title">发布与更新时间</div>
<div class="cell-val font-12" style="font-weight: normal;">{$targetInfo.createtime}</div>
</div>
<div class="fc-prop-cell">
<div class="cell-title">运营曝光数据</div>
<div class="cell-val font-12" style="font-weight: normal;">
浏览 <strong>{$targetInfo.views}</strong> · 点赞 <strong>{$targetInfo.likes}</strong> · 评论 <strong>{$targetInfo.comment_count}</strong>
</div>
</div>
<div class="fc-prop-cell">
<div class="cell-title">审核状态 / 置顶</div>
<div class="cell-val font-12">{$targetInfo.audit_status} · {$targetInfo.is_top}</div>
</div>
</div>
<!-- 完整正文内容 -->
<div style="margin-bottom: 14px;">
<label class="text-muted" style="display:block;margin-bottom:6px;font-size:12px;font-weight:700;">帖子完整正文长文本:</label>
<div style="font-size:13px;line-height:1.75;color:#1e293b;white-space:pre-wrap;background:#f8fafc;padding:14px;border-radius:6px;border:1px solid #e2e8f0;">{$targetInfo.content}</div>
</div>
<!-- 原帖附图全集 -->
{if condition="!empty($targetImages)"}
<div>
<label class="text-muted" style="display:block;margin-bottom:6px;font-size:12px;font-weight:700;">原帖所有配图(共 {:count($targetImages)} 张,点击查看高清大图):</label>
<div class="fc-gallery">
{foreach name="targetImages" item="tImg"}
<img src="{$tImg}" class="fc-evidence-img" title="点击查看大图" />
{/foreach}
</div>
</div>
{/if}
{else /}
<div class="alert alert-warning no-margin">
<i class="fa fa-warning"></i> 被举报的信息已被彻底删除或不存在,无法查看原文细节。
</div>
{/if}
{else /}
<!-- 评价举报场景 -->
{if condition="!empty($relatedPost)"}
<!-- 关联原帖背景 -->
<div style="background: #f8fafc; padding: 12px 14px; border-radius: 6px; border: 1px dashed #cbd5e1; margin-bottom: 14px;">
<div style="font-size: 11px; color: #64748b; margin-bottom: 4px;"><i class="fa fa-link"></i> 被评价的原信息背景:</div>
<div style="display:flex;align-items:center;justify-content:space-between;">
<span style="font-size: 14px; font-weight: 700; color: #0f172a;">《{$relatedPost.title}》</span>
<span class="text-warning font-bold">
{if condition="$relatedPost.price != '面议'"}
¥{$relatedPost.price} {$relatedPost.price_unit}
{else /}
面议
{/if}
</span>
</div>
<div class="text-muted font-12" style="margin-top: 4px;">
分类:{$relatedPost.category} &nbsp;·&nbsp;
发帖商家:<strong>{$relatedPost.author}</strong> (UID: {$relatedPost.author_id} / 电话: {$relatedPost.author_mobile})
</div>
<div class="text-muted font-12" style="margin-top: 4px; color: #64748b;">
原帖摘要:{$relatedPost.content}
</div>
</div>
{/if}
{if condition="!$targetInfo.is_deleted"}
<div style="background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px;">
<div style="display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;">
<div>
<span class="text-muted font-12">评价星级:</span>
<span class="text-warning" style="font-size:15px;font-weight:700;">
{$targetInfo.score_stars}
<span style="font-size:12px;">({$targetInfo.score} 星)</span>
</span>
</div>
<span class="text-muted font-12">评价发表时间:{$targetInfo.createtime}</span>
</div>
<div style="font-size:13px;line-height:1.7;color:#0f172a;background:#f8fafc;padding:12px;border-radius:6px;border:1px solid #e2e8f0;">
{$targetInfo.content}
</div>
{if condition="!empty($targetImages)"}
<div style="margin-top: 10px;">
<span class="text-muted font-12" style="display:block;margin-bottom:6px;">评价配图(点击查看大图):</span>
<div class="fc-gallery">
{foreach name="targetImages" item="cImg"}
<img src="{$cImg}" class="fc-evidence-img" title="评价配图" />
{/foreach}
</div>
</div>
{/if}
{if condition="!empty($targetInfo.reply)"}
<div style="margin-top: 12px; background: #eefaf2; border-left: 3px solid #00d26a; padding: 10px 14px; border-radius: 0 4px 4px 0;">
<div style="font-weight:700;color:#04874a;font-size:12px;">
<i class="fa fa-reply"></i> 商家公开回复({$targetInfo.replytime}):
</div>
<div style="color:#1e293b;margin-top:4px;font-size:13px;">{$targetInfo.reply}</div>
</div>
{/if}
</div>
{else /}
<div class="alert alert-warning no-margin">
<i class="fa fa-warning"></i> 被举报的评价已被彻底删除或不存在。
</div>
{/if}
{/if}
</div>
</div>
<!-- 3. 举报人提供的补充文字说明与截图证据 -->
<div class="fc-card">
<div class="fc-card-header">
<h4 class="fc-card-title"><i class="fa fa-bullhorn text-danger"></i> 举报人提供的证据与违规说明</h4>
</div>
<div class="fc-card-body">
<div style="margin-bottom: 12px;">
<label class="text-muted" style="display:block;margin-bottom:4px;font-size:12px;font-weight:700;">举报补充说明:</label>
<div style="background:#f8fafc;padding:12px 14px;border-radius:6px;font-size:13px;line-height:1.6;color:#1e293b;border:1px solid #e2e8f0;">
{$row.remark|default='举报人未填写补充文字说明'}
</div>
</div>
{if condition="!empty($images)"}
<div>
<label class="text-muted" style="display:block;margin-bottom:6px;font-size:12px;font-weight:700;">证据截图凭证(点击查看高清大图):</label>
<div class="fc-gallery">
{foreach name="images" item="img"}
<img src="{$img}" class="fc-evidence-img" title="点击查看大图" />
{/foreach}
</div>
</div>
{else /}
<div class="text-muted font-12"><i class="fa fa-info-circle"></i> 举报人未上传截图凭证</div>
{/if}
</div>
</div>
<!-- 4. 审核处置操作面板(待处理时提供工作台,已处理时展示处理记录) -->
{if condition="$row.status == 'pending'"}
<div class="fc-card fc-action-card">
<div class="fc-card-header" style="background-color: #f0fdf4;">
<h4 class="fc-card-title text-success"><i class="fa fa-gavel"></i> 举报核实处置工作台</h4>
<span class="text-muted font-12"><i class="fa fa-bell-o"></i> 处置后系统将自动在数据库事务中向举报人推送通知消息</span>
</div>
<div class="fc-card-body">
<form id="handle-form" class="form-horizontal" role="form">
<input type="hidden" name="ids" value="{$row.id}" />
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2" style="font-weight:700;">处置措施:</label>
<div class="col-xs-12 col-sm-10" style="padding-top:7px;">
<label class="fc-radio-label text-danger">
<input type="radio" name="action" value="offline" checked />
<i class="fa fa-ban"></i>
{$row.target_type == 'post' ? '下架该违规信息,并标记为已处理' : '屏蔽该违规评价,并标记为已处理'}
</label>
<label class="fc-radio-label text-muted">
<input type="radio" name="action" value="none" />
<i class="fa fa-check-circle"></i>
无需下架(内容合规,仅标记处理/驳回举报)
</label>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2" style="font-weight:700;">回复/备注:</label>
<div class="col-xs-12 col-sm-10">
<textarea id="remark" name="remark" class="form-control" rows="3" placeholder="请输入处理备注(该内容将同步通知给举报人)">经平台核实情况属实,已予以处置。感谢您的监督与支持!</textarea>
<span class="help-block text-muted font-12" style="margin-bottom:0;margin-top:6px;">
<i class="fa fa-info-circle"></i> 提示:处理完成后,系统将自动向举报用户下发系统消息通知,用户可在小程序【我的举报】中直接查阅。
</span>
</div>
</div>
<div class="form-group" style="margin-bottom:0;">
<div class="col-xs-12 col-sm-10 col-sm-offset-2">
<button type="button" id="btn-submit-handle" class="btn btn-success btn-embossed" style="min-width:140px;font-weight:700;">
<i class="fa fa-check"></i> 确认处理并通知用户
</button>
<button type="button" id="btn-close-handle" class="btn btn-default btn-embossed" style="margin-left:12px;">
取消关闭
</button>
</div>
</div>
</form>
</div>
</div>
{else /}
<div class="fc-card">
<div class="fc-card-header">
<h4 class="fc-card-title"><i class="fa fa-check-circle text-success"></i> 平台处理记录</h4>
<span class="text-muted font-12">处理时间:{$row.updatetime_text}</span>
</div>
<div class="fc-card-body">
<div class="alert alert-success no-margin">
<p><strong><i class="fa fa-check-square-o"></i> 状态:已核实处理完毕</strong></p>
<p style="margin-top:8px;margin-bottom:0;font-size:13px;">
<strong>处理说明 / 回复内容:</strong>{$row.handle_remark|default='已核实处理'}
</p>
</div>
</div>
</div>
{/if}
</div>
<script>
(function () {
/**
* 刷新父页面列表表格
*/
function refreshParent() {
try {
if (window.parent && window.parent.$ && window.parent.$("#table").length) {
window.parent.$("#table").bootstrapTable('refresh');
}
} catch (e) {}
try {
if (window.top && window.top.$ && window.top.$("#table").length) {
window.top.$("#table").bootstrapTable('refresh');
}
} catch (e) {}
try {
if (window.top && window.top.$) {
window.top.$('.tab-pane.active iframe').each(function () {
if (this.contentWindow && this.contentWindow.$ && this.contentWindow.$("#table").length) {
this.contentWindow.$("#table").bootstrapTable('refresh');
}
});
}
} catch (e) {}
}
/**
* 关闭当前弹窗窗口
*/
function closeDialog() {
try {
var Fast = window.Fast || (window.parent && window.parent.Fast) || (window.top && window.top.Fast);
if (Fast && Fast.api && Fast.api.close) {
Fast.api.close();
return;
}
} catch (e) {}
try {
var l = (window.parent && window.parent.Layer) || (window.parent && window.parent.layer) || (window.top && window.top.Layer) || (window.top && window.top.layer);
if (l) {
var idx = l.getFrameIndex ? l.getFrameIndex(window.name) : null;
if (idx) {
l.close(idx);
return;
}
}
} catch (e) {}
try {
window.close();
} catch (e) {}
}
/**
* 获取可用 Layer 对象
*/
function getLayer() {
try {
if (window.Layer) return window.Layer;
if (window.layer) return window.layer;
if (window.parent && window.parent.Layer) return window.parent.Layer;
if (window.parent && window.parent.layer) return window.parent.layer;
if (window.top && window.top.Layer) return window.top.Layer;
if (window.top && window.top.layer) return window.top.layer;
} catch (e) {}
return null;
}
/**
* 获取可用 Fast 对象
*/
function getFast() {
try {
if (window.Fast && window.Fast.api) return window.Fast;
if (window.parent && window.parent.Fast && window.parent.Fast.api) return window.parent.Fast;
if (window.top && window.top.Fast && window.top.Fast.api) return window.top.Fast;
} catch (e) {}
return null;
}
/**
* 获取可用 Toastr 对象
*/
function getToastr() {
try {
if (window.Toastr) return window.Toastr;
if (window.toastr) return window.toastr;
if (window.parent && window.parent.Toastr) return window.parent.Toastr;
if (window.top && window.top.Toastr) return window.top.Toastr;
} catch (e) {}
return null;
}
// 1. 动态切换处置话术提示
document.addEventListener('change', function (e) {
if (e.target && e.target.name === 'action') {
var remarkArea = document.getElementById('remark');
if (remarkArea) {
if (e.target.value === 'offline') {
remarkArea.value = '经平台核实情况属实,已予以处置。感谢您的监督与支持!';
} else {
remarkArea.value = '经平台核实该内容暂未构成违规。感谢您的反馈与对平台的关注!';
}
}
}
});
// 2. 原生点击事件捕获(双重兜底,即便未加载完 RequireJS 也 100% 响应)
document.addEventListener('click', function (e) {
var target = e.target;
if (!target) return;
// 2.1 点击【确认处理并通知用户】按钮
var submitBtn = target.closest ? target.closest('#btn-submit-handle') : (target.id === 'btn-submit-handle' ? target : null);
if (submitBtn) {
e.preventDefault();
e.stopPropagation();
if (submitBtn.disabled) return false;
var form = document.getElementById('handle-form');
if (!form) return false;
var formData = $(form).serialize();
var l = getLayer();
var f = getFast();
var t = getToastr();
var executeSubmit = function () {
submitBtn.disabled = true;
submitBtn.innerHTML = '<i class="fa fa-spinner fa-spin"></i> 正在提交处理...';
var onDone = function (msg) {
if (t) t.success(msg || '处理成功');
// 1. 立即触发父窗口列表刷新
refreshParent();
// 2. 平滑关闭当前弹窗
setTimeout(function () {
closeDialog();
}, 350);
};
if (f && f.api && f.api.ajax) {
f.api.ajax({
url: 'fc/report/handle',
data: formData
}, function (res, ret) {
onDone(ret && ret.msg ? ret.msg : '处理成功');
return false;
}, function (err) {
submitBtn.disabled = false;
submitBtn.innerHTML = '<i class="fa fa-check"></i> 确认处理并通知用户';
return true;
});
} else {
// 原生 jQuery ajax 兜底
$.ajax({
url: 'fc/report/handle',
type: 'POST',
data: formData,
dataType: 'json',
success: function (ret) {
if (ret.code === 1) {
onDone(ret.msg || '处理成功');
} else {
alert(ret.msg || '处理失败');
submitBtn.disabled = false;
submitBtn.innerHTML = '<i class="fa fa-check"></i> 确认处理并通知用户';
}
},
error: function () {
alert('网络请求异常,请重试');
submitBtn.disabled = false;
submitBtn.innerHTML = '<i class="fa fa-check"></i> 确认处理并通知用户';
}
});
}
};
if (l && l.confirm) {
l.confirm('确定要执行该处置操作吗?系统将自动下发通知给举报人。', {
title: '审核处置确认',
icon: 3
}, function (index) {
l.close(index);
executeSubmit();
});
} else {
if (confirm('确定要执行该处置操作吗?系统将自动下发通知给举报人。')) {
executeSubmit();
}
}
return false;
}
// 2.2 点击【取消关闭】按钮
var closeBtn = target.closest ? target.closest('#btn-close-handle') : (target.id === 'btn-close-handle' ? target : null);
if (closeBtn) {
e.preventDefault();
e.stopPropagation();
closeDialog();
return false;
}
// 2.3 点击证据或配图查看高清大图
var imgTarget = target.closest ? target.closest('.fc-evidence-img') : (target.classList && target.classList.contains('fc-evidence-img') ? target : null);
if (imgTarget) {
e.preventDefault();
e.stopPropagation();
var src = imgTarget.getAttribute('src');
if (!src) return false;
var l = getLayer();
if (l && l.open) {
l.open({
type: 1,
title: false,
closeBtn: 1,
area: ['auto', 'auto'],
skin: 'layui-layer-nobg',
shadeClose: true,
content: '<div style="text-align:center;padding:12px;background:#ffffff;border-radius:8px;max-width:92vw;max-height:88vh;overflow:auto;"><img src="' + src + '" style="max-width:100%;max-height:80vh;object-fit:contain;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,0.15);" /></div>'
});
} else {
window.open(src, '_blank');
}
return false;
}
}, true);
})();
</script>

查看文件

@@ -18,8 +18,8 @@
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}">刷新</a>
</div>
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
data-operate-edit="{:$auth->check('fc/report/edit')}"
data-operate-del="{:$auth->check('fc/report/del')}"
data-operate-edit="false"
data-operate-del="false"
width="100%">
</table>
</div>