lsc 4 months ago
parent
commit
5f0e56b539

+ 5 - 1
src/components/easy2/studyStudent.vue

@@ -16516,12 +16516,16 @@ export default {
                   ) {
                     continue;
                   }
+                  let _classId = this.arrayToArray(
+                      this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
+                      this.classId ? this.classId.split(",") : []
+                    )
                   if (gA == f[g].group && f[g].tool == i && (this.arrayToArray(
                       (f[g].classid ? f[g].classid.split(",") : []),
                       this.tcid.split(",")
                     ).length !== 0 || this.arrayToArray(
                       (f[g].classid ? f[g].classid.split(",") : []),
-                      this.classId ? this.classId.split(",") : []
+                      _classId
                     ).length !== 0 || (!this.tcid && this.tType == '1') || (this.courseDetail.juri === '') || f[g].ttype == 1)) {
                     this.groupStudent[i][gA].push(f[g]);
                     this.groupStudentUid[i][gA].push(f[g].userid);

+ 5 - 1
src/components/easy3/studyStudent.vue

@@ -14523,12 +14523,16 @@ export default {
                   ) {
                     continue;
                   }
+                  let _classId = this.arrayToArray(
+                      this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
+                      this.classId ? this.classId.split(",") : []
+                    )
                   if (gA == f[g].group && f[g].tool == i && (this.arrayToArray(
                       (f[g].classid ? f[g].classid.split(",") : []),
                       this.tcid.split(",")
                     ).length !== 0 || this.arrayToArray(
                       (f[g].classid ? f[g].classid.split(",") : []),
-                      this.classId ? this.classId.split(",") : []
+                      _classId
                     ).length !== 0 || (!this.tcid && this.tType == '1') || (this.courseDetail.juri === '') || f[g].ttype == 1)) {
                     this.groupStudent[i][gA].push(f[g]);
                     this.groupStudentUid[i][gA].push(f[g].userid);

+ 5 - 1
src/components/studyStudent.vue

@@ -14506,12 +14506,16 @@ export default {
                   ) {
                     continue;
                   }
+                  let _classId = this.arrayToArray(
+                      this.courseDetail.juri ? this.courseDetail.juri.split(",") : [],
+                      this.classId ? this.classId.split(",") : []
+                    )
                   if (gA == f[g].group && f[g].tool == i && (this.arrayToArray(
                       (f[g].classid ? f[g].classid.split(",") : []),
                       this.tcid.split(",")
                     ).length !== 0 || this.arrayToArray(
                       (f[g].classid ? f[g].classid.split(",") : []),
-                      this.classId ? this.classId.split(",") : []
+                      _classId
                     ).length !== 0 || (!this.tcid && this.tType == '1') || (this.courseDetail.juri === '') || f[g].ttype == 1)) {
                     this.groupStudent[i][gA].push(f[g]);
                     this.groupStudentUid[i][gA].push(f[g].userid);