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
b111b8fc
Commit
b111b8fc
authored
Nov 22, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决收入记录选择超过100万状态后进入修改工作经验再回来,选择超过100万状态丢失的bug
parent
d275835f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
YHIncomeRecordViewController.swift
...)/IncomeRecord(收入记录)/C/YHIncomeRecordViewController.swift
+8
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/IncomeRecord(收入记录)/C/YHIncomeRecordViewController.swift
View file @
b111b8fc
...
@@ -307,7 +307,10 @@ extension YHIncomeRecordViewController: UITableViewDelegate, UITableViewDataSour
...
@@ -307,7 +307,10 @@ extension YHIncomeRecordViewController: UITableViewDelegate, UITableViewDataSour
if
case
let
.
incomeItem
(
_
,
_
,
_
,
_
,
incomeId
)
=
tableRow
{
if
case
let
.
incomeItem
(
_
,
_
,
_
,
_
,
incomeId
)
=
tableRow
{
let
ctl
=
YHIncomeRecordWorkExperienceViewController
(
incomeId
:
incomeId
)
let
ctl
=
YHIncomeRecordWorkExperienceViewController
(
incomeId
:
incomeId
)
ctl
.
submitSuccess
=
{
[
weak
self
]
in
ctl
.
submitSuccess
=
{
[
weak
self
]
in
self
?
.
requestData
(
isNeedLoading
:
true
)
guard
let
self
=
self
else
{
return
}
self
.
requestData
(
isNeedLoading
:
true
,
lastSelectedIncomeOver100
:
self
.
incomeModel
.
income_over_100
)
}
}
navigationController
?
.
pushViewController
(
ctl
,
animated
:
true
)
navigationController
?
.
pushViewController
(
ctl
,
animated
:
true
)
}
}
...
@@ -327,7 +330,7 @@ extension YHIncomeRecordViewController {
...
@@ -327,7 +330,7 @@ extension YHIncomeRecordViewController {
return
true
return
true
}
}
private
func
requestData
(
isNeedLoading
:
Bool
=
false
)
{
private
func
requestData
(
isNeedLoading
:
Bool
=
false
,
lastSelectedIncomeOver100
:
Int
?
=
nil
)
{
if
isNeedLoading
{
if
isNeedLoading
{
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
YHHUD
.
show
(
.
progress
(
message
:
"加载中..."
))
}
}
...
@@ -350,6 +353,9 @@ extension YHIncomeRecordViewController {
...
@@ -350,6 +353,9 @@ extension YHIncomeRecordViewController {
return
return
}
}
self
.
incomeModel
=
incomeModel
self
.
incomeModel
=
incomeModel
if
let
lastSelectedIncomeOver100
=
lastSelectedIncomeOver100
{
self
.
incomeModel
.
income_over_100
=
lastSelectedIncomeOver100
}
self
.
setupData
()
self
.
setupData
()
}
}
}
}
...
...
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