|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
<template> |
|
|
|
|
<!-- 课程管理 --> |
|
|
|
|
<!-- 院校创建 --> |
|
|
|
|
<div style="padding-top: 24px"> |
|
|
|
|
<div class="tool"> |
|
|
|
|
<ul class="filter" style="align-items: flex-start"> |
|
|
|
@ -28,8 +28,8 @@ |
|
|
|
|
</li> |
|
|
|
|
</ul> |
|
|
|
|
<div> |
|
|
|
|
<!-- <el-button v-auth="'课程管理:新增'" type="primary" round @click="addCourse">新增</el-button> --> |
|
|
|
|
<el-button v-auth="'课程管理:批量删除'" type="primary" round @click="delAllData">批量删除</el-button> |
|
|
|
|
<!-- <el-button v-auth="'院校创建:新增'" type="primary" round @click="addCourse">新增</el-button> --> |
|
|
|
|
<el-button v-auth="'院校创建:批量删除'" type="primary" round @click="delAllData">批量删除</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
@ -60,19 +60,19 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="操作" align="center" width="250"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button v-auth="'课程管理:编辑信息'" type="text" @click="editCourse(scope.row)">编辑信息</el-button> |
|
|
|
|
<el-divider v-auth="'课程管理:编辑信息'" direction="vertical"></el-divider> |
|
|
|
|
<el-button v-auth="'课程管理:内容设置'" type="text" @click="config(scope.row)">内容设置</el-button> |
|
|
|
|
<el-divider v-auth="'课程管理:内容设置'" direction="vertical"></el-divider> |
|
|
|
|
<el-button v-auth="'课程管理:预览'" type="text" @click="preview(scope.row)">预览</el-button> |
|
|
|
|
<el-divider v-auth="'课程管理:预览'" direction="vertical"></el-divider> |
|
|
|
|
<el-button v-auth="'课程管理:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button> |
|
|
|
|
<el-button v-auth="'院校创建:编辑信息'" type="text" @click="editCourse(scope.row)">编辑信息</el-button> |
|
|
|
|
<el-divider v-auth="'院校创建:编辑信息'" direction="vertical"></el-divider> |
|
|
|
|
<el-button v-auth="'院校创建:内容设置'" type="text" @click="config(scope.row)">内容设置</el-button> |
|
|
|
|
<el-divider v-auth="'院校创建:内容设置'" direction="vertical"></el-divider> |
|
|
|
|
<el-button v-auth="'院校创建:预览'" type="text" @click="preview(scope.row)">预览</el-button> |
|
|
|
|
<el-divider v-auth="'院校创建:预览'" direction="vertical"></el-divider> |
|
|
|
|
<el-button v-auth="'院校创建:删除'" type="text" @click="handleDelete(scope.row)">删除</el-button> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="可授权状态" align="center" width="120"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-switch |
|
|
|
|
v-auth="'课程管理:启用'" |
|
|
|
|
v-auth="'院校创建:禁用'" |
|
|
|
|
v-model="scope.row.ztOpen" |
|
|
|
|
:active-value="0" |
|
|
|
|
:inactive-value="1" |
|
|
|
|