|
@@ -60,7 +60,7 @@
|
|
|
<el-table-column label="是否可调整"
|
|
|
align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.hasRestClass>0?'是':'否' }}
|
|
|
+ {{ scope.row.totalClassTimes-scope.row.currentClassTimes>0?'是':'否' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作"
|
|
@@ -68,7 +68,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button type="text"
|
|
|
- v-if="scope.row.hasRestClass>0"
|
|
|
+ v-if="(scope.row.totalClassTimes-scope.row.currentClassTimes)>0"
|
|
|
v-permission="'courseSchedule/batchPracticeGroupTeacherAdjust?t=819'"
|
|
|
@click="resetCourse(scope.row)">操作</el-button>
|
|
|
</div>
|
|
@@ -164,7 +164,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
selectable (row, index) {
|
|
|
- return row.hasRestClass > 0
|
|
|
+ return row.totalClassTimes - row.currentClassTimes > 0
|
|
|
},
|
|
|
init () {
|
|
|
this.teacherId = this.$route.query.teacherId
|