Commit 796874f9 authored by Steven杜宇's avatar Steven杜宇

// 原则批

parent 9948cd98
......@@ -56,6 +56,7 @@ class YHPrincipleUploadListVC: YHBaseViewController {
btn.backgroundColor = UIColor.brandMainColor
btn.layer.cornerRadius = kCornerRadius3
btn.addTarget(self, action: #selector(didUploadBtnClicked), for: .touchUpInside)
btn.isHidden = true
return btn
}()
......@@ -100,11 +101,12 @@ class YHPrincipleUploadListVC: YHBaseViewController {
func requestData() {
YHHUD.show(.progress(message: "加载中..."))
let group = DispatchGroup()
group.enter()
// 请求上传信息(《赴港居留同意书》、申请人意见访问、其他证明材料)
viewModel.getPrincipleUploadDetail(orderId: orderId) { success, error in
// self.viewModel.uploadDetailModel
group.leave()
}
......@@ -121,6 +123,7 @@ class YHPrincipleUploadListVC: YHBaseViewController {
}
group.notify(queue: .main) {
YHHUD.hide()
self.updateData()
}
}
......
......@@ -90,9 +90,14 @@ class YHPrincipleWaitResultViewController: YHBaseViewController {
extension YHPrincipleWaitResultViewController {
func getPrincipleWaitResult() {
YHHUD.show(.progress(message: "加载中..."))
let params: [String : Any] = ["order_id" : orderId,
"search_type" : 1]
viewModel.getPrincipleWaitReviewResult(params: params) { success, error in
YHHUD.hide()
self.items.removeAll()
let waitResultModel = self.viewModel.waitResultModel
if self.status == YHCustomerServiceStatus.principleWaitResult.rawValue {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment