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
cdade403
Commit
cdade403
authored
Mar 15, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
几个字段校验
parent
3ff8dd7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
YHItemView.swift
...信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+2
-2
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+2
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
cdade403
...
@@ -503,11 +503,11 @@ extension YHItemView: UITextFieldDelegate {
...
@@ -503,11 +503,11 @@ extension YHItemView: UITextFieldDelegate {
return
false
return
false
}
}
if
(
dataSource
?
.
id
==
.
id
8
)
&&
newText
.
count
>
18
{
if
(
dataSource
?
.
id
==
.
id
29
)
&&
newText
.
count
>
20
{
return
false
return
false
}
}
if
(
dataSource
?
.
id
==
.
id
29
||
dataSource
?
.
id
==
.
id35
)
&&
newText
.
count
>
18
{
if
(
dataSource
?
.
id
==
.
id
8
||
dataSource
?
.
id
==
.
id35
)
&&
newText
.
count
>
18
{
return
false
return
false
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
cdade403
...
@@ -481,7 +481,7 @@ extension YHWorkExperienceItemView: UITextFieldDelegate {
...
@@ -481,7 +481,7 @@ extension YHWorkExperienceItemView: UITextFieldDelegate {
}
}
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
let
newText
=
(
textField
.
text
!
as
NSString
)
.
replacingCharacters
(
in
:
range
,
with
:
string
)
if
(
dataSource
?
.
id
==
.
id1
||
dataSource
?
.
id
==
.
id7
||
dataSource
?
.
id
==
.
id
8
||
dataSource
?
.
id
==
.
id12
||
dataSource
?
.
id
==
.
id
14
||
dataSource
?
.
id
==
.
id16
||
dataSource
?
.
id
==
.
id18
)
&&
newText
.
count
>
10
{
if
(
dataSource
?
.
id
==
.
id1
||
dataSource
?
.
id
==
.
id7
||
dataSource
?
.
id
==
.
id14
||
dataSource
?
.
id
==
.
id16
||
dataSource
?
.
id
==
.
id18
)
&&
newText
.
count
>
10
{
return
false
return
false
}
}
...
@@ -506,8 +506,7 @@ extension YHWorkExperienceItemView: UITextFieldDelegate {
...
@@ -506,8 +506,7 @@ extension YHWorkExperienceItemView: UITextFieldDelegate {
return
false
return
false
}
}
if
(
dataSource
?
.
id
==
.
id12
||
dataSource
?
.
id
==
.
id8
)
&&
newText
.
count
>
50
{
if
dataSource
?
.
id
==
.
id12
&&
newText
.
count
>
50
{
return
false
return
false
}
}
...
...
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