123456789101112131415161718192021222324252627282930313233343536 |
- //
- // StatisticsPageController.swift
- // JiaPeiManage
- //
- // Created by Ning.ge on 2023/6/26.
- //
- import UIKit
- import RxSwift
- import RxCocoa
- final class StatisticsPageController: BaseViewController {
- // MARK: 服务属性
- private let statisticsService: StatisticsServiceType = StatisticsService(networking: StatisticsNetworking())
-
- override func viewDidLoad() {
- super.viewDidLoad()
-
-
- self.statisticsService.everyDayStuCountRequest(city: LocalManager.userInfo.city!, schoolId: LocalManager.userInfo.schoolId, startDate: "2023-06-25", endDate: "2023-06-26").subscribe(onSuccess: { stuCountDataModel in
-
- // self.rows.removeAll()
- // self.traineeDataModel = traineeDataModel
- // self.rows += traineeDataModel.rows!
- print("everyDayStuCountRequest成功 %@",stuCountDataModel)
- // self.hideLoadAnimation()
- // self.tableView.reloadData()
- // self.stopRefresh()
- }, onError: { error in
- // self.stopRefresh()
- })
- .disposed(by: disposeBag)
- }
-
- }
|