|
@@ -15,17 +15,27 @@
|
|
|
<span>{{studentListInfo.add}}</span>
|
|
|
</statistic-item>
|
|
|
<statistic-item>
|
|
|
- <div class="newStudent"
|
|
|
- style="margin-bottom:10px;"
|
|
|
- v-permission="'studentRegistration/insertStudent'"
|
|
|
- @click="addStudentVisible = true">新增学员</div>
|
|
|
- <!-- <div class="newStudent"
|
|
|
- style="margin-bottom:10px;"
|
|
|
- v-permission="'teamDetails/studentList/QRCode/822'"
|
|
|
- @click="onCreateQRCode">报名连接</div> -->
|
|
|
- <div class="newStudent"
|
|
|
- v-permission="'/studentSignin'"
|
|
|
- @click="gotoSignin">点名总览</div>
|
|
|
+ <div style="display: flex;">
|
|
|
+ <div>
|
|
|
+ <div class="newStudent"
|
|
|
+ style="margin-bottom:10px;"
|
|
|
+ v-permission="'studentRegistration/insertStudent'"
|
|
|
+ @click="addStudentVisible = true">新增学员</div>
|
|
|
+ <!-- <div class="newStudent"
|
|
|
+ style="margin-bottom:10px;"
|
|
|
+ v-permission="'teamDetails/studentList/QRCode/822'"
|
|
|
+ @click="onCreateQRCode">报名连接</div> -->
|
|
|
+ <div class="newStudent"
|
|
|
+ v-permission="'/studentSignin'"
|
|
|
+ @click="gotoSignin">点名总览</div>
|
|
|
+ </div>
|
|
|
+ <div style="margin-left: 10px;">
|
|
|
+ <div class="newStudent"
|
|
|
+ style="margin-bottom:10px;"
|
|
|
+ v-permission="'studentManage/queryStudentSubTotalCourseTimes'"
|
|
|
+ @click="viewTimer">剩余时长明细</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</statistic-item>
|
|
|
</statistic>
|
|
|
|
|
@@ -188,11 +198,6 @@
|
|
|
label="缴费金额"
|
|
|
prop="courseFee"></el-table-column> -->
|
|
|
<el-table-column align="center"
|
|
|
- prop="subTotalCourseTime"
|
|
|
- label="剩余时长(分)"
|
|
|
- width="125">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="center"
|
|
|
label="报名缴费">
|
|
|
<template slot-scope="scope">
|
|
|
<div>{{ scope.row.paymentStatus | studentPays}}</div>
|
|
@@ -219,9 +224,6 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<el-button type="text"
|
|
|
- v-if="permission('studentManage/queryStudentSubTotalCourseTimes')"
|
|
|
- @click="viewTimer(scope.row)">课程时长</el-button>
|
|
|
- <el-button type="text"
|
|
|
v-if="permission('studentManage/queryStudentClassGroup')&&scope.row.studentStatus != 'QUIT'"
|
|
|
@click="lookClass(scope.row)">查看班级</el-button>
|
|
|
|
|
@@ -431,10 +433,8 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="timesVisible"
|
|
|
title="查看剩余可排课时长"
|
|
|
- width="500px"
|
|
|
>
|
|
|
<times-view
|
|
|
- :detail="timerDetail"
|
|
|
v-if="timesVisible"
|
|
|
@close="timesVisible = false"
|
|
|
/>
|
|
@@ -810,7 +810,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
viewTimer(row) {
|
|
|
- this.timerDetail = row
|
|
|
+ // this.timerDetail = row
|
|
|
this.timesVisible = true
|
|
|
},
|
|
|
permission (str) {
|