瀏覽代碼

Merge branch 'hotfix/bay' of SEEC-II-FrontEnd-Team/SEEC-II-FrontEnd into develop

WuXinyu 7 年之前
父節點
當前提交
13a5e2823c
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/views/teacher/Review/index.vue

+ 10 - 0
src/views/teacher/Review/index.vue

@@ -259,6 +259,16 @@ export default {
         this.adjustMaxDate("reviewDdlConfig", newValue);
         this.adjustMaxDate("argueDdlConfig", newValue);
       }
+    },
+    documentHwId(newValue) {
+      if (newValue) {
+        const selectedDoc = this.docHomework.find(
+          doc => String(doc.id) === String(newValue)
+        );
+        if (selectedDoc) {
+          this.startAtConfig.minDate = String(selectedDoc.startAt);
+        }
+      }
     }
   },
   methods: {