diff --git a/src/views/cees/waiTeacher/CeesWaiTeacherList.vue b/src/views/cees/waiTeacher/CeesWaiTeacherList.vue
index 6458f21..5a25b56 100644
--- a/src/views/cees/waiTeacher/CeesWaiTeacherList.vue
+++ b/src/views/cees/waiTeacher/CeesWaiTeacherList.vue
@@ -336,18 +336,16 @@
const actions = [];
const handleConfirm = (actionType) => {
- //const currentUser = useSelector((state) => state.user.currentUser);
- //console.log(currentUser)
- console.log(record);
+ const isConfirmAction = actionType === 'confirm';
+
Modal.confirm({
- title: actionType === 'confirm' ? '确认报到' : '取消确认',
+ title: isConfirmAction ? '请核对信息!!!' : '',
content: ,
- // 注意:如果你使用的是 JSX 或 Vue3 的 h() 语法,可以使用 `content: () => h('div', ...)`
- okText: '确认',
- cancelText: '取消',
- width: 800, // 👈 增加宽度
+ okText: isConfirmAction ? '确认报道' : '取消报道', // 根据操作类型设置确认按钮文本
+ cancelText: isConfirmAction ? '取消' : '关闭', // 根据操作类型设置取消按钮文本
+ width: 800,
onOk: () => {
- if (actionType === 'confirm') {
+ if (isConfirmAction) {
updateStatus(record.id);
} else {
updateStatus(record.id, 'un');
@@ -399,9 +397,10 @@
{record.bankName}
{record.carNumber}
- {record.mealCard}
+ {/*{record.mealCard}*/}
- {record.dormitoryName}
+ {record.groupId}
+ {record.dormitoryName}
{record.majorIdDescription}
);