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
5b55b86a
Commit
5b55b86a
authored
Mar 18, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 状态展示
parent
852ec76a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
YHCertificateEntryCell.swift
...服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryCell.swift
+24
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryCell.swift
View file @
5b55b86a
...
...
@@ -49,8 +49,30 @@ class YHCertificateEntryCell: UITableViewCell {
extension
YHCertificateEntryCell
{
func
updateUI
()
{
guard
let
dataModel
=
dataModel
else
{
return
}
contractNameLable
.
text
=
dataModel
.
applicantName
contractIdLable
.
text
=
String
(
dataModel
.
checkStatus
)
contractNameLable
.
text
=
dataModel
.
applicantName
+
"("
+
dataModel
.
userName
+
")"
//0:未审核,1:通过 2:驳回,3:未提交',
var
title
=
""
var
color
:
UIColor
=
.
failColor
if
dataModel
.
checkStatus
==
0
{
title
=
"未审核"
color
=
UIColor
.
labelTextColor2
}
else
if
dataModel
.
checkStatus
==
1
{
title
=
"已完成"
color
=
UIColor
.
labelTextColor2
}
else
if
dataModel
.
checkStatus
==
2
{
title
=
"已驳回"
color
=
UIColor
.
failColor
}
else
if
dataModel
.
checkStatus
==
3
{
title
=
"待上传"
color
=
UIColor
.
brandMainColor
}
else
{
title
=
"--"
color
=
UIColor
.
brandMainColor
}
contractIdLable
.
text
=
title
contractIdLable
.
textColor
=
color
}
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