Commit 4cd869ed authored by pete谢兆麟's avatar pete谢兆麟

工作经验时间选择

parent ff1de41e
...@@ -312,7 +312,14 @@ class YHWorkExperienceItemView: UIView { ...@@ -312,7 +312,14 @@ class YHWorkExperienceItemView: UIView {
} }
UIViewController.current?.present(addressPicker, animated: true, completion: nil) UIViewController.current?.present(addressPicker, animated: true, completion: nil)
case .time: case .time:
YHDatePickView.show(type: .yyyymm) { date in var title = ""
if dataSource?.id == .id9 {
title = "请选择入职日期"
}
if dataSource?.id == .id10 {
title = "请选择离职日期"
}
YHDatePickView.show(type: .yyyymm, title: title) { date in
self.dataSource?.message = date self.dataSource?.message = date
self.updateAllViews() self.updateAllViews()
if let block = self.block { if let block = self.block {
......
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