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
05234630
Commit
05234630
authored
Nov 25, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作经验部分bug修复
parent
524032e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
YHMainApplicantInformationViewModel.swift
...tion(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
+4
-4
YHWorkExperiencePositionViewViewController.swift
...(工作经验)/C/YHWorkExperiencePositionViewViewController.swift
+5
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
View file @
05234630
...
@@ -112,9 +112,9 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -112,9 +112,9 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
section2
=
YHSectionItemModel
(
title
:
section3String
,
models
:
[
item5
,
item6
,
item7
,
item8
])
let
section2
=
YHSectionItemModel
(
title
:
section3String
,
models
:
[
item5
,
item6
,
item7
,
item8
])
let
addressCountry
=
mainModel
.
address
.
country
let
addressCountry
=
mainModel
.
address
.
country
if
(
nationality
.
contains
(
"中国
"
)
&&
addressCountry
.
contains
(
"中国"
))
||
(
nationality
.
contains
(
"中国
"
)
&&
is_live_oversea_year
==
0
)
{
if
(
nationality
.
contains
(
"中国
-China"
)
&&
addressCountry
.
contains
(
"中国-China"
))
||
(
nationality
.
contains
(
"中国-China
"
)
&&
is_live_oversea_year
==
0
)
{
return
[
section
,
section1
]
return
[
section
,
section1
]
}
else
if
nationality
.
contains
(
"中国"
)
&&
is_live_oversea_year
==
1
{
}
else
if
nationality
.
contains
(
"中国
-China
"
)
&&
is_live_oversea_year
==
1
{
return
[
section
,
section2
]
return
[
section
,
section2
]
}
else
{
}
else
{
return
[
section2
]
return
[
section2
]
...
@@ -158,13 +158,13 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -158,13 +158,13 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
addressCountry
=
mainModel
.
address
.
country
let
addressCountry
=
mainModel
.
address
.
country
let
nationality
=
mainModel
.
nationality
let
nationality
=
mainModel
.
nationality
let
is_live_oversea_year
=
mainModel
.
is_live_oversea_year
let
is_live_oversea_year
=
mainModel
.
is_live_oversea_year
if
(
nationality
.
contains
(
"中国
-China"
)
&&
addressCountry
.
contains
(
"中国-China"
))
||
(
nationality
.
contains
(
"中国-China
"
)
&&
is_live_oversea_year
==
0
)
{
if
(
nationality
.
contains
(
"中国
"
)
&&
addressCountry
.
contains
(
"中国"
))
||
(
nationality
.
contains
(
"中国
"
)
&&
is_live_oversea_year
==
0
)
{
if
mainModel
.
is_handled
==
1
{
if
mainModel
.
is_handled
==
1
{
return
[
section
,
section1
]
return
[
section
,
section1
]
}
else
{
}
else
{
return
[
section
]
return
[
section
]
}
}
}
else
if
nationality
.
contains
(
"中国
-China
"
)
&&
is_live_oversea_year
==
1
{
}
else
if
nationality
.
contains
(
"中国"
)
&&
is_live_oversea_year
==
1
{
return
[
section
,
section2
]
return
[
section
,
section2
]
}
else
{
}
else
{
return
[
section2
]
return
[
section2
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperiencePositionViewViewController.swift
View file @
05234630
...
@@ -170,7 +170,11 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
...
@@ -170,7 +170,11 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
extension
YHWorkExperiencePositionViewViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
extension
YHWorkExperiencePositionViewViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
2
if
self
.
viewModel
.
position
.
is_international_work_experience
==
1
{
return
2
}
else
{
return
1
}
}
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
...
...
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