Commit 2ae55572 authored by David黄金龙's avatar David黄金龙

点击 提示

parent d5860527
......@@ -16,6 +16,7 @@ class YHInformationPerfectListVC: YHBaseViewController {
var arrData : [YHInformationPerfectModel] = []
private var myTargetIndex : Int32 = 3
private lazy var topBkg : UIView = {
let imagV = UIImageView()
......@@ -90,7 +91,7 @@ extension YHInformationPerfectListVC {
let arr = [1,2,3,4,5,6]
let target = 4 //for test hjl 待填写的项目
let target = myTargetIndex //for test hjl 待填写的项目
for item in arr {
let model = YHInformationPerfectModel()
model.type = item
......@@ -169,6 +170,13 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
tableView.deselectRow(at: indexPath, animated: true)
printLog("点击了 \(indexPath.section)section --- \(indexPath.row)row")
navigationController?.pushViewController(YHMainApplicantInformationViewController())
let model = arrData[indexPath.row]
if (indexPath.row + 1 > myTargetIndex) {
let message = "请先完成" + model.name + "填写"
YHHUD.flash(message: message)
} else {
navigationController?.pushViewController(YHMainApplicantInformationViewController())
}
}
}
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