|
@@ -52,6 +52,27 @@
|
|
|
<el-option label="已结束" value="OVER"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item prop="educationUserId">
|
|
|
+ <el-select
|
|
|
+ class="multiple"
|
|
|
+ v-model.trim="searchForm.educationUserId"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ placeholder="请选择乐团主管"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in educationList"
|
|
|
+ :key="index"
|
|
|
+ :label="item.userName"
|
|
|
+ :value="item.userId"
|
|
|
+ >
|
|
|
+ <span style="float: left">{{ item.userName }}</span>
|
|
|
+ <span style="float: right; color: #8492a6; font-size: 13px">{{
|
|
|
+ item.userId
|
|
|
+ }}</span>
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-select
|
|
|
v-model.trim="searchForm.hasDealTime"
|
|
@@ -61,7 +82,6 @@
|
|
|
>
|
|
|
<el-option label="是" value="1"></el-option>
|
|
|
<el-option label="否" value="0"></el-option>
|
|
|
-
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -409,7 +429,7 @@ import { objectToOptions, getTimes } from "@/utils";
|
|
|
import { getTeacherPersonalAttendanceDetail } from "@/api/teacherManager";
|
|
|
import { courseType, courseListType } from "@/utils/searchArray";
|
|
|
import { permission } from "@/utils/directivePage";
|
|
|
-import { getHistoryErrCourse } from "../api";
|
|
|
+import { getHistoryErrCourse, getAllEducationUsers } from "../api";
|
|
|
let nowTime = new Date();
|
|
|
nowTime =
|
|
|
nowTime.getFullYear() +
|
|
@@ -433,7 +453,8 @@ const initSearch = {
|
|
|
schoolId: null, // 教学点编号
|
|
|
creatTimer: [],
|
|
|
courseIdSearch: null,
|
|
|
- hasDealTime:null,
|
|
|
+ hasDealTime: null,
|
|
|
+ educationUserId: null,
|
|
|
};
|
|
|
export default {
|
|
|
props: ["searchType"],
|
|
@@ -468,6 +489,7 @@ export default {
|
|
|
isMainGo: false,
|
|
|
isDetele: false,
|
|
|
showMove: false,
|
|
|
+ educationList: [],
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -497,7 +519,7 @@ export default {
|
|
|
);
|
|
|
},
|
|
|
},
|
|
|
- mounted() {
|
|
|
+ async mounted() {
|
|
|
const { query } = this.$route;
|
|
|
if (query.start || query.end) {
|
|
|
this.searchForm.timer = [query.start, query.end];
|
|
@@ -527,6 +549,12 @@ export default {
|
|
|
if (query.organId) {
|
|
|
this.searchForm.organIdList = Number(query.organId);
|
|
|
}
|
|
|
+
|
|
|
+ try {
|
|
|
+ const res = await getAllEducationUsers();
|
|
|
+ this.educationList = res.data;
|
|
|
+ } catch (e) {}
|
|
|
+
|
|
|
this.$store.dispatch("setBranchs");
|
|
|
this.$store.dispatch("setTeachers");
|
|
|
this.$store.dispatch("setSchools");
|
|
@@ -645,8 +673,8 @@ export default {
|
|
|
},
|
|
|
lookDetail(row) {
|
|
|
this.$router.push({
|
|
|
- name:'teamCourseList',
|
|
|
- params:{courseIdSearch: row.id}
|
|
|
+ name: "teamCourseList",
|
|
|
+ params: { courseIdSearch: row.id },
|
|
|
});
|
|
|
// this.maskForm = row;
|
|
|
// 发请求 获取详情 row.id
|