主题整合学期计划明细

This commit is contained in:
paidaxing444 2020-08-24 18:11:33 +08:00
parent fd6616a29a
commit 7fcc28cbad
3 changed files with 23 additions and 2 deletions

View File

@ -217,6 +217,21 @@ export const constantRoutes = [{
}
}]
},
{
path: '/benyi_course/themetermplan',
component: Layout,
hidden: true,
children: [{
path: 'data/:id',
component: () =>
import('@/views/benyi/themetermplan/data'),
name: 'Themetermplan1',
meta: {
title: '主题整合学期计划',
icon: ''
}
}]
},
{
path: '/benyi_course/math',
component: Layout,

View File

@ -67,7 +67,13 @@
<el-table v-loading="loading" :data="termplanList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="班级" align="center" prop="classid" :formatter="classFormat" />
<el-table-column label="名称" align="center" prop="name" />
<el-table-column label="名称" align="center" prop="name" :show-overflow-tooltip="true">
<template slot-scope="scope">
<router-link :to="'/benyi_course/themetermplan/data/' + scope.row.id" class="link-type">
<span>{{ scope.row.name }}</span>
</router-link>
</template>
</el-table-column>
<el-table-column label="开始月份" align="center" prop="startmonth" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.startmonth, '{y}-{m}') }}</span>

View File

@ -28,7 +28,7 @@ import com.ruoyi.framework.web.page.TableDataInfo;
* @date 2020-08-24
*/
@RestController
@RequestMapping("/benyi/termplanitem")
@RequestMapping("/benyi/themetermplanitem")
public class ByThemeTermplanitemController extends BaseController {
@Autowired
private IByThemeTermplanitemService byThemeTermplanitemService;