| | |
| | | v-if="activeName == 'all'" |
| | | height="100%" |
| | | > |
| | | <el-table-column label="班级名称"> |
| | | <template slot-scope="scope"> |
| | | <el-link type="primary" :underline="false">{{ |
| | | scope.row.team.name |
| | | }}</el-link> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="班级名称" prop="team.name"> </el-table-column> |
| | | <el-table-column label="班级人数" width="200" prop="playerCount"> |
| | | </el-table-column> |
| | | <el-table-column label="课包/会员卡" width="200"> |
| | | <template slot-scope="scope">{{ |
| | | scope.row.team.voucher |
| | | ? scope.row.team.voucher.name |
| | | : '' |
| | | }}</template> |
| | | <el-table-column label="课包/会员卡" width="200" prop="voucher.name"> |
| | | </el-table-column> |
| | | <el-table-column label="教师" width="" prop="sessionStaffs"> |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="200"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click="handleExport(scope.row)"> |
| | | <el-link |
| | | @click="handleExport(scope.row)" |
| | | type="primary" |
| | | :underline="false" |
| | | >导出</el-link |
| | | > |
| | | <!-- <el-button type="text" @click="handleExport(scope.row)"> |
| | | 导出 |
| | | </el-button> |
| | | </el-button> --> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | height="100%" |
| | | v-else |
| | | > |
| | | <el-table-column label="班级名称" prop="name"> |
| | | </el-table-column> |
| | | <el-table-column label="停用时间" prop="modifyTime"> |
| | | </el-table-column> |
| | | <el-table-column label="班级名称" prop="name"> </el-table-column> |
| | | <el-table-column label="停用时间" prop="modifyTime"> </el-table-column> |
| | | <el-table-column label="操作" width="200"> |
| | | <template slot-scope=""> |
| | | <el-link type="primary" :underline="false" |
| | | >恢复</el-link |
| | | > |
| | | <el-link type="primary" :underline="false">恢复</el-link> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="confirmExport" |
| | | >导 出</el-button |
| | | > |
| | | <el-button type="primary" @click="confirmExport">导 出</el-button> |
| | | </div> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | this.dialogVisible = true; |
| | | }, |
| | | confirmExport() { |
| | | this.download('exportSignIn?teamId=' + this.form.teamId + '&startTime=' + this.form.dateRange[0] + '&endTime=' + this.form.dateRange[1], { |
| | | }, `${this.form.name}上课签到表.xlsx`) |
| | | this.download( |
| | | "exportSignIn?teamId=" + |
| | | this.form.teamId + |
| | | "&startTime=" + |
| | | this.form.dateRange[0] + |
| | | "&endTime=" + |
| | | this.form.dateRange[1], |
| | | {}, |
| | | `${this.form.name}上课签到表.xlsx` |
| | | ); |
| | | }, |
| | | handleSizeChange(val) { |
| | | this.data.pageIn.size = val; |