|
|
|
@ -1,63 +1,28 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<el-table ref="table" |
|
|
|
|
class="table" |
|
|
|
|
:data="listData" |
|
|
|
|
v-loading="loading" |
|
|
|
|
stripe> |
|
|
|
|
<el-table-column prop="id" |
|
|
|
|
label="次序" |
|
|
|
|
width="60" |
|
|
|
|
align="center" |
|
|
|
|
type="index"></el-table-column> |
|
|
|
|
<el-table-column prop="curriculumName" |
|
|
|
|
label="课程名称" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="experimentalName" |
|
|
|
|
label="考核名称" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="projectName" |
|
|
|
|
label="实验项目名称" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="score" |
|
|
|
|
width="60" |
|
|
|
|
label="得分" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="className" |
|
|
|
|
width="100" |
|
|
|
|
label="实验班级" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="timeSum" |
|
|
|
|
width="80" |
|
|
|
|
label="耗时" |
|
|
|
|
align="center"> |
|
|
|
|
<el-table ref="table" class="table" :data="listData" v-loading="loading" stripe> |
|
|
|
|
<el-table-column prop="id" label="次序" width="60" align="center" type="index"></el-table-column> |
|
|
|
|
<el-table-column prop="curriculumName" label="课程名称" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="experimentalName" label="考核名称" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="projectName" label="实验项目名称" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="score" width="60" label="得分" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="className" width="100" label="实验班级" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="timeSum" width="80" label="耗时" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
{{ scope.row.timeSum }}min |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="startTime" |
|
|
|
|
width="160" |
|
|
|
|
label="起始时间" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="submitTime" |
|
|
|
|
width="160" |
|
|
|
|
label="结束时间" |
|
|
|
|
align="center"></el-table-column> |
|
|
|
|
<el-table-column label="操作" |
|
|
|
|
width="100" |
|
|
|
|
align="center"> |
|
|
|
|
<el-table-column prop="startTime" width="160" label="起始时间" align="center"></el-table-column> |
|
|
|
|
<el-table-column prop="submitTime" width="160" label="结束时间" align="center"></el-table-column> |
|
|
|
|
<el-table-column label="操作" width="100" align="center"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button type="text" |
|
|
|
|
@click="toReport(scope.row)">实验成绩报告</el-button> |
|
|
|
|
<el-button type="text" @click="toReport(scope.row)">实验成绩报告</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<div class="pagination"> |
|
|
|
|
<el-pagination background |
|
|
|
|
:current-page="page" |
|
|
|
|
layout="total, prev, pager, next" |
|
|
|
|
:total="total" |
|
|
|
|
@current-change="handleCurrentChange"></el-pagination> |
|
|
|
|
<el-pagination background :current-page="page" layout="total, prev, pager, next" :total="total" |
|
|
|
|
@current-change="handleCurrentChange"></el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
@ -120,11 +85,10 @@ export default { |
|
|
|
|
}, |
|
|
|
|
toReport (row) { |
|
|
|
|
this.$store.commit('project/setReferrer', `${this.$route.path}?mallId=${this.mallId}&curriculumId=${this.curriculumId}&active=${this.$parent.active}&page=${this.page}`) |
|
|
|
|
this.$router.push(`show?reportId=${row.reportId}`); |
|
|
|
|
this.$router.push(`${row.paperId ? 'theoryReport' : 'trialReport'}?reportId=${row.reportId}`); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style lang="scss" scopted> |
|
|
|
|
</style> |
|
|
|
|
<style lang="scss" scopted></style> |