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
1b8c8188
Commit
1b8c8188
authored
Nov 21, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理 一处bug
parent
f95448ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
YHInformationPerfectModel.swift
...ntelligentService(服务中心)/M/YHInformationPerfectModel.swift
+5
-5
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+6
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHInformationPerfectModel.swift
View file @
1b8c8188
...
...
@@ -34,12 +34,12 @@ class YHInformationPerfectModel {
name
=
"工作经验"
icon
=
"gzjy_icon"
}
else
if
type
==
8
{
else
if
type
==
5
{
name
=
"收入记录"
icon
=
"srjl_icon"
}
else
if
type
==
5
{
else
if
type
==
8
{
name
=
"其他信息"
icon
=
"qtxx_icon"
isLastestCell
=
true
...
...
@@ -55,9 +55,9 @@ class YHInformationPerfectModel {
status
=
isFinished
?
"已完成"
:
"待完善"
color
=
isFinished
?
UIColor
.
mainTextColor
:
UIColor
.
labelTextColor2
statusColor
=
isFinished
?
UIColor
.
successColor
:
UIColor
.
labelTextColor2
//
if type != 1 {
//
icon = isFinished ? icon : icon
//
}
if
type
!=
1
{
icon
=
isFinished
?
icon
:
icon
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
1b8c8188
...
...
@@ -308,9 +308,9 @@ extension YHServiceCenterMainViewModel {
if
json
.
code
==
200
{
arrInfoFillStep
.
removeAll
()
informationFillStepModel
=
resultModel
myInfoFillStep
=
resultModel
.
step
myInfoFillStep
=
resultModel
.
step
//当前正在进行的步骤
let
arr
=
[
0
,
1
,
2
,
3
,
4
,
8
,
5
]
let
arr
=
[
0
,
1
,
2
,
3
,
4
,
5
,
8
]
let
target
=
myInfoFillStep
var
targetIndex
:
Int
=
-
1
for
(
index
,
item
)
in
arr
.
enumerated
()
{
...
...
@@ -321,16 +321,18 @@ extension YHServiceCenterMainViewModel {
self
.
myTargetIndex
=
targetIndex
for
(
index
,
item
)
in
arr
.
enumerated
()
{
for
(
index
,
item
)
in
arr
.
enumerated
()
{
let
model
=
YHInformationPerfectModel
()
model
.
type
=
item
arrInfoFillStep
.
append
(
model
)
if
targetIndex
==
-
1
{
//已完成6 或者 已提交7
model
.
isFinished
=
true
model
.
isDoing
=
false
model
.
isFinished
=
true
// model.isNextDoingCell = false
}
else
{
if
index
<
targetIndex
{
...
...
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