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
fb01941c
Commit
fb01941c
authored
Dec 23, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请类别入口调整
parent
e5ad4984
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
23 deletions
+25
-23
YHInformationPerfectListVC.swift
...(服务中心)/OrderList(服务订单)/C/YHInformationPerfectListVC.swift
+25
-23
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/C/YHInformationPerfectListVC.swift
View file @
fb01941c
...
...
@@ -619,11 +619,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
self
.
showTipsAlert
()
return
}
if
serviceCenterMainReqVM
.
myInfoFillStep
>
0
{
gotoApplyTypeVC
(
.
typeA
)
}
else
{
gotoApplyTypeVC
(
nil
)
}
gotoApplyTypeVC
()
//高A- 申请类别
}
else
if
tapIndex
==
1
{
//高A- 主申请人信息
...
...
@@ -661,17 +657,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
self
.
showTipsAlert
()
return
}
if
serviceCenterMainReqVM
.
myInfoFillStep
>
0
{
var
type
:
YHGCApplicationType
=
.
typeB
if
productType
==
2
{
type
=
.
typeB
}
else
if
productType
==
3
{
type
=
.
typeC
}
gotoApplyTypeVC
(
type
)
}
else
{
gotoApplyTypeVC
(
nil
)
}
gotoApplyTypeVC
()
//高才BC- 申请类别
}
else
if
tapIndex
==
1
{
//高才BC- 主申请人信息
...
...
@@ -710,13 +696,29 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
}
}
private
func
gotoApplyTypeVC
(
_
type
:
YHGCApplicationType
?)
{
if
let
type
=
type
{
let
ctl
=
YHGCApplicationTypeResultController
(
type
:
type
)
navigationController
?
.
pushViewController
(
ctl
)
}
else
{
let
ctl
=
YHGCApplicationTypeController
(
orderId
:
orderId
??
0
)
navigationController
?
.
pushViewController
(
ctl
)
private
func
gotoApplyTypeVC
()
{
let
orderId
=
orderId
??
0
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
YHGCApplicationTypeViewModel
()
.
getApplyType
(
orderId
:
orderId
)
{
[
weak
self
]
model
,
error
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
guard
let
model
=
model
else
{
if
let
errorMsg
=
error
?
.
errorMsg
,
errorMsg
.
count
>
0
{
YHHUD
.
flash
(
message
:
errorMsg
)
}
return
}
let
type
=
YHGCApplicationType
(
rawValue
:
model
.
apply_type
)
if
let
type
=
type
{
let
ctl
=
YHGCApplicationTypeResultController
(
type
:
type
)
self
.
navigationController
?
.
pushViewController
(
ctl
)
}
else
{
let
ctl
=
YHGCApplicationTypeController
(
orderId
:
orderId
)
self
.
navigationController
?
.
pushViewController
(
ctl
)
}
}
}
}
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