Commit 9c103ca1 authored by Steven杜宇's avatar Steven杜宇

// 方案

parent a6780245
......@@ -193,7 +193,7 @@ class YHImproveSchemeViewController: YHBaseViewController {
viewModel.modifyInfo(orderId: orderId) {
[weak self] success, error in
guard let self = self else { return }
YHHUD.hide()
if success {
let vc = YHInformationPerfectListVC()
vc.orderId = orderId
......
......@@ -253,8 +253,10 @@ class YHMyNewSchemeViewController: YHBaseViewController {
}
YHHUD.show(.progress(message: "提交中..."))
viewModel.postSelectImproveTargets(orderId: orderId, targets: targets) {
success, error in
[weak self] success, error in
YHHUD.hide()
guard let self = self else { return }
if success {
let vc = YHImproveSchemeViewController()
vc.isPass = self.isPass
......@@ -269,6 +271,7 @@ class YHMyNewSchemeViewController: YHBaseViewController {
YHHUD.show(.progress(message: "修改中..."))
viewModel.modifyInfo(orderId: orderId) {
[weak self] success, error in
YHHUD.hide()
guard let self = self else { return }
if success {
......
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