|
@@ -16,6 +16,7 @@
|
|
<!-- <div class="newBand"
|
|
<!-- <div class="newBand"
|
|
@click="resetClass">班级调整</div> -->
|
|
@click="resetClass">班级调整</div> -->
|
|
<div class="newBand"
|
|
<div class="newBand"
|
|
|
|
+ v-permission="'courseSchedule/coursePostpone'"
|
|
@click="postpone">课程顺延</div>
|
|
@click="postpone">课程顺延</div>
|
|
<div class="tableWrap">
|
|
<div class="tableWrap">
|
|
<el-table :data='tableList'
|
|
<el-table :data='tableList'
|
|
@@ -58,6 +59,7 @@
|
|
label="在读人数">
|
|
label="在读人数">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align='center'
|
|
<el-table-column align='center'
|
|
|
|
+ v-if="permission('courseSchedule/coursePostpone')"
|
|
label="操作">
|
|
label="操作">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
@@ -133,6 +135,7 @@
|
|
<script>
|
|
<script>
|
|
import pagination from '@/components/Pagination/index'
|
|
import pagination from '@/components/Pagination/index'
|
|
import { getClassList, coursePostpone } from '@/api/buildTeam'
|
|
import { getClassList, coursePostpone } from '@/api/buildTeam'
|
|
|
|
+import { permission } from '@/utils/directivePage'
|
|
export default {
|
|
export default {
|
|
props: {
|
|
props: {
|
|
teamid: {
|
|
teamid: {
|
|
@@ -178,6 +181,9 @@ export default {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ permission (str) {
|
|
|
|
+ return permission(str)
|
|
|
|
+ },
|
|
getList () {
|
|
getList () {
|
|
// search: this.teamid
|
|
// search: this.teamid
|
|
getClassList({ search: this.teamid, page: this.rules.page, rows: this.rules.limit }).then(res => {
|
|
getClassList({ search: this.teamid, page: this.rules.page, rows: this.rules.limit }).then(res => {
|