|
@@ -143,6 +143,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import { queryTeacherInfo } from "@/api/app";
|
|
|
import { superFindCourseSchedules, classStartDateAdjust } from "./api";
|
|
|
import dayjs from "dayjs";
|
|
|
import MEmpty from "@/components/MEmpty";
|
|
@@ -151,7 +152,6 @@ export default {
|
|
|
name: "abnormalCourse",
|
|
|
components: { MEmpty },
|
|
|
data() {
|
|
|
- const teacherId = sessionStorage.getItem("userId");
|
|
|
return {
|
|
|
dataForm: {
|
|
|
// 时间下拉框
|
|
@@ -175,7 +175,7 @@ export default {
|
|
|
finished: false,
|
|
|
params: {
|
|
|
searchType: "COURSE_TIME_ERROR",
|
|
|
- teacherIdList: teacherId || "",
|
|
|
+ teacherIdList: "",
|
|
|
// startTime: "",
|
|
|
// endTime: "",
|
|
|
page: 1,
|
|
@@ -186,6 +186,10 @@ export default {
|
|
|
},
|
|
|
async mounted() {
|
|
|
document.title = "异常课程";
|
|
|
+ await queryTeacherInfo().then((res) => {
|
|
|
+ const result = res.data || null;
|
|
|
+ this.teacherIdList = result.data.id || 0;
|
|
|
+ });
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|