This commit is contained in:
biss committed 2026-08-11 15:53:44 +08:00
1 parent 85c7c7a683
commit 21b00be7a3
5 files changed
+21 -21

No files matched your search

+11 -11
View File
@@ -356,7 +356,7 @@ onMounted(() => load())
<div class="page-stack message-center">
<section class="page-intro message-intro">
<div>
<span class="section-kicker">MESSAGE CENTER</span>
<span class="section-kicker">消息中心</span>
<h2>消息中心</h2>
<p>系统通知、审核待办、课程变动与成绩消息统一汇总,重要信息不再散落在业务页面。</p>
</div>
@@ -373,6 +373,15 @@ onMounted(() => load())
>
发消息
</el-button>
<el-button
:icon="Check"
:loading="markingAllRead"
:disabled="!unreadCount"
:title="unreadCount ? '将全部未读消息标为已读' : '当前没有未读消息'"
@click="markAllRead"
>
全部已读
</el-button>
<el-button :icon="Refresh" @click="activeTab === 'sent' ? loadSent() : load()">
刷新
</el-button>
@@ -433,15 +442,6 @@ onMounted(() => load())
@clear="load(true)"
/>
<el-checkbox v-model="unreadOnly" @change="load(true)">仅看未读</el-checkbox>
<el-button
v-if="unreadCount"
:icon="Check"
:loading="markingAllRead"
text
@click="markAllRead"
>
全部已读
</el-button>
</section>
<section v-loading="loading" class="message-list">
@@ -508,7 +508,7 @@ onMounted(() => load())
>
<header class="compose-overview">
<div>
<span class="panel-kicker">AUTHORIZED DELIVERY</span>
<span class="panel-kicker">发送范围</span>
<h3>编写并发送消息</h3>
<p>收件范围始终受当前账号的数据权限约束,发送后不可撤回。</p>
</div>
+3 -3
View File
@@ -355,7 +355,7 @@ onMounted(loadOverview)
<div v-loading="loading" class="student-overview">
<section class="student-overview-hero">
<div class="student-hero-copy">
<span class="section-kicker">MY ACADEMIC DAY</span>
<span class="section-kicker">我的学习安排</span>
<h2>{{ dashboardGreeting?.title ?? `${greeting},${auth.user?.displayName ?? '同学'}` }}</h2>
<p>{{ dashboardGreeting?.subtitle ?? todayLabel }}<template v-if="!dashboardGreeting && timetable?.term"> · {{ timetable.term.name }}</template></p>
</div>
@@ -379,7 +379,7 @@ onMounted(loadOverview)
<section class="student-risk-radar" :class="{ attention: activeWarnings.length }">
<header>
<div>
<span class="panel-kicker">ACADEMIC RADAR</span>
<span class="panel-kicker">学业提醒</span>
<h3>学业风险雷达</h3>
</div>
<button type="button" @click="router.push('/warnings')">查看全部 <el-icon><ArrowRight /></el-icon></button>
@@ -395,7 +395,7 @@ onMounted(loadOverview)
</section>
<section v-if="graduation?.baseline" class="graduation-nav">
<div><span class="panel-kicker">GRADUATION NAVIGATION</span><h3>毕业导航</h3><p>已完成 {{ graduation.baseline.planCompletedCredits ?? 0 }} 学分,距离培养方案要求还差 {{ graduation.baseline.creditGap ?? 0 }} 学分。</p></div>
<div><span class="panel-kicker">毕业进度</span><h3>毕业导航</h3><p>已完成 {{ graduation.baseline.planCompletedCredits ?? 0 }} 学分,距离培养方案要求还差 {{ graduation.baseline.creditGap ?? 0 }} 学分。</p></div>
<button type="button" @click="router.push('/academic-planning')">查看毕业航线 <el-icon><ArrowRight /></el-icon></button>
</section>
+1 -1
View File
@@ -31,7 +31,7 @@ onMounted(load)
<el-result v-if="failed" icon="warning" title="教学驾驶舱加载失败" sub-title="请检查服务连接后重新加载。"><template #extra><el-button type="primary" @click="load">重新加载</el-button></template></el-result>
<template v-else-if="greeting">
<section class="cockpit-hero">
<span>TEACHING COCKPIT</span><h2>{{ greeting.title }}</h2><p>{{ greeting.subtitle }}</p><small>{{ greeting.narrative }}</small>
<span>教学工作台</span><h2>{{ greeting.title }}</h2><p>{{ greeting.subtitle }}</p><small>{{ greeting.narrative }}</small>
</section>
<section class="cockpit-metrics"><article v-for="item in greeting.insights" :key="item.label" :class="item.tone"><span>{{ item.label }}</span><strong>{{ item.value }}</strong><small>{{ item.hint }}</small></article></section>
<section class="cockpit-grid">
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more