录取设置页新增“志愿填报实时快照”,任意阶段均可导出。
Build and publish Docker images / Test, build and publish (push) Successful in 14m13s
Build and publish Docker images / Test, build and publish (push) Successful in 14m13s
志愿台账覆盖未填报、已填报、已锁定、成绩未齐及不可补录考生。 支持按考试、生源学校、状态和关键词筛选。 录取台账支持按考试、招生学校、录取状态和关键词筛选搜索。 两类 Excel 均按页面当前筛选条件导出,并包含学校名称、报名号、轮次、报到状态等完整信息。 全市台账仅超级管理员可导出。
This commit is contained in:
@@ -515,6 +515,21 @@ document.addEventListener('click', async event => {
|
||||
toast(approved ? '审批完成并自动公开' : '已退回招生学校', approved ? (supplement ? '全部学校审批完成后将自动开启补录' : '报到统计已进入公开通知') : '招生学校可修改暂存数据后重新提交');
|
||||
return renderRoute();
|
||||
}
|
||||
if (action === 'admission-ledger-export') {
|
||||
const ledger = target.dataset.ledger;
|
||||
if (!['preferences', 'placements'].includes(ledger)) return;
|
||||
const query = new URLSearchParams();
|
||||
if (target.dataset.examId) query.set('examId', target.dataset.examId);
|
||||
if (target.dataset.round) query.set('round', target.dataset.round);
|
||||
if (target.dataset.table) {
|
||||
const control = getTableControl(state, target.dataset.table);
|
||||
if (String(control.query || '').trim()) query.set('q', String(control.query).trim());
|
||||
if (control.status && control.status !== 'all') query.set('status', control.status);
|
||||
Object.entries(control.filters || {}).forEach(([key, value]) => { if (value) query.set(key, value); });
|
||||
}
|
||||
window.location.href = `/api/admin/admissions/${ledger}/export?${query}`;
|
||||
return;
|
||||
}
|
||||
if (action === 'clear-table-filters') {
|
||||
const tableId = target.dataset.target;
|
||||
state.tableFilters[tableId] = { query: '', status: 'all', filters: {} };
|
||||
|
||||
Reference in New Issue
Block a user