|
@@ -40,12 +40,21 @@
|
|
></el-option>
|
|
></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item>
|
|
|
|
- <el-select placeholder="收费类型" v-model="searchForm.isFree" clearable>
|
|
|
|
- <el-option label="付费" value="0"></el-option>
|
|
|
|
- <el-option label="免费" value="1"></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-select
|
|
|
|
+ v-model.trim="searchForm.practiceGroupType"
|
|
|
|
+ clearable
|
|
|
|
+ filterable
|
|
|
|
+ placeholder="课程组类型"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="(item,index) in practiceGroupType"
|
|
|
|
+ :key="index"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item>
|
|
<el-form-item>
|
|
<el-select placeholder="学员评分" v-model="searchForm.studentReview" clearable>
|
|
<el-select placeholder="学员评分" v-model="searchForm.studentReview" clearable>
|
|
<el-option v-for="index in 5" :label="index+'星'" :value="index" :key="index"></el-option>
|
|
<el-option v-for="index in 5" :label="index+'星'" :value="index" :key="index"></el-option>
|
|
@@ -126,11 +135,13 @@
|
|
<el-table-column align="center" prop="subjectName" label="声部"></el-table-column>
|
|
<el-table-column align="center" prop="subjectName" label="声部"></el-table-column>
|
|
<el-table-column align="center" prop="teacherName" label="指导老师"></el-table-column>
|
|
<el-table-column align="center" prop="teacherName" label="指导老师"></el-table-column>
|
|
<el-table-column align="center" prop="eduTeacherName" label="教务老师"></el-table-column>
|
|
<el-table-column align="center" prop="eduTeacherName" label="教务老师"></el-table-column>
|
|
- <el-table-column align="center" prop="id" label="收费类型">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <div>{{scope.row.buyMonths>0?'付费':'免费'}}</div>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" prop="type" label="课程组类型" width="100">
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div>
|
|
|
|
+ <p>{{scope.row.practiceGroupType | comType}}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column align="center" label="学员评分">
|
|
<el-table-column align="center" label="学员评分">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>{{ scope.row.studentReview | studentReviewFilter}}</div>
|
|
<div>{{ scope.row.studentReview | studentReviewFilter}}</div>
|
|
@@ -299,6 +310,7 @@ import { getToken } from "@/utils/auth";
|
|
import qs from "qs";
|
|
import qs from "qs";
|
|
import axios from "axios";
|
|
import axios from "axios";
|
|
import pagination from "@/components/Pagination/index";
|
|
import pagination from "@/components/Pagination/index";
|
|
|
|
+import { practiceGroupType } from "@/utils/searchArray";
|
|
import {
|
|
import {
|
|
getTeacher,
|
|
getTeacher,
|
|
getEmployeeOrgan,
|
|
getEmployeeOrgan,
|
|
@@ -324,8 +336,10 @@ export default {
|
|
hasArrived: null,
|
|
hasArrived: null,
|
|
homeWorkReplied: null,
|
|
homeWorkReplied: null,
|
|
assignHomework:null,
|
|
assignHomework:null,
|
|
- month: []
|
|
|
|
|
|
+ month: [],
|
|
|
|
+ practiceGroupType:null
|
|
},
|
|
},
|
|
|
|
+ practiceGroupType:practiceGroupType,
|
|
organList: [],
|
|
organList: [],
|
|
teacherList: [],
|
|
teacherList: [],
|
|
educationList: [],
|
|
educationList: [],
|
|
@@ -411,6 +425,7 @@ export default {
|
|
obj.homeWorkReplied = this.searchForm.homeWorkReplied || null;
|
|
obj.homeWorkReplied = this.searchForm.homeWorkReplied || null;
|
|
obj.assignHomework = this.searchForm.assignHomework || null;
|
|
obj.assignHomework = this.searchForm.assignHomework || null;
|
|
obj.search = this.searchForm.search;
|
|
obj.search = this.searchForm.search;
|
|
|
|
+ obj.practiceGroupType = this.searchForm.practiceGroupType || null;
|
|
if (this.searchForm.month&&this.searchForm.month.length > 0) {
|
|
if (this.searchForm.month&&this.searchForm.month.length > 0) {
|
|
obj.startTime = this.searchForm.month[0];
|
|
obj.startTime = this.searchForm.month[0];
|
|
obj.endTime = this.searchForm.month[1];
|
|
obj.endTime = this.searchForm.month[1];
|
|
@@ -480,7 +495,8 @@ export default {
|
|
month: null,
|
|
month: null,
|
|
hasArrived: null,
|
|
hasArrived: null,
|
|
homeWorkReplied: null,
|
|
homeWorkReplied: null,
|
|
- assignHomework:null
|
|
|
|
|
|
+ assignHomework:null,
|
|
|
|
+ practiceGroupType:null
|
|
};
|
|
};
|
|
var now = new Date();
|
|
var now = new Date();
|
|
|
|
|
|
@@ -538,6 +554,7 @@ export default {
|
|
this.$message.error('请选择时间范围')
|
|
this.$message.error('请选择时间范围')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ this.searchForm.practiceGroupType?obj.practiceGroupType = this.searchForm.practiceGroupType:null;
|
|
const options = {
|
|
const options = {
|
|
method: "POST",
|
|
method: "POST",
|
|
headers: {
|
|
headers: {
|