提交 40828f12 authored 作者: matian's avatar matian

bug修改

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