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
941d500b
Commit
941d500b
authored
Mar 18, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理 字段的缺省值
parent
521aee86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
YHPreviewViewModel.swift
...的信息流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+3
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
941d500b
...
...
@@ -973,7 +973,7 @@ private extension YHPreviewViewModel {
//配偶信息
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
"配偶姓名:"
,
answer
:
model
.
subsetName
)
let
tmp1
=
YHPreviewQuestionAndAnswerModel
(
question
:
"曾用名:"
,
answer
:
model
.
usedName
.
defaultStringIfEmpty
())
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"婚前姓氏:"
,
answer
:
model
.
surname
)
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"婚前姓氏:"
,
answer
:
model
.
surname
.
defaultStringIfEmpty
()
)
let
tmp3
=
YHPreviewQuestionAndAnswerModel
(
question
:
"出生日期:"
,
answer
:
model
.
birthday
)
var
city
=
""
if
model
.
birthPlaceAboard
==
0
{
...
...
@@ -1083,7 +1083,7 @@ private extension YHPreviewViewModel {
//配偶信息-否
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
"配偶姓名:"
,
answer
:
model
.
subsetName
)
let
tmp1
=
YHPreviewQuestionAndAnswerModel
(
question
:
"曾用名:"
,
answer
:
model
.
usedName
.
defaultStringIfEmpty
())
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"婚前姓氏:"
,
answer
:
model
.
surname
)
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"婚前姓氏:"
,
answer
:
model
.
surname
.
defaultStringIfEmpty
()
)
let
tmp3
=
YHPreviewQuestionAndAnswerModel
(
question
:
"出生日期:"
,
answer
:
model
.
birthday
)
var
city
=
""
if
model
.
birthPlaceAboard
==
0
{
...
...
@@ -1254,7 +1254,7 @@ private extension YHPreviewViewModel {
//子女信息
let
tmp0
=
YHPreviewQuestionAndAnswerModel
(
question
:
"子女姓名:"
,
answer
:
model
.
subsetName
)
let
tmp1
=
YHPreviewQuestionAndAnswerModel
(
question
:
"曾用名:"
,
answer
:
model
.
usedName
.
defaultStringIfEmpty
())
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"婚前姓氏:"
,
answer
:
model
.
surname
)
let
tmp2
=
YHPreviewQuestionAndAnswerModel
(
question
:
"婚前姓氏:"
,
answer
:
model
.
surname
.
defaultStringIfEmpty
()
)
let
sexStr
=
YHConstantArrayData
.
getShowNameBy
(
indexStr
:
String
(
model
.
sex
),
type
:
.
sex
)
let
tmp22
=
YHPreviewQuestionAndAnswerModel
(
question
:
"性别:"
,
answer
:
sexStr
)
...
...
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