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

bug fixes

上级 5484de3c
......@@ -29,9 +29,9 @@ const params = reactive({
class_id: ''
})
const classList = $computed(() => {
const specialty = specialties.value.find((item) => item.id === params.specialty_id)
const specialty = specialties.value.find(item => item.id === params.specialty_id)
if (specialty) {
return classes.value.filter((item) => item.specialty_id === specialty.id)
return classes.value.filter(item => item.specialty_id === specialty.id)
}
return classes.value
})
......@@ -161,9 +161,7 @@ async function handleReset(row: RecordItem) {
<el-button text type="primary" v-if="row.status === 1 || row.status === 2" @click="handleScore(row)" v-permission="'v1-teacher-record-check'"
>打分</el-button
>
<<<<<<< HEAD =======
<el-button text type="primary" v-if="row.status === 1 || row.status === 2" @click="handleReset(row)">重置</el-button>
>>>>>>> master
<el-button text type="primary" v-if="row.has_score_log" @click="handleScoreLog(row)" v-permission="'v1-teacher-record-check'">查看历史成绩</el-button>
</template>
</AppList>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论