Commit 192d1ee6 authored by jie zhang's avatar jie zhang

待办跳转逻辑优化

parent f114718f
Pipeline #113 failed with stages
......@@ -35,8 +35,10 @@ class SBSkipTool {
}
}
func toBillVC(state:String,uuid:String){
let vc = TodoViewController.instantiateViewController(.Function) as! TodoViewController
zj_getCurrentVC()?.pushVC(vc)
switch state {
case "submit":
case "submit", "init":
let lindanVC = HomeLinDanController.instantiateViewController(.Function) as! HomeLinDanController
lindanVC.model = TodoData(fromJson: JSON(rawValue: ""))
lindanVC.model.entityUuid = uuid
......
......@@ -29,17 +29,17 @@ class HomeContentViewController: BaseViewController {
addChildContentVc()
//接收通知处理页面跳转逻辑
NotificationCenter.default.rx.notification(Notification.Name(rawValue: SELECT_HOME_PAGE)).subscribe(onNext: {[weak self] (notice) in
// print(notice)
guard notice.object != nil else {
print("没有指定页面下标")
return
}
let index = notice.object as! Int
self?.contentSegmented.selectedSegmentIndex = index
self?.updateScroll(with: index)
}).disposed(by: disposeBag)
// NotificationCenter.default.rx.notification(Notification.Name(rawValue: SELECT_HOME_PAGE)).subscribe(onNext: {[weak self] (notice) in
//
// guard notice.object != nil else {
// print("没有指定页面下标")
// return
// }
// let index = notice.object as! Int
// self?.contentSegmented.selectedSegmentIndex = index
// self?.updateScroll(with: index)
//
// }).disposed(by: disposeBag)
}
......
......@@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1.9</string>
<string>1.2.0</string>
<key>CFBundleVersion</key>
<string>1.1.9</string>
<string>1.2.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
......
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