| | |
| | | let timeType = BehaviorRelay<StudentAppointDateType>(value: .all) |
| | | |
| | | override func api() -> (Observable<BaseResponse<[StudentAppointModel]>>)? { |
| | | Services.studentAppointList(stuId: studentId.value, status: status.value,search: search.value,timeType: timeType.value) |
| | | Services.studentAppointList(page:page,stuId: studentId.value, status: status.value,search: search.value,timeType: timeType.value) |
| | | } |
| | | } |
| | | |
| | |
| | | override func viewDidLoad() { |
| | | super.viewDidLoad() |
| | | view.backgroundColor = .white |
| | | viewModel.configure(tableView,needMore: false) |
| | | viewModel.configure(tableView,needMore: true) |
| | | viewModel.beginRefresh() |
| | | } |
| | | |