...
|
...
|
@@ -145,6 +145,7 @@ class ClassDutyCourseFragment(val type: Int) : |
|
|
val course = CourseParam()
|
|
|
course.mLessonId = "${data.id}"
|
|
|
course.isTrainClass = true
|
|
|
course.mClassId = "${data.class_id}"
|
|
|
course.mTrainClassId = "${data.train_class_id}"
|
|
|
course.type = data.itemType
|
|
|
return course
|
...
|
...
|
@@ -172,7 +173,6 @@ class ClassDutyCourseFragment(val type: Int) : |
|
|
View.GONE
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
private fun refreshData() {
|
...
|
...
|
@@ -261,11 +261,6 @@ class ClassDutyCourseFragment(val type: Int) : |
|
|
if (bool) {
|
|
|
startNext(item)
|
|
|
} else {
|
|
|
// dialogMention.show()
|
|
|
// dialogMention.setListener {
|
|
|
// startNext(item)
|
|
|
// }
|
|
|
// ios 不做跳转,保持一致
|
|
|
showTip("不在考试时间")
|
|
|
}
|
|
|
} else {
|
...
|
...
|
|