+ {/* ===== 基础信息 ===== */}
+
+
基础信息
+
+ {detail.name}
+
+ {detail.eventTime}
+
+
+
+ {detail.descr}
+
+
+ {detail.registerTime}
+
+ {detail.cancelDeadline}
+
+
+ {detail.region}
+ {detail.address}
+ {detail.venueNo}
+
+ {detail.publicEvent}
+ {detail.needIdCard}
+ {detail.needIdCardImage}
+
+ {detail.createTime}
+ {detail.creator}
+ {detail.status}
+ {detail.enrolledCount}
+
+ {detail.cancelledCount}
+
+
+ {detail.maxCount}
+ {detail.crossedCount}
+ {detail.completedCount}
+
+
+
+ {/* ===== 封面 ===== */}
+
+
+ {/* ===== 审核操作 ===== */}
+
+
+
+
+ 通过
+ 未通过
+
+
+
+
+
+
+
+
+ );
+ },
+});
diff --git a/src/pages/events/list/index.tsx b/src/pages/events/list/index.tsx
index 897a73b..58f9a25 100644
--- a/src/pages/events/list/index.tsx
+++ b/src/pages/events/list/index.tsx
@@ -11,6 +11,7 @@ import {
Tooltip,
Pagination,
Modal,
+ message,
} from 'ant-design-vue';
import {
useEventListModel,
@@ -23,6 +24,7 @@ import { regionOptions } from '@/utils/areaData';
import { useContainerSize, useState } from '@/hooks';
import EventRegulationModal from './components/EventRegulationModal';
import EventDetailModal from './components/EventDetailModal';
+import EventAuditModal from './components/EventAuditModal';
import styles from './index.module.less';
import pageStyles from '@/components/page/pageLayout.module.less';
@@ -36,15 +38,15 @@ function renderBodyCell({
text,
record,
onView,
- onRemove,
- onViewRegulation,
+ onAudit,
+ onToggleShelf,
}: {
column: any;
text: any;
record: any;
onView: (record: any) => void;
- onRemove: (record: any) => void;
- onViewRegulation: (record: any) => void;
+ onAudit: (record: any) => void;
+ onToggleShelf: (record: any) => void;
}) {
if (column.dataIndex === 'eventName') {
const maxLen = 15;
@@ -61,29 +63,67 @@ function renderBodyCell({
if (column.key === 'regulation') {
return (
-