|
@@ -123,6 +123,15 @@
|
|
|
>
|
|
|
名单导出
|
|
|
</div>
|
|
|
+ <auth :auths="'studentRegistration/getRegisterOrPreList'">
|
|
|
+ <div
|
|
|
+ class="newBand"
|
|
|
+ style="margin-right: 0"
|
|
|
+ @click="newForecastVisible = true"
|
|
|
+ >
|
|
|
+ 时间数据统计
|
|
|
+ </div>
|
|
|
+ </auth>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-dialog
|
|
@@ -138,7 +147,13 @@
|
|
|
@submited="getList"
|
|
|
/>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+ <el-dialog
|
|
|
+ title="时间数据统计"
|
|
|
+ :visible.sync="newForecastVisible"
|
|
|
+ width="1100px"
|
|
|
+ >
|
|
|
+ <newForecastList v-if="newForecastVisible" @close="newForecastVisible = false" />
|
|
|
+ </el-dialog>
|
|
|
<el-dialog
|
|
|
title="预报名名单"
|
|
|
:visible.sync="forecastVisible"
|
|
@@ -290,7 +305,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="缴费中" prop="payingNum" align="center">
|
|
|
<template slot="header">
|
|
|
- <p style="position: relative;display: flex;">
|
|
|
+ <p style="position: relative; display: flex">
|
|
|
缴费中
|
|
|
<el-tooltip placement="top" popper-class="mTooltip">
|
|
|
<div slot="content">提交订单尚未支付成功学员</div>
|
|
@@ -304,10 +319,12 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="预约中" prop="checkNum" align="center">
|
|
|
<template slot="header">
|
|
|
- <p style="position: relative;display: flex;">
|
|
|
+ <p style="position: relative; display: flex">
|
|
|
预约中
|
|
|
<el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">不购买云教练系统学员数量,不包含不购买云教练系统且支付成功学员</div>
|
|
|
+ <div slot="content">
|
|
|
+ 不购买云教练系统学员数量,不包含不购买云教练系统且支付成功学员
|
|
|
+ </div>
|
|
|
<i
|
|
|
class="el-icon-question"
|
|
|
style="font-size: 18px; color: #f56c6c"
|
|
@@ -421,7 +438,7 @@
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
- {{ scope.row.hasCloudTeacher == 1 ? '是' : '否' }}
|
|
|
+ {{ scope.row.hasCloudTeacher == 1 ? "是" : "否" }}
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -715,7 +732,12 @@
|
|
|
width="640px"
|
|
|
:visible.sync="quitVisible"
|
|
|
>
|
|
|
- <el-form :model="quitForm" ref="quitForm" label-width="150px" :rules="quitRules">
|
|
|
+ <el-form
|
|
|
+ :model="quitForm"
|
|
|
+ ref="quitForm"
|
|
|
+ label-width="150px"
|
|
|
+ :rules="quitRules"
|
|
|
+ >
|
|
|
<el-form-item
|
|
|
label="退还云教练费用"
|
|
|
prop="isCloudTeacherAmount"
|
|
@@ -877,6 +899,7 @@ import {
|
|
|
} from "@/api/buildTeam";
|
|
|
import mergeMusic from "./components/merge-music";
|
|
|
import forecastList from "./components/forecast-list";
|
|
|
+import newForecastList from "./components/newForecast-list";
|
|
|
import { resetStudentSubject, getStudentFeeDetail } from "@/api/studentManager";
|
|
|
import { vaildStudentUrl, vaildTeacherUrl } from "@/utils/validate";
|
|
|
import { addVisit } from "@/views/returnVisitManager/api.js";
|
|
@@ -899,11 +922,13 @@ export default {
|
|
|
mergeMusic,
|
|
|
forecastList,
|
|
|
visit,
|
|
|
+ newForecastList
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
multipleSelection: [], //
|
|
|
forecastVisible: false, // 预报名状态
|
|
|
+ newForecastVisible:false,
|
|
|
isEdit: false,
|
|
|
rowDetail: null,
|
|
|
mergeVisible: false,
|
|
@@ -997,8 +1022,12 @@ export default {
|
|
|
},
|
|
|
quitRules: {
|
|
|
isCloudTeacherAmount: [{ required: true, message: "请输入云教练费用" }],
|
|
|
- cloudTeacherAmount: [{ required: true, message: "请输入云教练金额", trigger: 'blur' }],
|
|
|
- isRefundCourseFee: [{ required: true, message: "请选择是否退还课程费用" }],
|
|
|
+ cloudTeacherAmount: [
|
|
|
+ { required: true, message: "请输入云教练金额", trigger: "blur" },
|
|
|
+ ],
|
|
|
+ isRefundCourseFee: [
|
|
|
+ { required: true, message: "请选择是否退还课程费用" },
|
|
|
+ ],
|
|
|
isRefundInstrumentFee: [
|
|
|
{ required: true, message: "选择是否退还乐器费用" },
|
|
|
],
|
|
@@ -1524,7 +1553,7 @@ export default {
|
|
|
quitTeam(row) {
|
|
|
this.activeRow = row;
|
|
|
this.quitVisible = true;
|
|
|
- this.quitForm.cloudTeacherAmount = row.cloudTeacherAmount
|
|
|
+ this.quitForm.cloudTeacherAmount = row.cloudTeacherAmount;
|
|
|
},
|
|
|
quieTeams(row) {
|
|
|
this.$prompt("请输入退团原因", "提示", {
|
|
@@ -1580,15 +1609,15 @@ export default {
|
|
|
reason: this.quitForm.reason,
|
|
|
isRefundCourseFee: this.quitForm.isRefundCourseFee,
|
|
|
isRefundInstrumentFee: this.quitForm.isRefundInstrumentFee,
|
|
|
- isRefundTeachingAssistantsFee: this.quitForm
|
|
|
- .isRefundTeachingAssistantsFee,
|
|
|
+ isRefundTeachingAssistantsFee:
|
|
|
+ this.quitForm.isRefundTeachingAssistantsFee,
|
|
|
maintenanceFee: this.quitForm.maintenanceFee,
|
|
|
- }
|
|
|
+ };
|
|
|
// 退还乐器练习云教练费用
|
|
|
- if(this.quitForm.isCloudTeacherAmount) {
|
|
|
- params.cloudTeacherAmount = this.quitForm.cloudTeacherAmount
|
|
|
+ if (this.quitForm.isCloudTeacherAmount) {
|
|
|
+ params.cloudTeacherAmount = this.quitForm.cloudTeacherAmount;
|
|
|
} else {
|
|
|
- params.cloudTeacherAmount = 0
|
|
|
+ params.cloudTeacherAmount = 0;
|
|
|
}
|
|
|
// 发请求 退团
|
|
|
StudentQuit(params).then((res) => {
|