feat: 会议提交剩余时间+解冻 + 会务/劳务材料批量下载 + 多角色人员/账号模块完善
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -308,9 +308,9 @@ const allMonitors = ref([])
|
||||
async function loadMonitors() {
|
||||
// 跟 sponsor/people (人员管理) 完全一致: 走 sponsorList, SQL 硬编码 unit_type='sponsor'
|
||||
// + (u.parent_user_id = mainUid OR u.user_id = mainUid), 自动取当前主账号
|
||||
// 仅筛 role='supervisor' (监察员候选人)
|
||||
const res = await listSponsorPerson({ role: 'supervisor', pageNum: 1, pageSize: 100 })
|
||||
allMonitors.value = res.rows || []
|
||||
// 仅取 SUB 子账号 (监察员候选人), 排除主账号
|
||||
const res = await listSponsorPerson({ pageNum: 1, pageSize: 100 })
|
||||
allMonitors.value = (res.rows || []).filter(p => p.accountType === 'SUB')
|
||||
}
|
||||
/** 拉项目当前已分配监察员 → 回显 monitorUserIds (单选模式) */
|
||||
async function loadCurrentAssigns(projectId) {
|
||||
|
||||
Reference in New Issue
Block a user