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
ca7ba659
Commit
ca7ba659
authored
Sep 23, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签注有效期
parent
15586e9d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
YHResignCertificateModel.swift
...ertificateManage(续期证件管理)/M/YHResignCertificateModel.swift
+1
-0
YHResignCertificateHKTableViewCell.swift
...Manage(续期证件管理)/V/YHResignCertificateHKTableViewCell.swift
+8
-3
YHServiceCenterStepThreeTableHeadView.swift
...rvice(服务中心)/V/YHServiceCenterStepThreeTableHeadView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignCertificateManage(续期证件管理)/M/YHResignCertificateModel.swift
View file @
ca7ba659
...
...
@@ -36,6 +36,7 @@ class YHResignCertificateModel: SmartCodable {
var
user_id
:
Int
=
0
var
user_type
:
String
=
""
var
valid_date
:
String
=
""
var
sign_valid_date
:
String
=
""
// 签注有效期
var
cert_info
:
YHResignCertificateInfoModel
=
YHResignCertificateInfoModel
()
required
init
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignCertificateManage(续期证件管理)/V/YHResignCertificateHKTableViewCell.swift
View file @
ca7ba659
...
...
@@ -136,7 +136,7 @@ class YHResignCertificateHKTableViewCell: UITableViewCell {
if
self
.
compareDates
(
dateString1
:
item
.
message
??
""
,
dateString2
:
self
.
dataModel
.
valid_date
)
{
failString
=
""
}
else
{
failString
=
"有效期不足,需要为
\(
self
.
dataModel
.
valid_date
)
或以后"
failString
=
"
卡片
有效期不足,需要为
\(
self
.
dataModel
.
valid_date
)
或以后"
}
}
if
item
.
id
==
.
id3
{
...
...
@@ -165,7 +165,7 @@ class YHResignCertificateHKTableViewCell: UITableViewCell {
if
self
.
compareDates
(
dateString1
:
item
.
message
??
""
,
dateString2
:
self
.
dataModel
.
valid_date
)
{
failString
=
""
}
else
{
failString
=
"
有效期不足,需要为
\(
self
.
dataModel
.
valid_date
)
或以后"
failString
=
"
签注有效期不足,需要为
\(
self
.
dataModel
.
sign_
valid_date
)
或以后"
}
}
}
...
...
@@ -431,7 +431,7 @@ class YHResignCertificateHKTableViewCell: UITableViewCell {
if
self
.
compareDates
(
dateString1
:
model
.
message
??
""
,
dateString2
:
self
.
dataModel
.
valid_date
)
{
failString
=
""
}
else
{
failString
=
"有效期不足,需要为
\(
self
.
dataModel
.
valid_date
)
或以后"
failString
=
"
卡片
有效期不足,需要为
\(
self
.
dataModel
.
valid_date
)
或以后"
}
}
}
...
...
@@ -484,6 +484,11 @@ class YHResignCertificateHKTableViewCell: UITableViewCell {
guard
let
self
=
self
else
{
return
}
if
let
block
=
self
.
block
{
block
(
model
)
if
self
.
compareDates
(
dateString1
:
model
.
message
??
""
,
dateString2
:
self
.
dataModel
.
sign_valid_date
)
{
failString
=
""
}
else
{
failString
=
"签注卡片有效期不足,需要为
\(
self
.
dataModel
.
sign_valid_date
)
或以后"
}
}
}
centerView
.
addSubview
(
signEndView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHServiceCenterStepThreeTableHeadView.swift
View file @
ca7ba659
...
...
@@ -149,7 +149,7 @@ extension YHServiceCenterStepThreeTableHeadView: UICollectionViewDelegate, UICol
selectIndex
=
indexPath
.
row
if
dataSource
.
count
>
selectIndex
{
let
model
=
dataSource
[
selectIndex
]
explainLabel
.
text
=
model
.
personStr
explainLabel
.
text
=
"本期人员:"
+
model
.
personStr
if
model
.
personStr
.
count
>
20
{
moreButton
.
isHidden
=
false
}
else
{
...
...
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