|
|
@@ -37,10 +37,12 @@
|
|
|
|
|
|
<!-- AI 总结 -->
|
|
|
<AISummary
|
|
|
- :bullets="aiBullets"
|
|
|
- :loading="aiLoading"
|
|
|
- :generatedAt="aiGeneratedAt"
|
|
|
- @refresh="refreshAISummary"
|
|
|
+ :completionLine="completionLine"
|
|
|
+ :markdown="reportMarkdown"
|
|
|
+ :streaming="reportStreaming"
|
|
|
+ :generatedAt="reportGeneratedAt"
|
|
|
+ :error="reportError"
|
|
|
+ @refresh="refreshReport"
|
|
|
/>
|
|
|
</template>
|
|
|
</div>
|
|
|
@@ -90,7 +92,7 @@ const locale = ref<Locale>(
|
|
|
|
|
|
const {
|
|
|
summaries, loading, error, fetchClassSummary, scheduleRefetch,
|
|
|
- aiBullets, aiLoading, aiGeneratedAt, refreshAISummary,
|
|
|
+ completionLine, reportMarkdown, reportStreaming, reportGeneratedAt, reportError, refreshReport,
|
|
|
} = useClassSummary({
|
|
|
configId: toRef(props, 'configId'),
|
|
|
studentArray: toRef(props, 'studentArray'),
|