Commit 5b976b1f authored by David黄金龙's avatar David黄金龙

子女 删除 学位的展示

parent 9d940893
...@@ -1283,20 +1283,20 @@ private extension YHPreviewViewModel { ...@@ -1283,20 +1283,20 @@ private extension YHPreviewViewModel {
arr.append(tmp5) arr.append(tmp5)
} }
let tmp7 = YHPreviewQuestionAndAnswerModel(question: "是否拥有学位:", answer: model.hasDegree == "1" ? "有学位" : "无学位") // let tmp7 = YHPreviewQuestionAndAnswerModel(question: "是否拥有学位:", answer: model.hasDegree == "1" ? "有学位" : "无学位")
arr.append(tmp7) // arr.append(tmp7)
//
if model.hasDegree == "1" { // if model.hasDegree == "1" {
for(index,item) in model.hasDegreeJson.enumerated() { // for(index,item) in model.hasDegreeJson.enumerated() {
//
let addationIndex = model.hasDegreeJson.count > 1 ? String(index + 1) : "" // let addationIndex = model.hasDegreeJson.count > 1 ? String(index + 1) : ""
let title = "学位证" + addationIndex + ":" // let title = "学位证" + addationIndex + ":"
let tmp8 = YHPreviewQuestionAndAnswerModel(question: title, answer: item.degree) // let tmp8 = YHPreviewQuestionAndAnswerModel(question: title, answer: item.degree)
arr.append(tmp8) // arr.append(tmp8)
let tmp9 = YHPreviewQuestionAndAnswerModel(question: "学位证颁发地区:", answer: item.address) // let tmp9 = YHPreviewQuestionAndAnswerModel(question: "学位证颁发地区:", answer: item.address)
arr.append(tmp9) // arr.append(tmp9)
} // }
} // }
let tmp10 = YHPreviewQuestionAndAnswerModel(question: "是否和主申请人同住:", answer: model.nows == 1 ? "是" : "否") let tmp10 = YHPreviewQuestionAndAnswerModel(question: "是否和主申请人同住:", answer: model.nows == 1 ? "是" : "否")
arr.append(tmp10) arr.append(tmp10)
......
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