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
423a9112
Commit
423a9112
authored
Mar 18, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善 我的证件的入口数据
parent
77da0cf5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
13 deletions
+46
-13
YHMineCertificateEntryViewController.swift
...icates(我的证书)/C/YHMineCertificateEntryViewController.swift
+0
-10
YHCertificateEntryModel.swift
...务中心)/MyCertificates(我的证书)/M/YHCertificateEntryModel.swift
+5
-0
YHCertificateModel.swift
...ice(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
+1
-1
YHCertificateEntryCell.swift
...服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryCell.swift
+5
-1
YHCertificateEntryHeadView.swift
...)/MyCertificates(我的证书)/V/YHCertificateEntryHeadView.swift
+35
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/C/YHMineCertificateEntryViewController.swift
View file @
423a9112
...
@@ -172,15 +172,5 @@ extension YHMineCertificateEntryViewController : UITableViewDelegate,UITableView
...
@@ -172,15 +172,5 @@ extension YHMineCertificateEntryViewController : UITableViewDelegate,UITableView
vc
.
categoryInfo
=
model
.
category_data
[
indexPath
.
section
]
vc
.
categoryInfo
=
model
.
category_data
[
indexPath
.
section
]
}
}
self
.
navigationController
?
.
pushViewController
(
vc
)
self
.
navigationController
?
.
pushViewController
(
vc
)
// //获取订单号
// let orderId = serviceCenterMainReqVM.arrContactList[indexPath.section].id
// UserDefaults.standard.set(orderId, forKey: "orderIdForPreview")
// UserDefaults.standard.synchronize()
//
// let vc = YHServiceCenterSecondViewController()
// vc.orderId = orderId
// self.navigationController?.pushViewController(vc)
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/M/YHCertificateEntryModel.swift
View file @
423a9112
...
@@ -15,6 +15,11 @@ class YHCertificateEntryModel: SmartCodable {
...
@@ -15,6 +15,11 @@ class YHCertificateEntryModel: SmartCodable {
var
to_be_audit_num
:
Int
=
0
//待审核
var
to_be_audit_num
:
Int
=
0
//待审核
var
to_be_submit_num
:
Int
=
0
//待提交
var
to_be_submit_num
:
Int
=
0
//待提交
var
category_data
:
[
YHCategoryData
]
=
[]
var
category_data
:
[
YHCategoryData
]
=
[]
var
sex
:
Int
=
0
//1-男 2-女
var
user_name
:
String
=
""
required
init
()
{
required
init
()
{
}
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/M/YHCertificateModel.swift
View file @
423a9112
...
@@ -42,7 +42,7 @@ class YHCategoryData: SmartCodable {
...
@@ -42,7 +42,7 @@ class YHCategoryData: SmartCodable {
case
categoryId
=
"category_id"
case
categoryId
=
"category_id"
case
checkStatus
=
"check_status"
case
checkStatus
=
"check_status"
case
sex
=
"sex"
case
sex
=
"sex"
case
userName
=
"
U
ser_name"
case
userName
=
"
u
ser_name"
}
}
required
init
()
{
required
init
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryCell.swift
View file @
423a9112
...
@@ -49,7 +49,11 @@ class YHCertificateEntryCell: UITableViewCell {
...
@@ -49,7 +49,11 @@ class YHCertificateEntryCell: UITableViewCell {
extension
YHCertificateEntryCell
{
extension
YHCertificateEntryCell
{
func
updateUI
()
{
func
updateUI
()
{
guard
let
dataModel
=
dataModel
else
{
return
}
guard
let
dataModel
=
dataModel
else
{
return
}
contractNameLable
.
text
=
dataModel
.
applicantName
+
"("
+
dataModel
.
userName
+
")"
var
name
=
""
if
dataModel
.
userName
.
isEmpty
==
false
{
name
=
"("
+
dataModel
.
userName
+
")"
}
contractNameLable
.
text
=
dataModel
.
applicantName
+
name
//0:未审核,1:通过 2:驳回,3:未提交',
//0:未审核,1:通过 2:驳回,3:未提交',
var
title
=
""
var
title
=
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateEntryHeadView.swift
View file @
423a9112
...
@@ -84,8 +84,42 @@ private extension YHCertificateEntryHeadView {
...
@@ -84,8 +84,42 @@ private extension YHCertificateEntryHeadView {
}
}
func
updateUI
()
{
func
updateUI
()
{
guard
let
dataModel
=
dataModel
else
{
return
}
var
tmp
=
""
if
dataModel
.
user_name
.
isEmpty
{
tmp
=
"尊敬的用户"
}
else
{
tmp
=
dataModel
.
user_name
if
dataModel
.
sex
==
1
{
tmp
=
tmp
+
"先生"
}
else
if
dataModel
.
sex
==
2
{
tmp
=
tmp
+
"女士"
}
else
{
}
}
nameLable
.
text
=
"您好,"
+
tmp
let
a
:
ASAttributedString
=
.
init
(
"待上传"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
String
(
dataModel
.
to_be_submit_num
)),
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
b
:
ASAttributedString
=
.
init
(
"件,已驳回"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
bb
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
String
(
dataModel
.
reject_num
)),
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
c
:
ASAttributedString
=
.
init
(
"件,审核中"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
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
dd
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
String
(
dataModel
.
pass_num
)),
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
warnColor
))
let
e
:
ASAttributedString
=
.
init
(
"件"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
statiticLable
.
attributed
.
text
=
a
+
aa
+
b
+
bb
+
c
+
cc
+
d
+
dd
+
e
}
}
}
}
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