提交 ccbda7aa authored 作者: matian's avatar matian

update:代码修改

上级 2a77ecad
<template>
<app-container>
<app-list v-bind="tableOptions" ref="list" @sort-change="sortChange">
<template v-slot:table-name="{ row }">
<el-link type="primary">{{ row.paper_title }}</el-link>
</template>
<!-- 操作 -->
<template v-slot:table-operate="{ row }">
<el-button type="text" size="mini" @click="toPersonDetail(row)">查看</el-button>
......@@ -32,7 +29,7 @@ export default {
},
filters: [{ type: 'input', prop: 'personal_name', placeholder: '学生姓名', label: '学生姓名' }],
columns: [
{ label: '学生姓名', prop: 'personal_name', slots: 'table-name' },
{ label: '学生姓名', prop: 'personal_name', align: 'center' },
{ label: '总学习时长', prop: 'all_study_length', align: 'center', sortable: 'custom' },
{ label: '总完成率', prop: 'all_course_completion_rate', align: 'center', sortable: 'custom' },
{ label: '本课学习时长', prop: 'study_length', align: 'center', sortable: 'custom' },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论