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
85c709c2
Commit
85c709c2
authored
May 21, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
驳回逻辑
parent
b12700fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
YHServiceCenterProgressModel.swift
...lligentService(服务中心)/M/YHServiceCenterProgressModel.swift
+2
-0
YHServiceOrderProgressTableViewCell.swift
...Service(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
+11
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/M/YHServiceCenterProgressModel.swift
View file @
85c709c2
...
...
@@ -14,4 +14,6 @@ class YHServiceCenterProgressModel : YHBaseModel {
var
status
:
Int
=
0
// 0未知 1待开始 2进行中 3 已完成 4 后台进行中
var
num
:
Int
=
0
var
type
:
Int
=
0
// 1 证件 2 信息完善 3 我的评分 4 我的方案 5 我的签字 6我的文书
var
pro_version
:
Int
=
0
var
reject_status
:
Int
=
0
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceOrderProgressTableViewCell.swift
View file @
85c709c2
...
...
@@ -102,10 +102,17 @@ extension YHServiceOrderProgressTableViewCell {
if
model
.
type
==
2
{
titleLabel
.
text
=
"我的信息"
buttonLabel
.
text
=
"去填写"
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"信息待填写哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
if
model
.
reject_status
==
0
{
let
a
:
ASAttributedString
=
.
init
(
"您还有"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
\(
model
.
num
)
份"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"信息待填写哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
else
{
let
a
:
ASAttributedString
=
.
init
(
"您的信息被"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"驳回"
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
warnColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"了哦~"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
(
hex
:
0x94a3b8
)))
messageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
if
model
.
type
==
3
{
titleLabel
.
text
=
"我的评分"
...
...
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