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
6f7fee28
Commit
6f7fee28
authored
Mar 23, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 我的证件
parent
60594a51
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
13 deletions
+23
-13
YHCertificateListContainerVC.swift
...MyCertificates(我的证书)/C/YHCertificateListContainerVC.swift
+14
-4
YHCertificateListVC.swift
...ce(服务中心)/MyCertificates(我的证书)/C/YHCertificateListVC.swift
+1
-1
YHCertificateSearchViewController.swift
...tificates(我的证书)/C/YHCertificateSearchViewController.swift
+1
-1
YHCertificateUploadContentListVC.swift
...rtificates(我的证书)/C/YHCertificateUploadContentListVC.swift
+1
-1
YHCertificateModel.swift
...ice(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
+1
-1
YHCertificateEntryHeadView.swift
...)/MyCertificates(我的证书)/V/YHCertificateEntryHeadView.swift
+3
-3
YHCertificateFilterView.swift
...务中心)/MyCertificates(我的证书)/V/YHCertificateFilterView.swift
+1
-1
YHCertificateInfoCell.swift
...(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateListContainerVC.swift
View file @
6f7fee28
...
...
@@ -25,7 +25,7 @@ class YHCertificateCategoryItem {
case
.
preUpload
:
return
"待上传"
.
local
case
.
finish
:
return
"已
通过
"
.
local
return
"已
完成
"
.
local
}
}
...
...
@@ -43,7 +43,6 @@ class YHCertificateListContainerVC: YHBaseViewController {
var
categoryInfo
:
YHCategoryData
=
YHCategoryData
()
lazy
var
navBar
:
YHCustomNavigationBar
=
{
let
bar
=
YHCustomNavigationBar
.
navBar
()
bar
.
title
=
"资料上传"
.
local
bar
.
showLeftSecondButtonType
(
.
search
)
bar
.
backBlock
=
{
[
weak
self
]
in
...
...
@@ -60,7 +59,7 @@ class YHCertificateListContainerVC: YHBaseViewController {
return
bar
}()
var
titles
=
[
"全部"
,
"待上传(0)"
,
"已驳回(0)"
,
"审核中(0)"
,
"已
通过
(0)"
]
var
titles
=
[
"全部"
,
"待上传(0)"
,
"已驳回(0)"
,
"审核中(0)"
,
"已
完成
(0)"
]
let
categoryItems
=
[
YHCertificateCategoryItem
(
type
:
.
all
),
YHCertificateCategoryItem
(
type
:
.
preUpload
),
YHCertificateCategoryItem
(
type
:
.
rejected
),
...
...
@@ -139,6 +138,17 @@ class YHCertificateListContainerVC: YHBaseViewController {
super
.
viewDidLoad
()
self
.
gk_navigationBar
.
isHidden
=
true
self
.
navBar
.
title
=
"资料"
.
local
if
categoryInfo
.
categoryId
==
YHCertificateCategoryId
.
mainApplicant
.
rawValue
{
self
.
navBar
.
title
=
"主申请人资料"
.
local
}
else
if
categoryInfo
.
categoryId
==
YHCertificateCategoryId
.
spouse
.
rawValue
{
self
.
navBar
.
title
=
"配偶资料"
.
local
}
else
if
categoryInfo
.
categoryId
==
YHCertificateCategoryId
.
child
.
rawValue
{
self
.
navBar
.
title
=
"子女资料"
.
local
}
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didCertificateCountStatistics(_:)
)
,
name
:
countStatisticsNotify
,
object
:
nil
)
for
item
in
categoryItems
{
...
...
@@ -212,7 +222,7 @@ class YHCertificateListContainerVC: YHBaseViewController {
titles
[
3
]
=
"审核中(
\(
count
)
)"
}
else
if
let
count
=
dic
[
YHCertificateUploadStatus
.
finish
]
{
titles
[
4
]
=
"已
通过
(
\(
count
)
)"
titles
[
4
]
=
"已
完成
(
\(
count
)
)"
}
DispatchQueue
.
main
.
async
{
self
.
segmentedDataSource
.
titles
=
self
.
titles
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateListVC.swift
View file @
6f7fee28
...
...
@@ -196,7 +196,7 @@ extension YHCertificateListVC {
}
print
(
params
)
// state: 3:待上传 2:已驳回 1:已
通过
0:审核中
// state: 3:待上传 2:已驳回 1:已
完成
0:审核中
viewModel
.
getCertificateList
(
params
:
params
)
{
[
weak
self
]
listInfo
,
error
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateSearchViewController.swift
View file @
6f7fee28
...
...
@@ -224,7 +224,7 @@ extension YHCertificateSearchViewController {
"keyword"
:
keywords
]
print
(
params
)
// state: 3:待上传 2:已驳回 1:已
通过
0:审核中
// state: 3:待上传 2:已驳回 1:已
完成
0:审核中
viewModel
.
getCertificateList
(
params
:
params
)
{
[
weak
self
]
listInfo
,
error
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHCertificateUploadContentListVC.swift
View file @
6f7fee28
...
...
@@ -327,7 +327,7 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
bgColor
=
UIColor
(
hexString
:
"#2F7EF6"
,
0.08
)
}
else
if
supplementInfo
.
checkStatus
==
YHCertificateUploadStatus
.
finish
.
rawValue
{
text
=
"已
通过
"
.
local
text
=
"已
完成
"
.
local
textColor
=
UIColor
(
hexString
:
"#49D2B1"
)
bgColor
=
UIColor
(
hexString
:
"#49D2B1"
,
0.08
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
View file @
6f7fee28
...
...
@@ -78,7 +78,7 @@ class YHSupplementInfo: SmartCodable {
}
else
if
checkStatus
==
YHCertificateUploadStatus
.
preUpload
.
rawValue
{
return
"待上传"
.
local
}
else
if
checkStatus
==
YHCertificateUploadStatus
.
finish
.
rawValue
{
return
"已
通过
"
.
local
return
"已
完成
"
.
local
}
else
if
checkStatus
==
YHCertificateUploadStatus
.
rejected
.
rawValue
{
return
"已驳回"
.
local
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryHeadView.swift
View file @
6f7fee28
...
...
@@ -37,7 +37,7 @@ class YHCertificateEntryHeadView: UIView {
private
lazy
var
statiticLable
:
UILabel
=
{
let
titleLable
=
UILabel
(
text
:
"待上传2件,已驳回3件,审核中4件,已
通过
10件"
)
let
titleLable
=
UILabel
(
text
:
"待上传2件,已驳回3件,审核中4件,已
完成
10件"
)
titleLable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
titleLable
.
textColor
=
UIColor
.
mainTextColor
return
titleLable
...
...
@@ -75,7 +75,7 @@ private extension YHCertificateEntryHeadView {
let
cc
:
ASAttributedString
=
.
init
(
"0"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
d
:
ASAttributedString
=
.
init
(
"件,已
通过
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
d
:
ASAttributedString
=
.
init
(
"件,已
完成
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
dd
:
ASAttributedString
=
.
init
(
"0"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
...
...
@@ -113,7 +113,7 @@ private extension YHCertificateEntryHeadView {
let
cc
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
String
(
dataModel
.
to_be_audit_num
)),
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
d
:
ASAttributedString
=
.
init
(
"件,已
通过
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
d
:
ASAttributedString
=
.
init
(
"件,已
完成
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
dd
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
String
(
dataModel
.
pass_num
)),
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateFilterView.swift
View file @
6f7fee28
...
...
@@ -74,7 +74,7 @@ class YHCertificateFilterView: UIView {
YHCertificateFilterSectionInfo
(
title
:
"状态"
.
local
,
items
:
[
YHCertificateFilterItem
(
type
:
.
preUpload
,
title
:
"待上传"
),
YHCertificateFilterItem
(
type
:
.
rejected
,
title
:
"已驳回"
),
YHCertificateFilterItem
(
type
:
.
review
,
title
:
"审核中"
),
YHCertificateFilterItem
(
type
:
.
finish
,
title
:
"已
通过
"
),
YHCertificateFilterItem
(
type
:
.
finish
,
title
:
"已
完成
"
),
])]
lazy
var
collectionView
:
UICollectionView
=
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
View file @
6f7fee28
...
...
@@ -50,7 +50,7 @@ class YHCertificateInfoCell: UITableViewCell {
title
=
"审核中"
.
local
case
.
finish
:
titleColor
=
.
labelTextColor2
title
=
"已
通过
"
.
local
title
=
"已
完成
"
.
local
case
.
all
:
titleColor
=
.
labelTextColor2
}
...
...
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