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
bd73c874
Commit
bd73c874
authored
Sep 04, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增受养人bug修复
parent
9d3cef4b
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
29 additions
and
14 deletions
+29
-14
YHAddAdoptersViewController.swift
...)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
+10
-0
YHAdoptedChinaTravelViewController.swift
...opters(2新增受养人)/C/YHAdoptedChinaTravelViewController.swift
+1
-1
YHAdopterBirthViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterBirthViewController.swift
+1
-1
YHAdopterChinaLifeViewController.swift
...Adopters(2新增受养人)/C/YHAdopterChinaLifeViewController.swift
+1
-1
YHAdopterChinaViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterChinaViewController.swift
+4
-1
YHAdopterIdCardViewController.swift
...AddAdopters(2新增受养人)/C/YHAdopterIdCardViewController.swift
+1
-1
YHAdopterMarryViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterMarryViewController.swift
+1
-1
YHAdopterOtherViewController.swift
.../AddAdopters(2新增受养人)/C/YHAdopterOtherViewController.swift
+1
-1
YHAdopterResidentViewController.swift
...dAdopters(2新增受养人)/C/YHAdopterResidentViewController.swift
+1
-1
YHAdopterTravelViewController.swift
...AddAdopters(2新增受养人)/C/YHAdopterTravelViewController.swift
+1
-1
YHAdopterCardExplainTableViewCell.swift
...dopters(2新增受养人)/V/YHAdopterCardExplainTableViewCell.swift
+3
-3
YHAdopterIncomeTitleTableViewCell.swift
...dopters(2新增受养人)/V/YHAdopterIncomeTitleTableViewCell.swift
+1
-1
YHItemView.swift
...信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+3
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAddAdoptersViewController.swift
View file @
bd73c874
...
@@ -15,6 +15,7 @@ class YHAddAdoptersViewController: YHBaseViewController {
...
@@ -15,6 +15,7 @@ class YHAddAdoptersViewController: YHBaseViewController {
var
clickIndex
=
2
var
clickIndex
=
2
let
viewModel
=
YHAddpterViewModel
()
let
viewModel
=
YHAddpterViewModel
()
var
orderId
:
Int
=
0
var
orderId
:
Int
=
0
var
isMore
:
Bool
=
false
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
...
@@ -157,6 +158,15 @@ extension YHAddAdoptersViewController: UITableViewDelegate, UITableViewDataSourc
...
@@ -157,6 +158,15 @@ extension YHAddAdoptersViewController: UITableViewDelegate, UITableViewDataSourc
}
else
if
indexPath
.
row
==
2
{
}
else
if
indexPath
.
row
==
2
{
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterAddNewTableViewCell
.
self
)
let
cell
=
tableView
.
dequeueReusableCell
(
withClass
:
YHAdopterAddNewTableViewCell
.
self
)
cell
.
dataSource
=
self
.
viewModel
.
model
?
.
dependent
cell
.
dataSource
=
self
.
viewModel
.
model
?
.
dependent
if
isMore
{
cell
.
more
()
}
else
{
cell
.
cannal
()
}
cell
.
isMoreBlock
=
{[
weak
self
]
isMore
in
guard
let
self
=
self
else
{
return
}
self
.
isMore
=
isMore
}
cell
.
newAdopterBlock
=
{[
weak
self
]
in
cell
.
newAdopterBlock
=
{[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
var
items
:
[
YHCertificateEditItem
]
=
[]
var
items
:
[
YHCertificateEditItem
]
=
[]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdoptedChinaTravelViewController.swift
View file @
bd73c874
...
@@ -73,7 +73,7 @@ class YHAdoptedChinaTravelViewController: YHBaseViewController {
...
@@ -73,7 +73,7 @@ class YHAdoptedChinaTravelViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterBirthViewController.swift
View file @
bd73c874
...
@@ -73,7 +73,7 @@ class YHAdopterBirthViewController: YHBaseViewController {
...
@@ -73,7 +73,7 @@ class YHAdopterBirthViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterChinaLifeViewController.swift
View file @
bd73c874
...
@@ -73,7 +73,7 @@ class YHAdopterChinaLifeViewController: YHBaseViewController {
...
@@ -73,7 +73,7 @@ class YHAdopterChinaLifeViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterChinaViewController.swift
View file @
bd73c874
...
@@ -76,7 +76,7 @@ class YHAdopterChinaViewController: YHBaseViewController {
...
@@ -76,7 +76,7 @@ class YHAdopterChinaViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
@@ -199,6 +199,9 @@ extension YHAdopterChinaViewController: UITableViewDelegate, UITableViewDataSour
...
@@ -199,6 +199,9 @@ extension YHAdopterChinaViewController: UITableViewDelegate, UITableViewDataSour
if
isShow
&&
message
.
count
==
0
&&
isNeed
{
if
isShow
&&
message
.
count
==
0
&&
isNeed
{
return
52
+
20
return
52
+
20
}
else
{
}
else
{
if
model
.
id
==
.
id25
&&
message
==
"0"
{
return
52
+
20
}
return
52
return
52
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterIdCardViewController.swift
View file @
bd73c874
...
@@ -73,7 +73,7 @@ class YHAdopterIdCardViewController: YHBaseViewController {
...
@@ -73,7 +73,7 @@ class YHAdopterIdCardViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterMarryViewController.swift
View file @
bd73c874
...
@@ -72,7 +72,7 @@ class YHAdopterMarryViewController: YHBaseViewController {
...
@@ -72,7 +72,7 @@ class YHAdopterMarryViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterOtherViewController.swift
View file @
bd73c874
...
@@ -71,7 +71,7 @@ class YHAdopterOtherViewController: YHBaseViewController {
...
@@ -71,7 +71,7 @@ class YHAdopterOtherViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterResidentViewController.swift
View file @
bd73c874
...
@@ -73,7 +73,7 @@ class YHAdopterResidentViewController: YHBaseViewController {
...
@@ -73,7 +73,7 @@ class YHAdopterResidentViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/C/YHAdopterTravelViewController.swift
View file @
bd73c874
...
@@ -76,7 +76,7 @@ class YHAdopterTravelViewController: YHBaseViewController {
...
@@ -76,7 +76,7 @@ class YHAdopterTravelViewController: YHBaseViewController {
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
bottom
.
equalTo
(
-
8
-
k_Height_safeAreaInsetsBottom
())
make
.
height
.
equalTo
(
48
)
make
.
height
.
equalTo
(
48
)
}
}
if
model
.
status
==
1
||
model
.
status
==
2
{
if
model
.
status
==
1
||
model
.
status
==
3
{
nextButton
.
isHidden
=
true
nextButton
.
isHidden
=
true
}
else
{
}
else
{
tableView
.
snp
.
remakeConstraints
{
make
in
tableView
.
snp
.
remakeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardExplainTableViewCell.swift
View file @
bd73c874
...
@@ -111,12 +111,12 @@ class YHAdopterCardExplainTableViewCell: UITableViewCell {
...
@@ -111,12 +111,12 @@ class YHAdopterCardExplainTableViewCell: UITableViewCell {
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xfff5eb
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xfff5eb
)
subTitleLabel
.
text
=
"审核中"
subTitleLabel
.
text
=
"审核中"
}
}
if
data
.
status
==
2
{
if
data
.
status
==
3
{
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0x3cc694
)
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0x3cc694
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xf0fbf7
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xf0fbf7
)
subTitleLabel
.
text
=
"已
完成
"
subTitleLabel
.
text
=
"已
通过
"
}
}
if
data
.
status
==
3
{
if
data
.
status
==
2
{
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0xf81d22
)
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0xf81d22
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xfff2f2
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xfff2f2
)
subTitleLabel
.
text
=
"已驳回"
subTitleLabel
.
text
=
"已驳回"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterIncomeTitleTableViewCell.swift
View file @
bd73c874
...
@@ -188,7 +188,7 @@ class YHAdopterIncomeTitleTableViewCell: UITableViewCell {
...
@@ -188,7 +188,7 @@ class YHAdopterIncomeTitleTableViewCell: UITableViewCell {
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xf0fbf7
)
subTitleLabel
.
backgroundColor
=
UIColor
(
hex
:
0xf0fbf7
)
failImageView
.
isHidden
=
true
failImageView
.
isHidden
=
true
failLabel
.
isHidden
=
true
failLabel
.
isHidden
=
true
subTitleLabel
.
text
=
"已
完成
"
subTitleLabel
.
text
=
"已
通过
"
}
}
if
data
.
status
==
2
{
if
data
.
status
==
2
{
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0xf81d22
)
subTitleLabel
.
textColor
=
UIColor
(
hex
:
0xf81d22
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
bd73c874
...
@@ -312,7 +312,9 @@ class YHItemView: UIView {
...
@@ -312,7 +312,9 @@ class YHItemView: UIView {
if
dataSource
.
isShowPrompts
??
false
&&
dataSource
.
isNeed
??
false
{
if
dataSource
.
isShowPrompts
??
false
&&
dataSource
.
isNeed
??
false
{
if
dataSource
.
message
?
.
count
!=
0
{
if
dataSource
.
message
?
.
count
!=
0
{
showPromptLabel
.
isHidden
=
true
showPromptLabel
.
isHidden
=
true
if
dataSource
.
type
==
.
sex
&&
dataSource
.
message
==
"0"
{
showPromptLabel
.
isHidden
=
false
}
//特殊处理身份证
//特殊处理身份证
if
dataSource
.
id
==
.
id8
{
if
dataSource
.
id
==
.
id8
{
if
let
message
=
dataSource
.
message
,
message
.
count
==
18
{
if
let
message
=
dataSource
.
message
,
message
.
count
==
18
{
...
...
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