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
8558bf82
Commit
8558bf82
authored
Jul 24, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 续签证件列表状态更改
parent
82cff99b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
4 deletions
+36
-4
YHResignCertificateListViewController.swift
...age(续期证件管理)/C/YHResignCertificateListViewController.swift
+5
-0
YHResignCertificateListTableViewCell.swift
...nage(续期证件管理)/V/YHResignCertificateListTableViewCell.swift
+28
-4
Contents.json
...新增受养人/service_adopter_income_start.imageset/Contents.json
+3
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignCertificateManage(续期证件管理)/C/YHResignCertificateListViewController.swift
View file @
8558bf82
...
...
@@ -93,16 +93,19 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
guard
let
self
=
self
else
{
return
}
if
indexPath
.
row
==
0
{
if
model
.
cert_type
==
"PASS_PORT"
{
// 护照
let
vc
=
YHResignCertificateDetailPassPortViewController
()
vc
.
cerId
=
model
.
id
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
// 港澳通行证
let
vc
=
YHResignCertificateDetailHkViewController
()
vc
.
cerId
=
model
.
id
self
.
navigationController
?
.
pushViewController
(
vc
)
}
}
if
indexPath
.
row
==
1
{
// 电子签证
let
vc
=
YHResignCertificateDetailEVisaViewController
()
vc
.
data
=
model
self
.
navigationController
?
.
pushViewController
(
vc
)
...
...
@@ -111,12 +114,14 @@ extension YHResignCertificateListViewController: UITableViewDelegate, UITableVie
if
model
.
age
<
11
{
return
}
// 香港身份证
let
vc
=
YHResignCertificateDetailViewController
()
vc
.
detailType
=
.
HongKongCard
vc
.
dataModel
=
model
self
.
navigationController
?
.
pushViewController
(
vc
)
}
if
indexPath
.
row
==
3
{
// 小白条
let
vc
=
YHResignCertificateDetailViewController
()
vc
.
detailType
=
.
SmallWhiteNote
vc
.
dataModel
=
model
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/ResignCertificateManage(续期证件管理)/V/YHResignCertificateListTableViewCell.swift
View file @
8558bf82
...
...
@@ -8,6 +8,13 @@
import
UIKit
enum
ResignCertificateStatus
:
Int
{
case
NotUpload
=
0
// 待上传
case
Review
=
1
// 审核中
case
Complete
=
2
// 已完成
case
Rejected
=
3
// 已驳回
}
class
YHResignCertificateListTableViewCell
:
UITableViewCell
{
typealias
ResignCertificateBlock
=
(
_
model
:
YHResignCertificateModel
)
->
Void
var
clickBlock
:
ResignCertificateBlock
?
...
...
@@ -213,15 +220,32 @@ class YHResignCertificateView: UIView {
func
updateAllViews
()
{
guard
let
dataSource
=
dataSource
else
{
return
}
titleLabel
.
text
=
dataSource
.
name
if
dataSource
.
status
==
1
{
if
dataSource
.
status
==
ResignCertificateStatus
.
NotUpload
.
rawValue
{
explainLabel
.
text
=
"待上传"
explainLabel
.
textColor
=
UIColor
.
brandMainColor
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_start"
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_start"
)?
.
withRenderingMode
(
.
alwaysTemplate
)
nextStepImageView
.
tintColor
=
UIColor
.
brandMainColor
}
if
dataSource
.
status
==
ResignCertificateStatus
.
Review
.
rawValue
{
explainLabel
.
text
=
"审核中"
explainLabel
.
textColor
=
UIColor
(
hex
:
0xFF8000
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_start"
)?
.
withRenderingMode
(
.
alwaysTemplate
)
nextStepImageView
.
tintColor
=
UIColor
(
hex
:
0xFF8000
)
}
if
dataSource
.
status
==
2
{
if
dataSource
.
status
==
ResignCertificateStatus
.
Complete
.
rawValue
{
explainLabel
.
text
=
"已完成"
explainLabel
.
textColor
=
UIColor
(
hex
:
0x3cc694
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_success"
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_success"
)?
.
withRenderingMode
(
.
alwaysTemplate
)
nextStepImageView
.
tintColor
=
UIColor
(
hex
:
0x3cc694
)
}
if
dataSource
.
status
==
ResignCertificateStatus
.
Rejected
.
rawValue
{
explainLabel
.
text
=
"已驳回"
explainLabel
.
textColor
=
UIColor
(
hex
:
0xF81D22
)
nextStepImageView
.
image
=
UIImage
(
named
:
"service_adopter_income_start"
)?
.
withRenderingMode
(
.
alwaysTemplate
)
nextStepImageView
.
tintColor
=
UIColor
(
hex
:
0xF81D22
)
}
if
dataSource
.
cert_type
==
"PASS_PORT"
{
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/新增受养人/service_adopter_income_start.imageset/Contents.json
View file @
8558bf82
...
...
@@ -18,5 +18,8 @@
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
},
"properties"
:
{
"template-rendering-intent"
:
"template"
}
}
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