Commit 0b763b8e authored by Alex朱枝文's avatar Alex朱枝文

高才申请类别入口跳转

parent 4057020c
...@@ -619,10 +619,12 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -619,10 +619,12 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
self.showTipsAlert() self.showTipsAlert()
return return
} }
if serviceCenterMainReqVM.myInfoFillStep > 0 {
gotoApplyTypeVC(.typeA)
} else {
gotoApplyTypeVC(nil)
}
//高A- 申请类别 //高A- 申请类别
YHHUD.flash(message: "高A- 申请类别")
} else if tapIndex == 1 { } else if tapIndex == 1 {
//高A- 主申请人信息 //高A- 主申请人信息
// YHHUD.flash(message: "高A- 主申请人信息") // YHHUD.flash(message: "高A- 主申请人信息")
...@@ -659,10 +661,18 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -659,10 +661,18 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
self.showTipsAlert() self.showTipsAlert()
return return
} }
if serviceCenterMainReqVM.myInfoFillStep > 0 {
var type: YHGCApplicationType = .typeB
if productType == 2 {
type = .typeB
} else if productType == 3 {
type = .typeC
}
gotoApplyTypeVC(type)
} else {
gotoApplyTypeVC(nil)
}
//高才BC- 申请类别 //高才BC- 申请类别
YHHUD.flash(message: "高才BC- 申请类别")
} else if tapIndex == 1 { } else if tapIndex == 1 {
//高才BC- 主申请人信息 //高才BC- 主申请人信息
// YHHUD.flash(message: "高才BC- 主申请人信息") // YHHUD.flash(message: "高才BC- 主申请人信息")
...@@ -699,4 +709,14 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -699,4 +709,14 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
} }
} }
} }
private func gotoApplyTypeVC(_ type: YHGCApplicationType?) {
if let type = type {
let ctl = YHGCApplicationTypeResultController(type: type)
navigationController?.pushViewController(ctl)
} else {
let ctl = YHGCApplicationTypeController(orderId: orderId ?? 0)
navigationController?.pushViewController(ctl)
}
}
} }
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