skyblued 3 tahun lalu
induk
melakukan
1cb3683267

File diff ditekan karena terlalu besar
+ 0 - 0
dist/app.82c89e064359099a9cf8.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/css/selectStudent.2bde9d18.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/index.html


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/activeCourseArrange.3bcd5fb6.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/activeCourseArrange.839dd4c7.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/classSchedule.b6fe39de.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/selectStudent.0a9c4e9c.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/js/selectStudent.b17c1f8d.js


+ 15 - 15
src/views/activeCourseArrange/selectStudent.vue

@@ -60,8 +60,8 @@
         @click="onSelectStudent(index)"
       >
         <div slot="label">
-          <span>{{ student.subjectName }}</span>
-          <span style="margin-left: 10px"> {{ student.phone }}</span>
+          <span>{{ stu.subjectName }}</span>
+          <span style="margin-left: 10px"> {{ stu.phone }}</span>
         </div>
         <img
           v-if="stu.avatar"
@@ -169,24 +169,24 @@ export default {
   methods: {
     async init() {
       Promise.all([
-        getAllOrganization(),
+        // getAllOrganization(),
         getStuSubject(),
         getActivityCourseTimeList({
           categoryId: this.$route.query.categoryId,
         }),
       ]).then((values) => {
-        const res = values[0];
-        const subjects = values[1];
-        const courseList = values[2];
-        if (res && res.data && Array.isArray(res.data)) {
-          this.option1 = res.data.map((n) => {
-            return {
-              text: n.name,
-              value: n.id,
-              checked: true,
-            };
-          });
-        }
+        // const res = values[0];
+        const subjects = values[0];
+        const courseList = values[1];
+        // if (res && res.data && Array.isArray(res.data)) {
+        //   this.option1 = res.data.map((n) => {
+        //     return {
+        //       text: n.name,
+        //       value: n.id,
+        //       checked: true,
+        //     };
+        //   });
+        // }
 
         if (subjects && subjects.data && Array.isArray(subjects.data)) {
           this.option2 = subjects.data

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini