|
@@ -49,6 +49,17 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
+ <el-select v-model.trim="searchForm.groupType"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ placeholder="课程租类型">
|
|
|
+ <el-option v-for="(item, index) in courseListType"
|
|
|
+ :key="index"
|
|
|
+ :value="item.value"
|
|
|
+ :label="item.label"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
<el-select v-model.trim="searchForm.courseType"
|
|
|
clearable
|
|
|
filterable
|
|
@@ -100,8 +111,20 @@
|
|
|
type="daterange"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
range-separator="至"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
+ start-placeholder="上课开始日期"
|
|
|
+ end-placeholder="上课结束日期"
|
|
|
+ :picker-options="{
|
|
|
+ firstDayOfWeek: 1
|
|
|
+ }"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
+ <el-date-picker v-model.trim="searchForm.creatTimer"
|
|
|
+ style="width:420px;"
|
|
|
+ type="daterange"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="创建开始日期"
|
|
|
+ end-placeholder="创建结束日期"
|
|
|
:picker-options="{
|
|
|
firstDayOfWeek: 1
|
|
|
}"></el-date-picker>
|
|
@@ -133,7 +156,7 @@
|
|
|
label="课程编号"></el-table-column>
|
|
|
<el-table-column align="center"
|
|
|
width="200px"
|
|
|
- label="时间">
|
|
|
+ label="上课时间">
|
|
|
<template slot-scope="scope">{{ scope.row.startClassTime ? scope.row.startClassTime.substr(0, 16) : '' }}-{{ scope.row.endClassTime ? scope.row.endClassTime.substr(11,5) : ''}}</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column align="center" prop="groupName" label="乐团/VIP名"></el-table-column> -->
|
|
@@ -330,7 +353,7 @@ import {
|
|
|
} from "@/api/buildTeam";
|
|
|
import { getTeacherPersonalAttendanceDetail } from "@/api/teacherManager";
|
|
|
import { getSchool } from "@/api/systemManage";
|
|
|
-import { courseType } from "@/utils/searchArray";
|
|
|
+import { courseType, courseListType } from "@/utils/searchArray";
|
|
|
import studentRollCall from "./componentCourse/studentRollCall";
|
|
|
import gpsLoction from "./componentCourse/gpsLocation";
|
|
|
import studentWork from "./componentCourse/studentWork";
|
|
@@ -353,6 +376,7 @@ export default {
|
|
|
timerVisible: false,
|
|
|
courseVisible: false,
|
|
|
courseType: courseType,
|
|
|
+ courseListType: courseListType,
|
|
|
searchForm: {
|
|
|
teachMode: null, // 教学模式
|
|
|
organIdList: null,
|
|
@@ -363,7 +387,8 @@ export default {
|
|
|
isCallNames: null, // 是否点名
|
|
|
search: null, // 乐团名称 编号 vip课名称
|
|
|
teacherIdList: null, // 老师编号
|
|
|
- schoolId: null // 教学点编号
|
|
|
+ schoolId: null, // 教学点编号
|
|
|
+ creatTimer: []
|
|
|
},
|
|
|
tableList: [],
|
|
|
searchLsit: [],
|
|
@@ -445,7 +470,10 @@ export default {
|
|
|
search: searchForm.search || null,
|
|
|
teacherIdList: searchForm.teacherIdList || null,
|
|
|
isCallNames: searchForm.isCallNames,
|
|
|
- schoolId: searchForm.schoolId || null
|
|
|
+ schoolId: searchForm.schoolId || null,
|
|
|
+ groupType: searchForm.groupType || null,
|
|
|
+ createStartDate: searchForm.creatTimer[0] || null,
|
|
|
+ createEndDate: searchForm.creatTimer[1] || null
|
|
|
};
|
|
|
let url = "/api-web/export/superFindCourseSchedules";
|
|
|
const options = {
|
|
@@ -516,7 +544,10 @@ export default {
|
|
|
search: searchForm.search || null,
|
|
|
teacherIdList: searchForm.teacherIdList || null,
|
|
|
isCallNames: searchForm.isCallNames,
|
|
|
- schoolId: searchForm.schoolId || null
|
|
|
+ schoolId: searchForm.schoolId || null,
|
|
|
+ groupType: searchForm.groupType || null,
|
|
|
+ createStartDate: searchForm.creatTimer[0] || null,
|
|
|
+ createEndDate: searchForm.creatTimer[1] || null
|
|
|
};
|
|
|
superFindCourseSchedules(obj).then(res => {
|
|
|
if (res.code == 200) {
|