提交 18cd13a1 authored 作者: lihuihui's avatar lihuihui

Merge branch 'vite' of https://gitlab.ezijing.com/ezijing/x-learn into vite

...@@ -202,7 +202,6 @@ export default { ...@@ -202,7 +202,6 @@ export default {
} }
}, },
beforeMount() { beforeMount() {
console.log(this.limit, '-----')
this.fetchList() this.fetchList()
} }
} }
......
...@@ -66,12 +66,9 @@ export default { ...@@ -66,12 +66,9 @@ export default {
// }) // })
} }
}, },
mounted() {
console.log(this.pass_score, '----')
},
methods: { methods: {
scoreRow(row, index) { scoreRow(row, index) {
console.log(row, 'ffff')
if (row.row.score < this.pass_score) { if (row.row.score < this.pass_score) {
return 'warning-row' return 'warning-row'
} else { } else {
......
...@@ -95,7 +95,6 @@ export default { ...@@ -95,7 +95,6 @@ export default {
methods: { methods: {
handleResCount(val) { handleResCount(val) {
this.count = val this.count = val
console.log(this.count.list.length, '123')
}, },
// 导出 // 导出
exportScore() { exportScore() {
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</div> </div>
<app-list v-bind="tableOptions" ref="list" @sort-change="sortChange"> <app-list v-bind="tableOptions" ref="list" @sort-change="sortChange">
<template v-slot:title="{ row }"> <template v-slot:title="{ row }">
<a class="title_row" type="text" @click="toDetail(row)" v-html="row.title" :title="row.title"></a> <a class="title_row" type="text" @click="toDetail(row)" v-html="row.title" :title="row.title.slice(3, -4)"></a>
</template> </template>
</app-list> </app-list>
</el-card> </el-card>
...@@ -90,7 +90,21 @@ export default { ...@@ -90,7 +90,21 @@ export default {
}, },
columns: [ columns: [
{ label: '排序', prop: 'ranking', align: 'center' }, { label: '排序', prop: 'ranking', align: 'center' },
{ label: '题干简述', prop: 'title', align: 'left', slots: 'title', minWidth: 200 }, {
label: '题干简述',
prop: 'title',
align: 'left',
slots: 'title',
minWidth: 200
// computed({ row }) {
// if (row.title.includes('<p>')) {
// console.log('---13213')
// return row.title.slice(3, -4)
// } else {
// return row.title
// }
// }
},
{ {
label: '题型', label: '题型',
prop: 'type', prop: 'type',
...@@ -203,9 +217,8 @@ export default { ...@@ -203,9 +217,8 @@ export default {
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep { ::v-deep {
.table-list-filter{ .table-list-filter {
display: none; display: none;
} }
.el-table { .el-table {
...@@ -223,7 +236,7 @@ export default { ...@@ -223,7 +236,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
color: #c01540; color: #c01540;
text-align: left; text-align: left;
p{ p {
text-align: left; text-align: left;
width: 200px; width: 200px;
white-space: nowrap; white-space: nowrap;
...@@ -231,6 +244,6 @@ export default { ...@@ -231,6 +244,6 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
color: #c01540; color: #c01540;
} }
} }
} }
</style> </style>
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</h1> </h1>
<el-button type="text" style="float: right; margin-top: -40px" @click="exportClassList">导出</el-button> <el-button type="text" style="float: right; margin-top: -40px" @click="exportClassList">导出</el-button>
<el-tabs v-model="tabActive" style="margin-top: 30px"> <el-tabs v-model="tabActive" style="margin-top: 30px">
<el-tab-pane :label="`已结束${count.checked_count}`" name="finished"> </el-tab-pane> <el-tab-pane :label="`已完成${count.checked_count}`" name="finished"> </el-tab-pane>
<el-tab-pane :label="`待评价${count.commit_count}`" name="toEvaluate" lazy> </el-tab-pane> <el-tab-pane :label="`待评价${count.commit_count}`" name="toEvaluate" lazy> </el-tab-pane>
<el-tab-pane :label="`未作答${count.no_sheet_count}`" name="noAnswer" lazy> </el-tab-pane> <el-tab-pane :label="`未作答${count.no_sheet_count}`" name="noAnswer" lazy> </el-tab-pane>
<el-tab-pane :label="`未提交${count.cache_count}`" name="toSubmit" lazy> </el-tab-pane> <el-tab-pane :label="`未提交${count.cache_count}`" name="toSubmit" lazy> </el-tab-pane>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<div class="container"> <div class="container">
<div style="display: flex; justify-content: space-between"> <div style="display: flex; justify-content: space-between">
<h1 style="font-size: 30px"> <h1 style="font-size: 30px">
{{ $route.query.examination_name }} <span style="color: #c01540; font-size: 14px">*部分数据未进行评价</span> {{ $route.query.examination_name }}
</h1> </h1>
<div style="margin-right: 60px"> <div style="margin-right: 60px">
<el-select v-model="value" placeholder="全部数据" @change="refreshPage" clearable> <el-select v-model="value" placeholder="全部数据" @change="refreshPage" clearable>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论