提交 55ed5e4c authored 作者: lihuihui's avatar lihuihui

feat:联系数据详情

上级 e51e0f0f
......@@ -14,9 +14,7 @@
</template>
<script>
import AppContainer from '@/components/AppContainer.vue'
export default {
components: { AppContainer }
}
</script>
......
......@@ -3,6 +3,11 @@ const routes = [
path: '/',
component: () => import('@/components/layout/index.vue'),
children: [{ path: '/teacher/data/exam', component: () => import('./views/List.vue') }]
},
{
path: '/classDetail',
component: () => import('@/components/layout/index.vue'),
children: [{ path: '/teacher/data/exam/classDetail', component: () => import('./views/ClassDetail.vue') }]
}
]
......
<template>
<app-container>
<app-list v-bind="tableOptions" ref="list" @row-click="handleRowClick">
111
</app-list>
</app-container>
</template>
<script>
export default {
computed: {
// 列表配置
tableOptions() {
return {
remote: {
// httpRequest: getExamReivewList,
params: { class_name: '', paper_title: '' }
},
columns: [
{ label: '考卷名称', prop: 'paper_title', slots: 'table-name' },
{ label: '班级名称', prop: 'class_name', align: 'center' },
{ label: '未批阅学生数量', prop: 'commit_num', align: 'center' }
]
}
}
}
}
</script>
<style lang="sass" scoped>
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论