Commit 626c1695 authored by pete谢兆麟's avatar pete谢兆麟

修改服务中心逻辑

parent 00ad4faf
......@@ -343,9 +343,9 @@ extension YHServiceCenterViewController {
self.titleLabel.setTitle("优才审批阶段", for: .normal)
} else if self.model.product_type == 2 {
self.titleLabel.setTitle("高才审批阶段", for: .normal)
} else if self.model.product_type == 3 {
self.titleLabel.setTitle("专才审批阶段", for: .normal)
} else if self.model.product_type == 4 {
self.titleLabel.setTitle("专才审批阶段", for: .normal)
} else if self.model.product_type == 5 {
self.titleLabel.setTitle("留学审批阶段", for: .normal)
}
self.titleLabel.setImage(UIImage(named: "service_center_select_step"), for: .normal)
......@@ -368,9 +368,9 @@ extension YHServiceCenterViewController {
self.titleLabel.setTitle("优才续签阶段", for: .normal)
} else if self.model.product_type == 2 {
self.titleLabel.setTitle("高才续签阶段", for: .normal)
} else if self.model.product_type == 3 {
self.titleLabel.setTitle("专才续签阶段", for: .normal)
} else if self.model.product_type == 4 {
self.titleLabel.setTitle("专才续签阶段", for: .normal)
} else if self.model.product_type == 5 {
self.titleLabel.setTitle("留学续签阶段", for: .normal)
}
self.titleLabel.setImage(UIImage(named: "service_center_select_step"), for: .normal)
......@@ -423,9 +423,9 @@ extension YHServiceCenterViewController {
self.titleLabel.setTitle("优才申请阶段", for: .normal)
} else if self.model.product_type == 2 {
self.titleLabel.setTitle("高才申请阶段", for: .normal)
} else if self.model.product_type == 3 {
self.titleLabel.setTitle("专才申请阶段", for: .normal)
} else if self.model.product_type == 4 {
self.titleLabel.setTitle("专才申请阶段", for: .normal)
} else if self.model.product_type == 5 {
self.titleLabel.setTitle("留学申请阶段", for: .normal)
}
self.titleLabel.setImage(UIImage(named: ""), for: .normal)
......@@ -437,9 +437,9 @@ extension YHServiceCenterViewController {
self.titleLabel.setTitle("优才审批阶段", for: .normal)
} else if self.model.product_type == 2 {
self.titleLabel.setTitle("高才审批阶段", for: .normal)
} else if self.model.product_type == 3 {
self.titleLabel.setTitle("专才审批阶段", for: .normal)
} else if self.model.product_type == 4 {
self.titleLabel.setTitle("专才审批阶段", for: .normal)
} else if self.model.product_type == 5 {
self.titleLabel.setTitle("留学审批阶段", for: .normal)
}
if isCanSelectStep {
......@@ -466,9 +466,9 @@ extension YHServiceCenterViewController {
self.titleLabel.setTitle("优才续签阶段", for: .normal)
} else if self.model.product_type == 2 {
self.titleLabel.setTitle("高才续签阶段", for: .normal)
} else if self.model.product_type == 3 {
self.titleLabel.setTitle("专才续签阶段", for: .normal)
} else if self.model.product_type == 4 {
self.titleLabel.setTitle("专才续签阶段", for: .normal)
} else if self.model.product_type == 5 {
self.titleLabel.setTitle("留学续签阶段", for: .normal)
}
self.titleLabel.setImage(UIImage(named: "service_center_select_step"), for: .normal)
......
......@@ -18,7 +18,7 @@ struct YHContactItemModel: SmartCodable {
var type: String = ""
var mobile: String = ""
var status: Int = 0
var product_type: Int = 0 // 1-优才 2-高才 // 3-专才 // 4-留学
var product_type: Int = 0 // 1-优才 2-高才 3-小项目 4-专才 5-留学
var isOther: Bool = false // 是否协作单
var service_name: String = ""
}
......@@ -252,7 +252,7 @@ extension YHPrincipleWaitResultViewController: UITableViewDelegate, UITableViewD
tipsLabel.numberOfLines = 0
tipsLabel.font = UIFont.PFSC_R(ofSize: 14)
tipsLabel.textColor = .mainTextColor(alpha: 0.7)
tipsLabel.text = "您的【优秀人才入境计划】赴港居留申请资料已经递交港府。"
tipsLabel.text = "您的【\(orderTypeString)】赴港居留申请资料已经递交港府。"
view.addSubview(tipsLabel)
let detailLabel = UILabel()
......
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