lrf402788946 пре 4 година
родитељ
комит
2e30d1b794
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/lesson/parts/class-table.vue

+ 2 - 2
src/views/lesson/parts/class-table.vue

@@ -123,9 +123,9 @@ export default {
     async search() {
       if (this.defaultOption.classid) {
         let classid = this.defaultOption.classid;
-        const res = await this.fetch({ model: 'lesson', classid: classid });
+        const res = await this.fetch({ model: 'lesson', classid: classid, status: '1' });
         if (!_.get(res.data, 'lessons') || res.data.lessons.length <= 0) {
-          this.$message.warning('请先将本期的课程按模板进行初始化');
+          this.$message.warning('课表还未确认,如有疑问请联系中心管理员');
           return;
         }
         this.$set(this, `lessonInfo`, _.omit(res.data, ['lessons']));