Commit d420c999 authored by David黄金龙's avatar David黄金龙

处理 一处提示问题

parent b2df442e
...@@ -395,10 +395,10 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -395,10 +395,10 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
private func handleJumpLogicDebug(tapIndex : Int) { private func handleJumpLogicDebug(tapIndex : Int) {
if self.serviceCenterMainReqVM.myInfoFillStep > 6 { // if self.serviceCenterMainReqVM.myInfoFillStep > 6 {
goInfoListVCOp(index:tapIndex) // goInfoListVCOp(index:tapIndex)
return // return
} // }
if tapIndex == 0 { if tapIndex == 0 {
//主申请人信息 //主申请人信息
......
...@@ -121,14 +121,19 @@ extension YHOtherInfoFillViewController { ...@@ -121,14 +121,19 @@ extension YHOtherInfoFillViewController {
otherInfoVM.saveOtherInfo(params: param) { success, error in otherInfoVM.saveOtherInfo(params: param) { success, error in
if success == true { if success == true {
YHHUD.flash(message: "操作成功")
let msg = flag ? "提交成功" : "保存成功"
YHHUD.flash(message:msg)
if flag == true { if flag == true {
DispatchQueue.main.asyncAfter(wallDeadline: .now() + 1.5) {[weak self] in DispatchQueue.main.asyncAfter(wallDeadline: .now() + 1.5) {[weak self] in
self?.navigationController?.popViewController(animated: true) self?.navigationController?.popViewController(animated: true)
} }
} }
} else { } else {
let msg = error?.errorMsg ?? "操作失败"
let tips = flag ? "提交失败" : "保存失败"
let msg = error?.errorMsg ?? tips
YHHUD.flash(message: msg) YHHUD.flash(message: msg)
} }
} }
......
...@@ -690,9 +690,7 @@ private extension YHPreviewViewModel { ...@@ -690,9 +690,7 @@ private extension YHPreviewViewModel {
do { do {
//语言能力 //语言能力
if let model = otherInfoPreviewModel?.language { if let model = otherInfoPreviewModel?.language {
var title = "" var title = ""
if model.level == 4 { if model.level == 4 {
title = model.name.defaultStringIfEmpty() + "\n" + model.remark.defaultStringIfEmpty() title = model.name.defaultStringIfEmpty() + "\n" + model.remark.defaultStringIfEmpty()
......
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