Commit 88cbc5506129b00be5fc6832491f5001c8bf0b3d
1 parent
00c29f84
官方认证数据关联
Showing
2 changed files
with
20 additions
and
9 deletions
metaCode/Classes/Main/HomePage/View/DigitalAuthViews/DigitalResume/CNLiveDigitalResumeCell.swift
| ... | ... | @@ -120,7 +120,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 120 | 120 | let titleLabel = UILabel() |
| 121 | 121 | titleLabel.textColor = HexColor("#999999") |
| 122 | 122 | titleLabel.textAlignment = .left |
| 123 | - titleLabel.text = "参加工作时间未设置 >" | |
| 123 | + titleLabel.text = "参加工作时间未设置 >" | |
| 124 | 124 | titleLabel.font = Font_14 |
| 125 | 125 | titleLabel.isUserInteractionEnabled = true |
| 126 | 126 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(workTitleLabelAciton))) |
| ... | ... | @@ -149,7 +149,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 149 | 149 | let titleLabel = UILabel() |
| 150 | 150 | titleLabel.textColor = HexColor("#999999") |
| 151 | 151 | titleLabel.textAlignment = .right |
| 152 | - titleLabel.text = "选择您所在行业 >" | |
| 152 | + titleLabel.text = "选择您所在行业 >" | |
| 153 | 153 | titleLabel.font = Font_14 |
| 154 | 154 | titleLabel.isUserInteractionEnabled = true |
| 155 | 155 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(hangyeDetailTitleLabelAciton))) |
| ... | ... | @@ -168,7 +168,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 168 | 168 | let titleLabel = UILabel() |
| 169 | 169 | titleLabel.textColor = HexColor("#999999") |
| 170 | 170 | titleLabel.textAlignment = .right |
| 171 | - titleLabel.text = "添加职业技能身份 0 >" | |
| 171 | + titleLabel.text = "添加职业技能身份 0 >" | |
| 172 | 172 | titleLabel.font = Font_14 |
| 173 | 173 | titleLabel.isUserInteractionEnabled = true |
| 174 | 174 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(renzhengDetailTitleLabelAciton))) |
| ... | ... | @@ -187,7 +187,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 187 | 187 | let titleLabel = UILabel() |
| 188 | 188 | titleLabel.textColor = HexColor("#999999") |
| 189 | 189 | titleLabel.textAlignment = .right |
| 190 | - titleLabel.text = "上传证书 0 >" | |
| 190 | + titleLabel.text = "上传证书 0 >" | |
| 191 | 191 | titleLabel.font = Font_14 |
| 192 | 192 | titleLabel.isUserInteractionEnabled = true |
| 193 | 193 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(zhengshuDetailTitleLabelAciton))) |
| ... | ... | @@ -206,7 +206,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 206 | 206 | let titleLabel = UILabel() |
| 207 | 207 | titleLabel.textColor = HexColor("#999999") |
| 208 | 208 | titleLabel.textAlignment = .right |
| 209 | - titleLabel.text = "补充工作记录 0 >" | |
| 209 | + titleLabel.text = "补充工作记录 0 >" | |
| 210 | 210 | titleLabel.font = Font_14 |
| 211 | 211 | titleLabel.isUserInteractionEnabled = true |
| 212 | 212 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(gongzuoDetailTitleLabelAciton))) |
| ... | ... | @@ -225,7 +225,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 225 | 225 | let titleLabel = UILabel() |
| 226 | 226 | titleLabel.textColor = HexColor("#999999") |
| 227 | 227 | titleLabel.textAlignment = .right |
| 228 | - titleLabel.text = "展示获奖情况 0 >" | |
| 228 | + titleLabel.text = "展示获奖情况 0 >" | |
| 229 | 229 | titleLabel.font = Font_14 |
| 230 | 230 | titleLabel.isUserInteractionEnabled = true |
| 231 | 231 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(huojiangDetailTitleLabelAciton))) |
| ... | ... | @@ -241,7 +241,7 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 241 | 241 | let titleLabel = UILabel() |
| 242 | 242 | titleLabel.textColor = HexColor("#999999") |
| 243 | 243 | titleLabel.textAlignment = .right |
| 244 | - titleLabel.text = "查看完整资料 >" | |
| 244 | + titleLabel.text = "查看完整资料 >" | |
| 245 | 245 | titleLabel.font = Font_14 |
| 246 | 246 | titleLabel.isUserInteractionEnabled = true |
| 247 | 247 | titleLabel.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(chakanTitleLabelAciton))) |
| ... | ... | @@ -531,7 +531,8 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 531 | 531 | navigationViewController().pushViewController(CNLiveSelectHangYeController(), animated: true) |
| 532 | 532 | } |
| 533 | 533 | @objc func renzhengDetailTitleLabelAciton(){ |
| 534 | - | |
| 534 | + navigationViewController().pushViewController(CNLiveIdentityRepositoryController(), animated: true) | |
| 535 | + | |
| 535 | 536 | } |
| 536 | 537 | @objc func zhengshuDetailTitleLabelAciton(){ |
| 537 | 538 | |
| ... | ... | @@ -575,7 +576,14 @@ class CNLiveDigitalResumeCell: UITableViewCell { |
| 575 | 576 | if model.vitae?.workTime.count ?? 0 > 0{ |
| 576 | 577 | self.workTitleLabel.text = model.vitae!.workTime |
| 577 | 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 | 254 | if controllers?[1] is CNLiveDigitalAssetsController{ |
| 255 | 255 | let assetVC = controllers?[1] as! CNLiveDigitalAssetsController |
| 256 | 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 | 260 | }else{ |
| 258 | 261 | self.navigationController?.popToRootViewController(animated: true) |
| 259 | 262 | } | ... | ... |