题目页「编辑题目」从只给超管放宽到有权改这道题的人(含学生管理员改自己出的题); 题目、比赛、题单列表加「新建」;自学首页加「自学情况」「管理教程」,课文加「编辑这一课」; 公告加「编辑这条」「发公告」;成就加「管理成就」;智能分析加「AI 报告」,看某个学生时 带着用户名过去直接筛到他。按钮统一走 shared/components/AdminLink.vue。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e7b6e27b85
commit
0ffc405a20
12 files changed
+140
-3
No files matched your search
@@ -21,7 +21,13 @@ const theme = useThemeVars()
|
||||
|
||||
const reports = ref<AdminAiReportListItem[]>([])
|
||||
const total = ref(0)
|
||||
const query = reactive({ limit: 10, page: 1, username: "" })
|
||||
// 前台「智能分析」看某个学生时的「AI 报告」按钮带着 ?username= 过来,直接筛到他
|
||||
const route = useRoute()
|
||||
const query = reactive({
|
||||
limit: 10,
|
||||
page: 1,
|
||||
username: typeof route.query.username === "string" ? route.query.username : "",
|
||||
})
|
||||
|
||||
const selectedId = ref<number | null>(null)
|
||||
const detail = ref<AdminAiReport | null>(null)
|
||||
|
||||
Reference in new issue
Block a user