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
3444362f
Commit
3444362f
authored
Nov 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'qmas-1130' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into qmas-1130
parents
4cd68b18
d4137e05
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
7 deletions
+31
-7
YHInformationPerfectModel.swift
...ntelligentService(服务中心)/M/YHInformationPerfectModel.swift
+28
-5
YHPersonInfoFillStepModel.swift
...ntelligentService(服务中心)/M/YHPersonInfoFillStepModel.swift
+2
-1
YHServiceCenterMainViewModel.swift
...ligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHInformationPerfectModel.swift
View file @
3444362f
...
...
@@ -12,6 +12,8 @@ class YHInformationPerfectModel {
var
icon
:
String
=
""
var
name
:
String
=
""
var
helpModel
:
YHPersonInfoFillStepModel
?
var
type
:
Int
=
-
1
{
didSet
{
...
...
@@ -52,11 +54,32 @@ class YHInformationPerfectModel {
var
statusColor
:
UIColor
=
.
failColor
var
isFinished
:
Bool
=
false
{
didSet
{
status
=
isFinished
?
"已完成"
:
"待完善"
color
=
isFinished
?
UIColor
.
mainTextColor
:
UIColor
.
labelTextColor2
statusColor
=
isFinished
?
UIColor
.
successColor
:
UIColor
.
labelTextColor2
if
type
!=
1
{
icon
=
isFinished
?
icon
:
icon
if
let
helpModel
=
helpModel
,
helpModel
.
policy_switch
{
if
helpModel
.
step
==
6
{
status
=
"去修改"
color
=
.
mainTextColor
statusColor
=
.
brandMainColor
if
type
!=
1
{
icon
=
isFinished
?
icon
:
icon
}
}
else
{
status
=
isFinished
?
"已完成"
:
"去修改"
color
=
isFinished
?
UIColor
.
mainTextColor
:
UIColor
.
labelTextColor2
statusColor
=
isFinished
?
UIColor
.
successColor
:
UIColor
.
labelTextColor2
if
type
!=
1
{
icon
=
isFinished
?
icon
:
icon
}
}
}
else
{
status
=
isFinished
?
"已完成"
:
"待完善"
color
=
isFinished
?
UIColor
.
mainTextColor
:
UIColor
.
labelTextColor2
statusColor
=
isFinished
?
UIColor
.
successColor
:
UIColor
.
labelTextColor2
if
type
!=
1
{
icon
=
isFinished
?
icon
:
icon
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHPersonInfoFillStepModel.swift
View file @
3444362f
...
...
@@ -14,5 +14,6 @@ struct YHPersonInfoFillStepModel: SmartCodable {
var
applicantName
:
String
=
""
var
sweet_notify_status
:
Int
=
0
var
sex
:
Int
=
0
var
policy_switch
:
Bool
=
false
// false就是待完善 true : 也提交但不大要求
var
policy_switch
:
Bool
=
false
// false就是待完善 true : 已提交但未满足条件
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/VM/YHServiceCenterMainViewModel.swift
View file @
3444362f
...
...
@@ -323,12 +323,12 @@ extension YHServiceCenterMainViewModel {
for
(
index
,
item
)
in
arr
.
enumerated
()
{
let
model
=
YHInformationPerfectModel
()
model
.
helpModel
=
resultModel
model
.
type
=
item
arrInfoFillStep
.
append
(
model
)
if
targetIndex
==
-
1
{
//已完成6 或者 已提交7
model
.
isDoing
=
false
model
.
isFinished
=
true
...
...
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