feat: 会议提交剩余时间+解冻 + 会务/劳务材料批量下载 + 多角色人员/账号模块完善

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
郭庆泰
2026-08-25 06:53:18 +08:00
co-authored by Claude
parent 0c882ae846
commit 591a43fe61
126 changed files with 3789 additions and 1334 deletions
+6 -3
View File
@@ -14,7 +14,8 @@
<span class="form-value">{{ snap.projectName }}</span>
</el-form-item>
<el-form-item label="会议名称">
<span class="form-value">{{ form.meetingName }}</span>
<el-input v-if="canEditName" v-model="form.meetingName" placeholder="请输入会议名称" />
<span v-else class="form-value">{{ form.meetingName }}</span>
</el-form-item>
<el-form-item label="支持单位">
<span class="form-value">{{ snap.sponsorOrgName }}</span>
@@ -58,9 +59,11 @@ import { ElMessage } from 'element-plus'
const route = useRoute()
const router = useRouter()
// ========== 角色感知 (admin/manager 共用此新建页, 按 URL 第 1 段识别) ==========
const roleSegment = computed(() => route.path.split('/')[1]) // 'admin' | 'manager'
// ========== 角色感知 (admin/manager/executor 共用此新建页, 按 URL 第 1 段识别) ==========
const roleSegment = computed(() => route.path.split('/')[1]) // 'admin' | 'manager' | 'executor'
const isAdmin = computed(() => roleSegment.value === 'admin')
// 会议名称可编辑: 仅 admin/manager (executor 保持只读, 自动用项目名)
const canEditName = computed(() => roleSegment.value === 'admin' || roleSegment.value === 'manager')
const meetingsBase = computed(() => `/${roleSegment.value}/meetings`)
const projectsBase = computed(() => `/${roleSegment.value}/projects`)