Commit 183e6afd authored by David黄金龙's avatar David黄金龙

修改 首页 正式批弹窗逻辑

parent c9e5deb2
...@@ -164,7 +164,7 @@ extension YHHomeHoldViewPageViewController { ...@@ -164,7 +164,7 @@ extension YHHomeHoldViewPageViewController {
printLog(roundedUp) printLog(roundedUp)
} }
self.princleVM.postAlertStatus(6) { success, error in self.princleVM.postAlertStatus(15) { success, error in
} }
......
...@@ -163,9 +163,9 @@ class YHOfficialApprovalResultVC: YHBaseViewController { ...@@ -163,9 +163,9 @@ class YHOfficialApprovalResultVC: YHBaseViewController {
getApprovalLetter() getApprovalLetter()
// if !isFromHomeAlertViewFlag { if !isFromHomeAlertViewFlag {
// getAlertStatus() getAlertStatus()
// } }
getOfficalGuildCheckStatus() getOfficalGuildCheckStatus()
} }
...@@ -251,10 +251,6 @@ private extension YHOfficialApprovalResultVC { ...@@ -251,10 +251,6 @@ private extension YHOfficialApprovalResultVC {
view.show() view.show()
view.block = { tag in view.block = { tag in
DispatchQueue.main.async {
self.postAlertStatus(6)
}
if tag == 0 { if tag == 0 {
self.clickRightItemBtn() self.clickRightItemBtn()
} }
...@@ -400,6 +396,9 @@ private extension YHOfficialApprovalResultVC { ...@@ -400,6 +396,9 @@ private extension YHOfficialApprovalResultVC {
view.block = { view.block = {
//点击了 正式批 操作指引 //点击了 正式批 操作指引
if !self.princleVM.isOfficialGuildCheckFlag { if !self.princleVM.isOfficialGuildCheckFlag {
self.postAlertStatus(6)
self.princleVM.postAlertStatus(2) { success, error in self.princleVM.postAlertStatus(2) { success, error in
if success { if success {
......
...@@ -82,12 +82,16 @@ extension YHPrincleViewModel { ...@@ -82,12 +82,16 @@ extension YHPrincleViewModel {
//identify = 14 // 原则批获批祝贺弹窗 //identify = 14 // 原则批获批祝贺弹窗
params = ["identify":14] params = ["identify":14]
} else if type == 6 { } else if type == 6 {
//identify = 6 // 赴港获批祝贺弹窗 - 正式批 //identify = 6 //正式批弹窗 - 获批结果页
params = ["identify":6] params = ["identify":6]
} else if type == 2 { } else if type == 2 {
//identify = 2 // 香港身份获批操作指引 //identify = 2 // 香港身份获批操作指引
params = ["identify":2] params = ["identify":2]
} else { } else if type == 15 {
//identify = 2 // 首页正式批弹窗
params = ["identify":15]
}
else {
return return
} }
......
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