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
c3021027
Commit
c3021027
authored
Mar 02, 2024
by
Steven杜宇
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭信息
parent
22be963a
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
17 deletions
+21
-17
YHChildInfoContainerVC.swift
...yMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
+2
-2
YHSpouseInfoContainerVC.swift
...ember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
+1
-1
YHCertificateInfoController.swift
...FamilyMember(家庭成员信息表)/C/YHCertificateInfoController.swift
+0
-0
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+2
-1
YHFamilyRequestViewModel.swift
...程)/FamilyMember(家庭成员信息表)/M/YHFamilyRequestViewModel.swift
+4
-4
YHFormItemExpireDateCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
+10
-7
YHFormItemInputTextCell.swift
...流程)/FamilyMember(家庭成员信息表)/V/YHFormItemInputTextCell.swift
+1
-1
YHFormItemSelectSheetCell.swift
...)/FamilyMember(家庭成员信息表)/V/YHFormItemSelectSheetCell.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
View file @
c3021027
...
...
@@ -78,7 +78,8 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
updateStepView
()
print
(
"step:
\(
child
.
step
)
"
)
currentStep
=
child
.
step
stepView
.
maxIndex
=
child
.
step
view
.
addSubview
(
stepView
)
view
.
addSubview
(
bottomView
)
...
...
@@ -140,7 +141,6 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
stepView
.
dataSource
=
titles
let
step
=
currentStep
currentStep
=
step
stepView
.
maxIndex
=
child
.
step
stepView
.
block
=
{
[
weak
self
]
index
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
View file @
c3021027
...
...
@@ -104,6 +104,7 @@ class YHSpouseInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
updateStepView
()
print
(
"step:
\(
spouse
.
step
)
"
)
currentStep
=
spouse
.
step
stepView
.
maxIndex
=
spouse
.
step
bottomView
.
submitBlock
=
{
[
weak
self
]
in
...
...
@@ -162,7 +163,6 @@ class YHSpouseInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
}
stepView
.
dataSource
=
titles
stepView
.
maxIndex
=
spouse
.
step
// 数据源可能会变,所以需要重新设置step
let
step
=
currentStep
currentStep
=
step
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/YHCertificateInfoController.swift
View file @
c3021027
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
c3021027
...
...
@@ -1239,6 +1239,7 @@ class YHCertificates: SmartCodable {
// MARK: - YHCNIdentityCard
class
YHCNIdentityCard
:
SmartCodable
{
static
let
longTime
=
"8888-01-01"
var
id
:
Int
=
0
var
number
:
String
=
""
var
issueAt
:
String
=
""
...
...
@@ -1246,7 +1247,7 @@ class YHCNIdentityCard: SmartCodable {
var
issueDateEndAt
:
String
=
""
var
imgFront
:
String
=
""
var
imgBack
:
String
=
""
var
passportType
:
Int
=
0
var
passportType
:
Int
=
-
1
enum
CodingKeys
:
String
,
CodingKey
{
case
id
=
"id"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyRequestViewModel.swift
View file @
c3021027
...
...
@@ -14,8 +14,8 @@ class YHFamilyRequestViewModel {
//请求所有家庭成员信息
func
getFamilyInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Family
.
familyInfoApi
//
let strUrl = "http://192.168.34.187:8808/" + YHAllApiName.Family.familyInfoApi
//
let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.Family.familyInfoApi
let
strUrl
=
"http://192.168.34.187:8808/"
+
YHAllApiName
.
Family
.
familyInfoApi
YHHUD
.
show
(
.
progress
(
message
:
"数据加载中..."
))
...
...
@@ -45,8 +45,8 @@ class YHFamilyRequestViewModel {
YHHUD
.
show
(
.
progress
(
message
:
"数据加载中..."
))
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Family
.
familyInfoApi
//
let strUrl = "http://192.168.34.187:8808/" + YHAllApiName.Family.familyInfoApi
//
let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.Family.familyInfoApi
let
strUrl
=
"http://192.168.34.187:8808/"
+
YHAllApiName
.
Family
.
familyInfoApi
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{[
weak
self
]
json
,
code
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
View file @
c3021027
...
...
@@ -20,7 +20,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
var
isMust
=
false
var
placeHolder
:
String
?
=
"请选择"
var
clickBlock
:(()
->
Void
)?
var
clickBlock
:((
Bool
)
->
Void
)?
// 是否隐藏顶部分割线
var
isHiddenTopLine
:
Bool
=
false
{
didSet
{
...
...
@@ -185,11 +185,15 @@ class YHFormItemExpireDateCell: UITableViewCell {
func
updateUI
()
{
detailLabel
.
isHidden
=
isLontTime
tipsLabel
.
isHidden
=
isLontTime
if
isLontTime
{
tipsLabel
.
isHidden
=
true
}
else
{
tipsLabel
.
isHidden
=
!
isEmptyString
(
detail
)
}
longTimeBtn
.
isSelected
=
isLontTime
longTimeBtn
.
snp
.
remakeConstraints
{
make
in
make
.
size
.
equalTo
(
CGSizeMake
(
longTimeBtnWidth
,
40
))
make
.
centerY
.
equalTo
Superview
(
)
make
.
centerY
.
equalTo
(
titleLabel
)
if
isLontTime
{
make
.
left
.
equalTo
(
detailLabel
)
}
else
{
...
...
@@ -200,11 +204,10 @@ class YHFormItemExpireDateCell: UITableViewCell {
@objc
func
didClickLongTimeBtn
()
{
longTimeBtn
.
isSelected
=
!
longTimeBtn
.
isSelected
isLontTime
=
longTimeBtn
.
isSelected
isLontTime
=
!
isLontTime
if
let
clickBlock
=
clickBlock
{
clickBlock
()
clickBlock
(
isLontTime
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemInputTextCell.swift
View file @
c3021027
...
...
@@ -46,7 +46,7 @@ class YHFormItemInputTextCell: UITableViewCell {
var
placeHolder
:
String
?
{
didSet
{
if
let
placeHolder
=
placeHolder
{
if
let
placeHolder
=
placeHolder
,
!
placeHolder
.
isEmpty
{
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
placeHolder
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
placeHolderColor
])
}
else
{
textField
.
attributedPlaceholder
=
NSAttributedString
(
string
:
"请输入"
,
attributes
:
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
placeHolderColor
])
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemSelectSheetCell.swift
View file @
c3021027
...
...
@@ -51,7 +51,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
detailLabel
.
text
=
detail
detailLabel
.
textColor
=
detailColor
}
else
{
detailLabel
.
text
=
placeHolder
detailLabel
.
text
=
isEmptyString
(
placeHolder
)
?
"请选择"
:
placeHolder
detailLabel
.
textColor
=
placeHolderColor
}
}
...
...
David黄金龙
@david.hjl
mentioned in commit
97e80920
·
Mar 02, 2024
mentioned in commit
97e80920
mentioned in commit 97e8092023d96fe608887b70b22330a808d45f02
Toggle commit list
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