Commit 9e18b6ef authored by pete谢兆麟's avatar pete谢兆麟

信息完善bug修复

parent b963f707
...@@ -13,7 +13,6 @@ import UIKit ...@@ -13,7 +13,6 @@ import UIKit
*/ */
class YHInformationPerfectListVC: YHBaseViewController { class YHInformationPerfectListVC: YHBaseViewController {
var orderId : Int? var orderId : Int?
var productType2 : Int = 0 //1-优才 2-高才
private var firstCheckFlag : Bool = false private var firstCheckFlag : Bool = false
private lazy var serviceCenterMainReqVM : YHServiceCenterMainViewModel = { private lazy var serviceCenterMainReqVM : YHServiceCenterMainViewModel = {
...@@ -234,7 +233,6 @@ extension YHInformationPerfectListVC { ...@@ -234,7 +233,6 @@ extension YHInformationPerfectListVC {
guard let orderId = orderId else { return} guard let orderId = orderId else { return}
self.serviceCenterMainReqVM.getPersonInfoFillStep(params: ["orderId":orderId]) { success, error in self.serviceCenterMainReqVM.getPersonInfoFillStep(params: ["orderId":orderId]) { success, error in
if success { if success {
if self.serviceCenterMainReqVM.myInfoFillStep == 7 { if self.serviceCenterMainReqVM.myInfoFillStep == 7 {
self.hasSubmitFlag = true self.hasSubmitFlag = true
} else { } else {
...@@ -285,7 +283,7 @@ extension YHInformationPerfectListVC { ...@@ -285,7 +283,7 @@ extension YHInformationPerfectListVC {
//我的方案 //我的方案
@objc func goMySchemeVC() { @objc func goMySchemeVC() {
if productType2 == 1 { // 优才 if serviceCenterMainReqVM.application_type == 0 { // 优才
YHMyNewSchemeViewController.shared.goToSchemePage() YHMyNewSchemeViewController.shared.goToSchemePage()
} else if serviceCenterMainReqVM.application_type == 1 || serviceCenterMainReqVM.application_type == 2 || serviceCenterMainReqVM.application_type == 3 { // 高才ABC } else if serviceCenterMainReqVM.application_type == 1 || serviceCenterMainReqVM.application_type == 2 || serviceCenterMainReqVM.application_type == 3 { // 高才ABC
...@@ -302,7 +300,7 @@ extension YHInformationPerfectListVC { ...@@ -302,7 +300,7 @@ extension YHInformationPerfectListVC {
private func goInfoListVCOp(index : Int = 0) { private func goInfoListVCOp(index : Int = 0) {
if productType2 == 1 { // 优才 if serviceCenterMainReqVM.application_type == 0 { // 优才
let vc = YHPreviewMainViewController() let vc = YHPreviewMainViewController()
vc.orderId = orderId vc.orderId = orderId
vc.myDefaultIndex = index vc.myDefaultIndex = index
...@@ -600,7 +598,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -600,7 +598,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
private func handleJumpLogicDebug(tapIndex : Int) { private func handleJumpLogicDebug(tapIndex : Int) {
if productType2 == 1 { if serviceCenterMainReqVM.application_type == 0 {
//优才 //优才
if tapIndex == 0 { if tapIndex == 0 {
if self.serviceCenterMainReqVM.informationFillStepModel?.sweet_notify_status == 0 { if self.serviceCenterMainReqVM.informationFillStepModel?.sweet_notify_status == 0 {
......
...@@ -277,7 +277,6 @@ class YHServiceOrderListViewController: YHBaseViewController { ...@@ -277,7 +277,6 @@ class YHServiceOrderListViewController: YHBaseViewController {
// UIViewController.current?.navigationController?.pushViewController(vc) // UIViewController.current?.navigationController?.pushViewController(vc)
let vc = YHInformationPerfectListVC() let vc = YHInformationPerfectListVC()
vc.productType2 = productType
vc.orderId = orderId vc.orderId = orderId
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
......
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