Commit fae640b6 authored by Steven杜宇's avatar Steven杜宇

// 预览

parent 99191958
...@@ -832,7 +832,7 @@ private extension YHGCPreviewViewModel { ...@@ -832,7 +832,7 @@ private extension YHGCPreviewViewModel {
let tmp1 = YHPreviewQuestionAndAnswerModel(question: "2、是否曾因任何罪行或违法行为在香港或其他地方被定罪?", answer: answer1, remark: remark1) let tmp1 = YHPreviewQuestionAndAnswerModel(question: "2、是否曾因任何罪行或违法行为在香港或其他地方被定罪?", answer: answer1, remark: remark1)
let arr = [tmp0, tmp1] let arr = [tmp0, tmp1]
let model1 = YHPreviewInfoSessionModel(cellType: .questionAndAnswer, cellTitle: "子女(\(model.name))", cellData0: arr) let model1 = YHPreviewInfoSessionModel(cellType: .questionAndAnswer, cellTitle: "子女信息(\(model.name))", cellData0: arr)
arrDataForBasicInfo.append(model1) arrDataForBasicInfo.append(model1)
} }
} }
...@@ -1651,7 +1651,8 @@ private extension YHGCPreviewViewModel { ...@@ -1651,7 +1651,8 @@ private extension YHGCPreviewViewModel {
if totalChild > 1 { if totalChild > 1 {
title = String(childIndex + 1) title = String(childIndex + 1)
} }
let model2 = YHPreviewInfoSessionModel(cellType: .countryInfoType, cellTitle: "子女信息" + title, cellData0: arr)
let model2 = YHPreviewInfoSessionModel(cellType: .countryInfoType, cellTitle: "子女信息" + "(\(model.subsetName))", cellData0: arr)
arrTemp.append(model2) arrTemp.append(model2)
} }
...@@ -1746,7 +1747,7 @@ private extension YHGCPreviewViewModel { ...@@ -1746,7 +1747,7 @@ private extension YHGCPreviewViewModel {
if totalChild > 1 { if totalChild > 1 {
title = String(childIndex + 1) title = String(childIndex + 1)
} }
let model1 = YHPreviewInfoSessionModel(cellType: .countryInfoType, cellTitle: "子女信息" + title, cellData0: arr) let model1 = YHPreviewInfoSessionModel(cellType: .countryInfoType, cellTitle: "子女信息" + "(\(model.subsetName))", cellData0: arr)
arrTemp.append(model1) arrTemp.append(model1)
} }
} }
......
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