feat: 会议提交剩余时间+解冻 + 会务/劳务材料批量下载 + 多角色人员/账号模块完善
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user