|
@@ -166,7 +166,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="student_table">
|
|
|
+ <div class="student_table" v-loading="isLoading">
|
|
|
<div class="course_box">
|
|
|
<div class="out_box" v-for="(item, index) in course" :key="index">
|
|
|
<!-- <div class="myCourse" v-if="item.isCourseType == 1 && groupA == 0">
|
|
@@ -1129,11 +1129,11 @@ export default {
|
|
|
this.getCourse();
|
|
|
},
|
|
|
getCourse() {
|
|
|
- if (!this.loading) {
|
|
|
- this.loading = this.openLoading(
|
|
|
- document.querySelector(".student_table")
|
|
|
- );
|
|
|
- }
|
|
|
+ // if (!this.loading) {
|
|
|
+ // this.loading = this.openLoading(
|
|
|
+ // document.querySelector(".student_table")
|
|
|
+ // );
|
|
|
+ // }
|
|
|
// var typeE = [];
|
|
|
// var typea, typeb, typec, typed;
|
|
|
// if (this.isChoose == 1) {
|
|
@@ -1182,8 +1182,8 @@ export default {
|
|
|
this.ajax
|
|
|
.get(this.$store.state.api + "selectCourseNew2", params)
|
|
|
.then((res) => {
|
|
|
- this.loading.close();
|
|
|
- this.loading = "";
|
|
|
+ // this.loading.close();
|
|
|
+ // this.loading = "";
|
|
|
this.isLoading = false;
|
|
|
this.total = res.data[0].length > 0 ? res.data[0][0].num : 0;
|
|
|
this.course = res.data[0];
|
|
@@ -1225,9 +1225,9 @@ export default {
|
|
|
type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
- const loading = this.openLoading(
|
|
|
- document.querySelector(".student_table")
|
|
|
- );
|
|
|
+ // const loading = this.openLoading(
|
|
|
+ // document.querySelector(".student_table")
|
|
|
+ // );
|
|
|
this.isLoading = true;
|
|
|
let params = {
|
|
|
cid: cid,
|