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
fe011af5
Commit
fe011af5
authored
Mar 02, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 家庭成员
parent
b1474863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
YHSpouseBasicInfoVC.swift
...ilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
+12
-10
YHFormItemDegreeInfoCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemDegreeInfoCell.swift
+5
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
View file @
fe011af5
...
@@ -493,24 +493,26 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -493,24 +493,26 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
// 前两行是 学历学位信息标题 和 是否拥有学位
// 前两行是 学历学位信息标题 和 是否拥有学位
cell
.
showDeleteBtn
(
indexPath
.
row
>
2
)
cell
.
showDeleteBtn
(
indexPath
.
row
>
2
)
var
degree
=
""
if
!
degreeInfo
.
degree
.
isEmpty
{
if
!
degreeInfo
.
degree
.
isEmpty
{
if
let
degreeIndex
=
Int
(
degreeInfo
.
degree
),
let
subType
=
YHPickerViewDegreeType
(
rawValue
:
degreeIndex
)
{
if
let
degreeIndex
=
Int
(
degreeInfo
.
degree
),
let
subType
=
YHPickerViewDegreeType
(
rawValue
:
degreeIndex
)
{
cell
.
degree
=
YHFormPickerViewSubType
.
degree
(
subType
)
.
title
degree
=
YHFormPickerViewSubType
.
degree
(
subType
)
.
title
}
else
{
cell
.
degree
=
""
}
}
}
else
{
cell
.
degree
=
""
}
}
cell
.
degree
=
degree
var
degreePlace
=
""
if
!
degreeInfo
.
address
.
isEmpty
{
if
!
degreeInfo
.
address
.
isEmpty
{
if
let
addressIndex
=
Int
(
degreeInfo
.
address
),
let
subType
=
YHPickerViewDegreeLocationType
(
rawValue
:
addressIndex
)
{
if
let
addressIndex
=
Int
(
degreeInfo
.
address
),
let
subType
=
YHPickerViewDegreeLocationType
(
rawValue
:
addressIndex
)
{
cell
.
degreePlace
=
YHFormPickerViewSubType
.
degreeLocation
(
subType
)
.
title
degreePlace
=
YHFormPickerViewSubType
.
degreeLocation
(
subType
)
.
title
}
else
{
cell
.
degreePlace
=
""
}
}
}
else
{
cell
.
degreePlace
=
""
}
}
cell
.
degreePlace
=
degreePlace
let
isNeedShowDegreeTips
=
isNeedShowError
&&
isEmptyString
(
degree
)
let
isNeedShowPlaceTips
=
isNeedShowError
&&
isEmptyString
(
degreePlace
)
cell
.
showTips
(
isShowDegreeTips
:
isNeedShowDegreeTips
,
isShowPlaceTips
:
isNeedShowPlaceTips
)
cell
.
degreeClickBlock
=
{
cell
.
degreeClickBlock
=
{
YHFormPickerView
.
show
(
type
:
.
degree
)
{
[
weak
self
]
selectType
in
YHFormPickerView
.
show
(
type
:
.
degree
)
{
[
weak
self
]
selectType
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDegreeInfoCell.swift
View file @
fe011af5
...
@@ -48,17 +48,20 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
...
@@ -48,17 +48,20 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
var
degree
:
String
?
{
var
degree
:
String
?
{
didSet
{
didSet
{
degreeView
.
detail
=
degree
degreeView
.
detail
=
degree
degreeView
.
setTips
(
"请选择学位"
,
isShow
:
isEmptyString
(
degree
))
}
}
}
}
var
degreePlace
:
String
?
{
var
degreePlace
:
String
?
{
didSet
{
didSet
{
areaView
.
detail
=
degreePlace
areaView
.
detail
=
degreePlace
areaView
.
setTips
(
"请选择颁发地区"
,
isShow
:
isEmptyString
(
degreePlace
))
}
}
}
}
func
showTips
(
isShowDegreeTips
:
Bool
,
isShowPlaceTips
:
Bool
)
{
degreeView
.
setTips
(
"请选择学位"
.
local
,
isShow
:
isShowDegreeTips
)
areaView
.
setTips
(
"请选择颁发地区"
.
local
,
isShow
:
isShowPlaceTips
)
}
lazy
var
titleLabel
:
UILabel
=
{
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textColor
=
UIColor
.
mainTextColor
...
...
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