Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
b5c5e854
Commit
b5c5e854
authored
May 13, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 提示更改
parent
3ea3f534
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
23 deletions
+23
-23
YHEducationDetailVC.swift
...ation&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
+3
-3
YHQualificationDetailVC.swift
...n&Qualification(学历专业资格填写)/C/YHQualificationDetailVC.swift
+1
-1
YHCertificateInfoController.swift
...Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
+3
-3
YHBrotherInfoVC.swift
...庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHBrotherInfoVC.swift
+1
-1
YHParentInfoVC.swift
...家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHParentInfoVC.swift
+1
-1
YHSpouseBasicInfoVC.swift
...ilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
+1
-1
YHMainApplicantInformationViewModel.swift
...tion(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
+10
-10
YHWorkExperienceViewModel.swift
...xperience(工作经验)/ViewModel/YHWorkExperienceViewModel.swift
+3
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
View file @
b5c5e854
...
@@ -351,14 +351,14 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -351,14 +351,14 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
if
detailItem
.
type
==
.
educationTime
{
// 选择入学日期
if
detailItem
.
type
==
.
educationTime
{
// 选择入学日期
// 入学日期须早于当前日期
// 入学日期须早于当前日期
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"入学日期
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"入学日期
不能晚
于当前日期"
)
return
return
}
}
if
!
detailInfo
.
graduateTime
.
isEmpty
,
let
endDate
=
format
.
date
(
from
:
detailInfo
.
graduateTime
)
{
if
!
detailInfo
.
graduateTime
.
isEmpty
,
let
endDate
=
format
.
date
(
from
:
detailInfo
.
graduateTime
)
{
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
if
selectTimeInterval
>
endTimeInterval
{
if
selectTimeInterval
>
endTimeInterval
{
YHHUD
.
flash
(
message
:
"入学日期
须早
于毕业日期"
)
YHHUD
.
flash
(
message
:
"入学日期
不能晚
于毕业日期"
)
return
return
}
}
}
}
...
@@ -372,7 +372,7 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -372,7 +372,7 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
if
selectTimeInterval
<
startTimeInterval
{
if
selectTimeInterval
<
startTimeInterval
{
YHHUD
.
flash
(
message
:
"毕业日期
须晚
于入学日期"
)
YHHUD
.
flash
(
message
:
"毕业日期
不能早
于入学日期"
)
return
return
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHQualificationDetailVC.swift
View file @
b5c5e854
...
@@ -299,7 +299,7 @@ extension YHQualificationDetailVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -299,7 +299,7 @@ extension YHQualificationDetailVC : UITableViewDelegate, UITableViewDataSource {
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
// 出生日期须早于当前日期
// 出生日期须早于当前日期
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"授权年份
须早
于当前年份"
.
local
)
YHHUD
.
flash
(
message
:
"授权年份
不能晚
于当前年份"
.
local
)
return
return
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
View file @
b5c5e854
...
@@ -383,14 +383,14 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
...
@@ -383,14 +383,14 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
if
detailItem
.
type
==
.
certificateSignDate
{
// 选择签发日期
if
detailItem
.
type
==
.
certificateSignDate
{
// 选择签发日期
// 签发日期须早于当前日期
// 签发日期须早于当前日期
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于当前日期"
)
return
return
}
}
if
!
certificate
.
issueDateEndAt
.
isEmpty
,
let
endDate
=
format
.
date
(
from
:
certificate
.
issueDateEndAt
)
{
if
!
certificate
.
issueDateEndAt
.
isEmpty
,
let
endDate
=
format
.
date
(
from
:
certificate
.
issueDateEndAt
)
{
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
if
selectTimeInterval
>
endTimeInterval
{
if
selectTimeInterval
>
endTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早
于届满日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于届满日期"
)
return
return
}
}
}
}
...
@@ -402,7 +402,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
...
@@ -402,7 +402,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
if
selectTimeInterval
<
startTimeInterval
{
if
selectTimeInterval
<
startTimeInterval
{
YHHUD
.
flash
(
message
:
"届满日期
须晚
于签发日期"
)
YHHUD
.
flash
(
message
:
"届满日期
不能早
于签发日期"
)
return
return
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHBrotherInfoVC.swift
View file @
b5c5e854
...
@@ -433,7 +433,7 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -433,7 +433,7 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource {
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
// 出生日期须早于当前日期
// 出生日期须早于当前日期
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"出生日期
须早
于当前日期"
.
local
)
YHHUD
.
flash
(
message
:
"出生日期
不能晚
于当前日期"
.
local
)
return
return
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHParentInfoVC.swift
View file @
b5c5e854
...
@@ -481,7 +481,7 @@ extension YHParentInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -481,7 +481,7 @@ extension YHParentInfoVC : UITableViewDelegate, UITableViewDataSource {
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
// 出生日期须早于当前日期
// 出生日期须早于当前日期
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"出生日期
须早
于当前日期"
.
local
)
YHHUD
.
flash
(
message
:
"出生日期
不能晚
于当前日期"
.
local
)
return
return
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
View file @
b5c5e854
...
@@ -677,7 +677,7 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -677,7 +677,7 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
// 出生日期须早于当前日期
// 出生日期须早于当前日期
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"出生日期
须早
于当前日期"
.
local
)
YHHUD
.
flash
(
message
:
"出生日期
不能晚
于当前日期"
.
local
)
return
return
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
View file @
b5c5e854
...
@@ -178,7 +178,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -178,7 +178,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于当前日期"
)
}
else
{
}
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
certificates
.
cn_identity_card
.
issue_date_end_at
)
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
certificates
.
cn_identity_card
.
issue_date_end_at
)
else
{
mainModel
.
certificates
.
cn_identity_card
.
issue_date_start_at
=
item
.
message
??
""
mainModel
.
certificates
.
cn_identity_card
.
issue_date_start_at
=
item
.
message
??
""
...
@@ -186,7 +186,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -186,7 +186,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
}
}
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
if
selectTimeInterval
>
endTimeInterval
{
if
selectTimeInterval
>
endTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早于早
于届满日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于届满日期"
)
}
else
{
}
else
{
mainModel
.
certificates
.
cn_identity_card
.
issue_date_start_at
=
item
.
message
??
""
mainModel
.
certificates
.
cn_identity_card
.
issue_date_start_at
=
item
.
message
??
""
}
}
...
@@ -199,7 +199,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -199,7 +199,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
if
selectTimeInterval
<
startTimeInterval
{
if
selectTimeInterval
<
startTimeInterval
{
YHHUD
.
flash
(
message
:
"届满日期
须晚
于签发日期"
)
YHHUD
.
flash
(
message
:
"届满日期
不能早
于签发日期"
)
}
else
{
}
else
{
mainModel
.
certificates
.
cn_identity_card
.
issue_date_end_at
=
item
.
message
??
""
mainModel
.
certificates
.
cn_identity_card
.
issue_date_end_at
=
item
.
message
??
""
}
}
...
@@ -217,7 +217,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -217,7 +217,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于当前日期"
)
}
else
{
}
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_end_at
)
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_end_at
)
else
{
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_start_at
=
item
.
message
??
""
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_start_at
=
item
.
message
??
""
...
@@ -225,7 +225,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -225,7 +225,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
}
}
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
if
selectTimeInterval
>
endTimeInterval
{
if
selectTimeInterval
>
endTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早于早
于届满日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于届满日期"
)
}
else
{
}
else
{
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_start_at
=
item
.
message
??
""
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_start_at
=
item
.
message
??
""
}
}
...
@@ -238,7 +238,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -238,7 +238,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
if
selectTimeInterval
<
startTimeInterval
{
if
selectTimeInterval
<
startTimeInterval
{
YHHUD
.
flash
(
message
:
"届满日期
须晚
于签发日期"
)
YHHUD
.
flash
(
message
:
"届满日期
不能早
于签发日期"
)
}
else
{
}
else
{
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_end_at
=
item
.
message
??
""
mainModel
.
certificates
.
hk_macao_pass
.
issue_date_end_at
=
item
.
message
??
""
}
}
...
@@ -256,7 +256,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -256,7 +256,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于当前日期"
)
}
else
{
}
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
certificates
.
passport
.
issue_date_end_at
)
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
certificates
.
passport
.
issue_date_end_at
)
else
{
mainModel
.
certificates
.
passport
.
issue_date_start_at
=
item
.
message
??
""
mainModel
.
certificates
.
passport
.
issue_date_start_at
=
item
.
message
??
""
...
@@ -264,7 +264,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -264,7 +264,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
}
}
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
if
selectTimeInterval
>
endTimeInterval
{
if
selectTimeInterval
>
endTimeInterval
{
YHHUD
.
flash
(
message
:
"签发日期
须早于早
于届满日期"
)
YHHUD
.
flash
(
message
:
"签发日期
不能晚
于届满日期"
)
}
else
{
}
else
{
mainModel
.
certificates
.
passport
.
issue_date_start_at
=
item
.
message
??
""
mainModel
.
certificates
.
passport
.
issue_date_start_at
=
item
.
message
??
""
}
}
...
@@ -277,7 +277,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -277,7 +277,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
if
selectTimeInterval
<
startTimeInterval
{
if
selectTimeInterval
<
startTimeInterval
{
YHHUD
.
flash
(
message
:
"届满日期
须晚
于签发日期"
)
YHHUD
.
flash
(
message
:
"届满日期
不能早
于签发日期"
)
}
else
{
}
else
{
mainModel
.
certificates
.
passport
.
issue_date_end_at
=
item
.
message
??
""
mainModel
.
certificates
.
passport
.
issue_date_end_at
=
item
.
message
??
""
}
}
...
@@ -295,7 +295,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -295,7 +295,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"入学日期
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"入学日期
不能晚
于当前日期"
)
}
else
{
}
else
{
mainModel
.
birthday
=
item
.
message
??
""
mainModel
.
birthday
=
item
.
message
??
""
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/ViewModel/YHWorkExperienceViewModel.swift
View file @
b5c5e854
...
@@ -149,7 +149,7 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
...
@@ -149,7 +149,7 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
let
currentTimeInterval
=
Date
()
.
timeIntervalSince1970
if
selectTimeInterval
>
currentTimeInterval
{
if
selectTimeInterval
>
currentTimeInterval
{
YHHUD
.
flash
(
message
:
"高管在职开始时间
须早
于当前日期"
)
YHHUD
.
flash
(
message
:
"高管在职开始时间
不能晚
于当前日期"
)
}
else
{
}
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
top_manager_end_at
)
else
{
guard
let
endDate
=
format
.
date
(
from
:
mainModel
.
top_manager_end_at
)
else
{
mainModel
.
top_manager_start_at
=
item
.
message
??
""
mainModel
.
top_manager_start_at
=
item
.
message
??
""
...
@@ -157,7 +157,7 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
...
@@ -157,7 +157,7 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
}
}
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
let
endTimeInterval
=
endDate
.
timeIntervalSince1970
if
selectTimeInterval
>
endTimeInterval
{
if
selectTimeInterval
>
endTimeInterval
{
YHHUD
.
flash
(
message
:
"高管在职开始时间
须早
于离职日期"
)
YHHUD
.
flash
(
message
:
"高管在职开始时间
不能晚
于离职日期"
)
}
else
{
}
else
{
mainModel
.
top_manager_start_at
=
item
.
message
??
""
mainModel
.
top_manager_start_at
=
item
.
message
??
""
}
}
...
@@ -170,7 +170,7 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
...
@@ -170,7 +170,7 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
selectTimeInterval
=
selectDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
let
startTimeInterval
=
startDate
.
timeIntervalSince1970
if
selectTimeInterval
<
startTimeInterval
{
if
selectTimeInterval
<
startTimeInterval
{
YHHUD
.
flash
(
message
:
"高管在职结束时间
须晚
于开始日期"
)
YHHUD
.
flash
(
message
:
"高管在职结束时间
不能早
于开始日期"
)
}
else
{
}
else
{
mainModel
.
top_manager_end_at
=
item
.
message
??
""
mainModel
.
top_manager_end_at
=
item
.
message
??
""
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment