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
+8 -6
View File
@@ -47,9 +47,9 @@
</el-col>
<el-col :span="12">
<el-form-item label="角色">
<!-- sponsor/PersonDetail 一致: el-tag 展示 -->
<el-tag :type="form.role === 'admin' ? 'warning' : 'primary'" disable-transitions>
{{ translatePersonRole(form.role) }}
<!-- 角色与账号类型合并: account_type + unitType 推导 (MAIN=管理员, SUB=执行人员) -->
<el-tag :type="accountTypeRoleTagType(form.accountType)" disable-transitions>
{{ accountTypeRoleLabel(form.unitType, form.accountType) || '—' }}
</el-tag>
</el-form-item>
</el-col>
@@ -70,7 +70,7 @@ import { reactive, ref, onMounted } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import { ElMessage } from 'element-plus'
import { bizGet } from '@/api/public'
import { translatePersonRole } from '@/utils/roleMap'
import { accountTypeRoleLabel, accountTypeRoleTagType } from '@/utils/roleMap'
const router = useRouter()
const route = useRoute()
@@ -84,7 +84,8 @@ const form = reactive({
orgName: '',
department: '',
position: '',
role: '',
unitType: '',
accountType: '',
})
async function loadDetail() {
@@ -99,7 +100,8 @@ async function loadDetail() {
orgName: d.orgName || '',
department: d.department || '',
position: d.position || '',
role: d.role || '',
unitType: d.unitType || '',
accountType: d.accountType || '',
})
} else {
ElMessage.error(res?.msg || '加载失败')