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
2940b8ee
Commit
2940b8ee
authored
Nov 13, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请类别更改页面跳转逻辑
parent
f0cd29c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
YHGCApplicationTypeController.swift
...plicationType(申请类别)/C/YHGCApplicationTypeController.swift
+15
-3
YHGCApplicationTypeResultController.swift
...ionType(申请类别)/C/YHGCApplicationTypeResultController.swift
+1
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/ApplicationType(申请类别)/C/YHGCApplicationTypeController.swift
View file @
2940b8ee
...
...
@@ -122,13 +122,15 @@ extension YHGCApplicationTypeController {
return
}
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
self
.
viewModel
.
submitApplyType
(
orderId
,
model
.
type
.
rawValue
)
{
success
,
error
in
self
.
viewModel
.
submitApplyType
(
orderId
,
model
.
type
.
rawValue
)
{
[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
YHHUD
.
hide
()
if
success
{
YHHUD
.
flash
(
message
:
"提交成功"
)
//self.requestData(isNeedLoading: false)
let
resultVC
=
YHGCApplicationTypeResultController
(
type
:
model
.
type
)
self
.
navigationController
?
.
pushViewController
(
resultVC
)
self
.
gotoResultPage
(
model
)
}
else
{
var
errorMsg
=
"提交失败"
if
let
error
=
error
,
error
.
errorMsg
.
count
>
0
{
...
...
@@ -140,6 +142,16 @@ extension YHGCApplicationTypeController {
}
}
private
func
gotoResultPage
(
_
model
:
YHGCApplicationModel
)
{
if
let
navigationController
=
self
.
navigationController
{
let
ctl
=
YHGCApplicationTypeResultController
(
type
:
model
.
type
)
var
viewControllers
=
navigationController
.
viewControllers
viewControllers
.
removeLast
()
viewControllers
.
append
(
ctl
)
navigationController
.
setViewControllers
(
viewControllers
,
animated
:
true
)
}
}
private
func
setupUI
()
{
gk_navTitle
=
"申请类别"
gk_navBarAlpha
=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/ApplicationType(申请类别)/C/YHGCApplicationTypeResultController.swift
View file @
2940b8ee
...
...
@@ -105,6 +105,7 @@ extension YHGCApplicationTypeResultController {
@objc
private
func
clickBackButton
()
{
backButtonEvent
?()
navigationController
?
.
popViewController
(
animated
:
true
)
}
private
func
setupUI
()
{
...
...
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