Commit b963f707 authored by pete谢兆麟's avatar pete谢兆麟

优才信息完善

parent c8bcd08b
...@@ -111,7 +111,6 @@ class YHInformationPerfectListVC: YHBaseViewController { ...@@ -111,7 +111,6 @@ class YHInformationPerfectListVC: YHBaseViewController {
override func viewDidLoad() { override func viewDidLoad() {
super.viewDidLoad() super.viewDidLoad()
serviceCenterMainReqVM.productType2 = productType2
setupUI() setupUI()
} }
......
...@@ -10,7 +10,6 @@ import UIKit ...@@ -10,7 +10,6 @@ import UIKit
import SmartCodable import SmartCodable
class YHServiceCenterMainViewModel: YHBaseViewModel { class YHServiceCenterMainViewModel: YHBaseViewModel {
var productType2 : Int = 0 //1-优才 2-高才
var application_type : Int = 0 // 高才 才使用该数据 1-高A 2-高B 3-高C var application_type : Int = 0 // 高才 才使用该数据 1-高A 2-高B 3-高C
//合同列表 数据 //合同列表 数据
...@@ -317,7 +316,7 @@ extension YHServiceCenterMainViewModel { ...@@ -317,7 +316,7 @@ extension YHServiceCenterMainViewModel {
var arr : [Int] = [] var arr : [Int] = []
if productType2 == 1 { if application_type == 0 {
//优才 //优才
arr = [0,1,2,3,4,5,8] arr = [0,1,2,3,4,5,8]
} else if application_type == 1 { } else if application_type == 1 {
...@@ -343,7 +342,7 @@ extension YHServiceCenterMainViewModel { ...@@ -343,7 +342,7 @@ extension YHServiceCenterMainViewModel {
for (index,item) in arr.enumerated() { for (index,item) in arr.enumerated() {
let model = YHInformationPerfectModel() let model = YHInformationPerfectModel()
model.productType = productType2 == 1 ? 0 : application_type model.productType = application_type
model.helpModel = resultModel model.helpModel = resultModel
model.type = item model.type = item
arrInfoFillStep.append(model) arrInfoFillStep.append(model)
......
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