|
|
@@ -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: {
|