提交 70de0f02 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 e76aa13e
<script setup> <script setup>
import LiveProductCategory from '@/components/LiveProductCategory.vue' import LiveProductCategory from '@/components/LiveProductCategory.vue'
import { getScoreList, studentSubmit } from '../api' import { getScoreList } from '../api'
const route = useRoute() const route = useRoute()
const appList = ref(null) const appList = ref(null)
...@@ -40,11 +40,11 @@ const listOptions = computed(() => { ...@@ -40,11 +40,11 @@ const listOptions = computed(() => {
} }
}) })
const handleSubmit = () => { // const handleSubmit = () => {
studentSubmit().then(() => { // studentSubmit().then(() => {
handleRefresh() // handleRefresh()
}) // })
} // }
const handleExport = () => { const handleExport = () => {
window.open(`/api/lab/v1/experiment/live-student-record/export?experiment_id=${route.query.experiment_id}`) window.open(`/api/lab/v1/experiment/live-student-record/export?experiment_id=${route.query.experiment_id}`)
...@@ -55,7 +55,7 @@ const handleExport = () => { ...@@ -55,7 +55,7 @@ const handleExport = () => {
<AppCard title="直播成绩管理"> <AppCard title="直播成绩管理">
<AppList v-bind="listOptions" ref="appList"> <AppList v-bind="listOptions" ref="appList">
<template #header-buttons> <template #header-buttons>
<el-button type="primary" @click="handleSubmit">提交成绩</el-button> <!-- <el-button type="primary" @click="handleSubmit">提交成绩</el-button> -->
<el-button type="primary" @click="handleExport">导出成绩</el-button> <el-button type="primary" @click="handleExport">导出成绩</el-button>
</template> </template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论