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
b83390d7
Commit
b83390d7
authored
Mar 06, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善 跳转逻辑
parent
418bc524
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
8 deletions
+44
-8
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+44
-8
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
b83390d7
...
...
@@ -350,47 +350,84 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
return
newCell
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
tableView
.
deselectRow
(
at
:
indexPath
,
animated
:
true
)
printLog
(
"点击了
\(
indexPath
.
section
)
section ---
\(
indexPath
.
row
)
row"
)
//处理跳转逻辑
handleJumpLogic
(
tapIndex
:
indexPath
.
row
)
}
private
func
handleJumpLogic
(
tapIndex
:
Int
)
{
//开发模式下 任意跳转
//#if DEBUG
// handleJumpLogicDebug(tapIndex: tapIndex)
// return
//#endif
//正式环境
handleJumpLogicRelease
(
tapIndex
:
tapIndex
)
}
private
func
handleJumpLogicRelease
(
tapIndex
:
Int
)
{
if
self
.
serviceCenterMainReqVM
.
myInfoFillStep
>
6
{
goInfoListVCOp
(
index
:
indexPath
.
row
)
goInfoListVCOp
(
index
:
tapIndex
)
return
}
if
tapIndex
<=
serviceCenterMainReqVM
.
myInfoFillStep
{
handleJumpLogicDebug
(
tapIndex
:
tapIndex
)
}
else
{
//请先完成 xxx 的填写
if
serviceCenterMainReqVM
.
myInfoFillStep
<
serviceCenterMainReqVM
.
arrInfoFillStep
.
count
{
let
model
=
serviceCenterMainReqVM
.
arrInfoFillStep
[
serviceCenterMainReqVM
.
myInfoFillStep
]
let
msg
=
"请先完成"
+
model
.
name
+
"填写"
YHHUD
.
flash
(
message
:
msg
)
}
}
}
private
func
handleJumpLogicDebug
(
tapIndex
:
Int
)
{
if
indexPath
.
row
==
0
{
if
self
.
serviceCenterMainReqVM
.
myInfoFillStep
>
6
{
goInfoListVCOp
(
index
:
tapIndex
)
return
}
if
tapIndex
==
0
{
//主申请人信息
let
vc
=
YHMainApplicantInformationViewController
()
vc
.
orderId
=
orderId
??
0
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
1
{
}
else
if
tapIndex
==
1
{
//家庭程序信息
let
vc
=
YHFamilyMemberInfoListVC
(
orderId
:
orderId
??
0
)
vc
.
orderId
=
orderId
??
0
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
2
{
}
else
if
tapIndex
==
2
{
//基本信息
let
vc
=
YHBasicInfoFillViewController
()
vc
.
orderId
=
orderId
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
3
{
}
else
if
tapIndex
==
3
{
//学历/专业资格
let
vc
=
YHEducationInfoListVC
()
vc
.
orderId
=
orderId
??
0
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
4
{
}
else
if
tapIndex
==
4
{
//工作经历
let
vc
=
YHWorkExperienceListViewController
()
vc
.
orderId
=
orderId
??
0
navigationController
?
.
pushViewController
(
vc
)
}
else
if
indexPath
.
row
==
5
{
}
else
if
tapIndex
==
5
{
//其他信息
let
vc
=
YHOtherInfoFillViewController
()
vc
.
orderId
=
orderId
...
...
@@ -398,6 +435,5 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
}
else
{
}
}
}
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