From 83adecdcb87bb103fe1ed3cafdb90541ee87b7b4 Mon Sep 17 00:00:00 2001 From: Codewoc <947380458@qq.com> Date: Mon, 23 Mar 2026 13:54:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(meeting):=20=E8=B0=83=E6=95=B4=E4=BC=9A?= =?UTF-8?q?=E8=AE=AE=E5=88=97=E8=A1=A8=E9=A1=B5UI=EF=BC=8C=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=96=87=E6=A1=88=E5=AF=B9=E9=BD=90=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E7=A8=BF=EF=BC=8C=E5=85=A5=E5=8F=A3=E6=94=B9=E4=B8=BA=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 状态文案:草稿→待召开,已邀约→正在召开 - 状态 Tag 颜色:待召开 warning,正在召开 success - 新建/编辑/查看按钮改为 router.push 跳转 ReviewMeetingEdit - 操作列新增「项目列表」快捷入口,移除冗余的独立列 - 「发送邮件邀请函」改为「发送议程」 - 移除 MeetingForm 弹窗引用(后续由全页面 MeetingEdit 承接) Co-Authored-By: Claude Sonnet 4.6 --- src/views/review/meeting/index.vue | 47 +++++++++++++----------------- 1 file changed, 20 insertions(+), 27 deletions(-) diff --git a/src/views/review/meeting/index.vue b/src/views/review/meeting/index.vue index 36fcb215e..8ad07f8c7 100644 --- a/src/views/review/meeting/index.vue +++ b/src/views/review/meeting/index.vue @@ -29,8 +29,8 @@ - - 新增会议邀约 + + 新建会议 @@ -61,22 +61,19 @@ {{ STATUS_LABEL[row.status] }} - + - - - @@ -110,9 +108,6 @@ - - - @@ -135,7 +130,6 @@ import { type ReviewMeetingRespVO, type ReviewMeetingPageReqVO } from '@/api/review/meeting' -import MeetingForm from './MeetingForm.vue' import SmsStatusDialog from './SmsStatusDialog.vue' import MailStatusDialog from './MailStatusDialog.vue' import { formatDate } from '@/utils/formatTime' @@ -148,13 +142,13 @@ const list = ref([]) const total = ref(0) const MEETING_STATUS_OPTIONS = [ - { value: 0, label: '草稿' }, - { value: 1, label: '已邀约' }, + { value: 0, label: '待召开' }, + { value: 1, label: '正在召开' }, { value: 2, label: '已结束' }, { value: 3, label: '已取消' } ] -const STATUS_LABEL: Record = { 0: '草稿', 1: '已邀约', 2: '已结束', 3: '已取消' } -const STATUS_TAG_TYPE: Record = { 0: 'info', 1: 'primary', 2: 'success', 3: 'danger' } +const STATUS_LABEL: Record = { 0: '待召开', 1: '正在召开', 2: '已结束', 3: '已取消' } +const STATUS_TAG_TYPE: Record = { 0: 'warning', 1: 'success', 2: 'info', 3: 'danger' } const queryParams = reactive({ pageNo: 1, @@ -165,7 +159,6 @@ const queryParams = reactive { const handleQuery = () => { queryParams.pageNo = 1; getList() } const resetQuery = () => { queryFormRef.value?.resetFields(); handleQuery() } -const openForm = (type: 'create' | 'update' | 'view', row?: ReviewMeetingRespVO) => { - formRef.value?.open(type, row?.id) +const goToEdit = (id?: number, mode?: string) => { + router.push({ name: 'ReviewMeetingEdit', params: id ? { id } : {}, query: mode ? { mode } : {} }) } const goToProjectList = (row: ReviewMeetingRespVO) => { @@ -224,7 +217,7 @@ const handleSendMail = async (row: ReviewMeetingRespVO) => { ) await sendMailInvitation(row.id) row.mailSent = true - ElMessage.success('邮件邀请函发送任务已触发,请点击“邮件状态”查看结果') + ElMessage.success('邮件邀请函发送任务已触发,请点击"邮件状态"查看结果') } const openSmsStatus = (row: ReviewMeetingRespVO) => {