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
+5 -5
View File
@@ -258,9 +258,9 @@ async function load() {
async function loadPersons() {
try {
// sponsor 团队下"监察员"角色 + 已绑 sys_user 的子账号
const r = await bizList('person', { pageNum: 1, pageSize: 100, unitType: 'sponsor', role: 'supervisor' })
personList.value = ((r.data && r.data.rows) || r.rows || []).filter(p => p.userId)
// sponsor 团队下"监察员" (SUB 子账号), 排除主账号
const r = await bizList('person', { pageNum: 1, pageSize: 100, unitType: 'sponsor' })
personList.value = ((r.data && r.data.rows) || r.rows || []).filter(p => p.userId && p.accountType === 'SUB')
} catch (e) { personList.value = [] }
}
@@ -302,8 +302,8 @@ function onCreateMeeting(row) {
}
function onSupportUnit(row) {
if (!row.sponsorAdminUserId) { ElMessage.warning('该项目未关联支持方负责人'); return }
ElMessage.info(`查看支持方负责人: ${row.sponsorAdminUserName || row.sponsorAdminUserId}`)
if (!row.sponsorOrgId) { ElMessage.warning('该项目未关联支持方'); return }
ElMessage.info(`查看支持方: ${row.sponsorAdminUserName || row.sponsorOrgId}`)
}
async function onDeleteNotice(row) {
try { await ElMessageBox.confirm(`确定删除「${row.projectName}」的所有公告吗?删除后无法恢复`, '删除公告', { type: 'warning' }) } catch { return }