Commit 88cbc5506129b00be5fc6832491f5001c8bf0b3d

Authored by “张旭”
1 parent 00c29f84

官方认证数据关联

metaCode/Classes/Main/HomePage/View/DigitalAuthViews/DigitalResume/CNLiveDigitalResumeCell.swift
@@ -120,7 +120,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -120,7 +120,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
120 let titleLabel = UILabel() 120 let titleLabel = UILabel()
121 titleLabel.textColor = HexColor("#999999") 121 titleLabel.textColor = HexColor("#999999")
122 titleLabel.textAlignment = .left 122 titleLabel.textAlignment = .left
123 - titleLabel.text = "参加工作时间未设置 >" 123 + titleLabel.text = "参加工作时间未设置 >"
124 titleLabel.font = Font_14 124 titleLabel.font = Font_14
125 titleLabel.isUserInteractionEnabled = true 125 titleLabel.isUserInteractionEnabled = true
126 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(workTitleLabelAciton))) 126 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(workTitleLabelAciton)))
@@ -149,7 +149,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -149,7 +149,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
149 let titleLabel = UILabel() 149 let titleLabel = UILabel()
150 titleLabel.textColor = HexColor("#999999") 150 titleLabel.textColor = HexColor("#999999")
151 titleLabel.textAlignment = .right 151 titleLabel.textAlignment = .right
152 - titleLabel.text = "选择您所在行业 >" 152 + titleLabel.text = "选择您所在行业 >"
153 titleLabel.font = Font_14 153 titleLabel.font = Font_14
154 titleLabel.isUserInteractionEnabled = true 154 titleLabel.isUserInteractionEnabled = true
155 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(hangyeDetailTitleLabelAciton))) 155 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(hangyeDetailTitleLabelAciton)))
@@ -168,7 +168,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -168,7 +168,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
168 let titleLabel = UILabel() 168 let titleLabel = UILabel()
169 titleLabel.textColor = HexColor("#999999") 169 titleLabel.textColor = HexColor("#999999")
170 titleLabel.textAlignment = .right 170 titleLabel.textAlignment = .right
171 - titleLabel.text = "添加职业技能身份 0 >" 171 + titleLabel.text = "添加职业技能身份 0 >"
172 titleLabel.font = Font_14 172 titleLabel.font = Font_14
173 titleLabel.isUserInteractionEnabled = true 173 titleLabel.isUserInteractionEnabled = true
174 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(renzhengDetailTitleLabelAciton))) 174 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(renzhengDetailTitleLabelAciton)))
@@ -187,7 +187,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -187,7 +187,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
187 let titleLabel = UILabel() 187 let titleLabel = UILabel()
188 titleLabel.textColor = HexColor("#999999") 188 titleLabel.textColor = HexColor("#999999")
189 titleLabel.textAlignment = .right 189 titleLabel.textAlignment = .right
190 - titleLabel.text = "上传证书 0 >" 190 + titleLabel.text = "上传证书 0 >"
191 titleLabel.font = Font_14 191 titleLabel.font = Font_14
192 titleLabel.isUserInteractionEnabled = true 192 titleLabel.isUserInteractionEnabled = true
193 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(zhengshuDetailTitleLabelAciton))) 193 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(zhengshuDetailTitleLabelAciton)))
@@ -206,7 +206,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -206,7 +206,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
206 let titleLabel = UILabel() 206 let titleLabel = UILabel()
207 titleLabel.textColor = HexColor("#999999") 207 titleLabel.textColor = HexColor("#999999")
208 titleLabel.textAlignment = .right 208 titleLabel.textAlignment = .right
209 - titleLabel.text = "补充工作记录 0 >" 209 + titleLabel.text = "补充工作记录 0 >"
210 titleLabel.font = Font_14 210 titleLabel.font = Font_14
211 titleLabel.isUserInteractionEnabled = true 211 titleLabel.isUserInteractionEnabled = true
212 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(gongzuoDetailTitleLabelAciton))) 212 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(gongzuoDetailTitleLabelAciton)))
@@ -225,7 +225,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -225,7 +225,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
225 let titleLabel = UILabel() 225 let titleLabel = UILabel()
226 titleLabel.textColor = HexColor("#999999") 226 titleLabel.textColor = HexColor("#999999")
227 titleLabel.textAlignment = .right 227 titleLabel.textAlignment = .right
228 - titleLabel.text = "展示获奖情况 0 >" 228 + titleLabel.text = "展示获奖情况 0 >"
229 titleLabel.font = Font_14 229 titleLabel.font = Font_14
230 titleLabel.isUserInteractionEnabled = true 230 titleLabel.isUserInteractionEnabled = true
231 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(huojiangDetailTitleLabelAciton))) 231 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(huojiangDetailTitleLabelAciton)))
@@ -241,7 +241,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -241,7 +241,7 @@ class CNLiveDigitalResumeCell: UITableViewCell {
241 let titleLabel = UILabel() 241 let titleLabel = UILabel()
242 titleLabel.textColor = HexColor("#999999") 242 titleLabel.textColor = HexColor("#999999")
243 titleLabel.textAlignment = .right 243 titleLabel.textAlignment = .right
244 - titleLabel.text = "查看完整资料 >" 244 + titleLabel.text = "查看完整资料 >"
245 titleLabel.font = Font_14 245 titleLabel.font = Font_14
246 titleLabel.isUserInteractionEnabled = true 246 titleLabel.isUserInteractionEnabled = true
247 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(chakanTitleLabelAciton))) 247 titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(chakanTitleLabelAciton)))
@@ -531,7 +531,8 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -531,7 +531,8 @@ class CNLiveDigitalResumeCell: UITableViewCell {
531 navigationViewController().pushViewController(CNLiveSelectHangYeController(), animated: true) 531 navigationViewController().pushViewController(CNLiveSelectHangYeController(), animated: true)
532 } 532 }
533 @objc func renzhengDetailTitleLabelAciton(){ 533 @objc func renzhengDetailTitleLabelAciton(){
534 - 534 + navigationViewController().pushViewController(CNLiveIdentityRepositoryController(), animated: true)
  535 +
535 } 536 }
536 @objc func zhengshuDetailTitleLabelAciton(){ 537 @objc func zhengshuDetailTitleLabelAciton(){
537 538
@@ -575,7 +576,14 @@ class CNLiveDigitalResumeCell: UITableViewCell { @@ -575,7 +576,14 @@ class CNLiveDigitalResumeCell: UITableViewCell {
575 if model.vitae?.workTime.count ?? 0 > 0{ 576 if model.vitae?.workTime.count ?? 0 > 0{
576 self.workTitleLabel.text = model.vitae!.workTime 577 self.workTitleLabel.text = model.vitae!.workTime
577 }else{ 578 }else{
578 - self.workTitleLabel.text = "参加工作时间未设置 >" 579 + self.workTitleLabel.text = "参加工作时间未设置 >"
579 } 580 }
  581 + let tempArray = StandSortManager.sortMyListData(auths: CNLiveSaveAuthDB.shared.searchAllObject() as NSArray) as! [MineAuthListModel]
  582 + if tempArray.count > 0{
  583 + self.renzhengDetailTitleLabel.text = String(format: "%d >", tempArray.count)
  584 + }else{
  585 + self.renzhengDetailTitleLabel.text = "添加职业技能身份 0 >"
  586 + }
  587 +
580 } 588 }
581 } 589 }
metaCode/Classes/Main/MinePage/Controller/CNLiveMineAuthResultViewController.swift
@@ -254,6 +254,9 @@ class CNLiveMineAuthResultViewController: CNLiveBaseViewController { @@ -254,6 +254,9 @@ class CNLiveMineAuthResultViewController: CNLiveBaseViewController {
254 if controllers?[1] is CNLiveDigitalAssetsController{ 254 if controllers?[1] is CNLiveDigitalAssetsController{
255 let assetVC = controllers?[1] as! CNLiveDigitalAssetsController 255 let assetVC = controllers?[1] as! CNLiveDigitalAssetsController
256 self.navigationController?.popToViewController(assetVC, animated: true) 256 self.navigationController?.popToViewController(assetVC, animated: true)
  257 + }else if controllers?[1] is CNLiveDigitalResumeController{
  258 + let vc = controllers?[1] as! CNLiveDigitalResumeController
  259 + self.navigationController?.popToViewController(vc, animated: true)
257 }else{ 260 }else{
258 self.navigationController?.popToRootViewController(animated: true) 261 self.navigationController?.popToRootViewController(animated: true)
259 } 262 }