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
6e96038b
Commit
6e96038b
authored
Feb 06, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基本资料 完成 全部的UI展示
parent
5e30ed6e
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
81 additions
and
4 deletions
+81
-4
YHBasicInfoCellModel.swift
...ss(流程)/BaseInformation(基本资料)/M/YHBasicInfoCellModel.swift
+5
-1
YHBasicInfoFillView.swift
...ess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillView.swift
+0
-0
YHBasicInfoFillViewModel.swift
...)/BaseInformation(基本资料)/VM/YHBasicInfoFillViewModel.swift
+4
-3
Contents.json
...laxy/Res/Assets.xcassets/ServiceCenter/基本资料/Contents.json
+6
-0
Contents.json
...viceCenter/基本资料/basic_info_check_0.imageset/Contents.json
+22
-0
Rectangle 2490@2x.png
...er/基本资料/basic_info_check_0.imageset/Rectangle 2490@2x.png
+0
-0
Rectangle 2490@3x.png
...er/基本资料/basic_info_check_0.imageset/Rectangle 2490@3x.png
+0
-0
Contents.json
...viceCenter/基本资料/basic_info_check_1.imageset/Contents.json
+22
-0
Group 3040@2x.png
...Center/基本资料/basic_info_check_1.imageset/Group 3040@2x.png
+0
-0
Group 3040@3x.png
...Center/基本资料/basic_info_check_1.imageset/Group 3040@3x.png
+0
-0
Contents.json
...viceCenter/基本资料/basic_info_red_dot.imageset/Contents.json
+22
-0
_@2x.png
...s/ServiceCenter/基本资料/basic_info_red_dot.imageset/_@2x.png
+0
-0
_@3x.png
...s/ServiceCenter/基本资料/basic_info_red_dot.imageset/_@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/M/YHBasicInfoCellModel.swift
View file @
6e96038b
...
...
@@ -12,9 +12,13 @@ class YHBasicInfoCellModel {
var
question
:
String
=
""
var
answer
:
String
=
""
var
additionDes
:
String
=
""
init
(
question
:
String
,
answer
:
String
,
additionDes
:
String
)
{
var
model
:
backgroundModel
?
var
type
:
Int
=
0
//0- 输入型 1-选择型
init
(
question
:
String
,
answer
:
String
,
additionDes
:
String
,
type
:
Int
=
0
)
{
self
.
question
=
question
self
.
answer
=
answer
self
.
additionDes
=
additionDes
self
.
type
=
type
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/V/YHBasicInfoFillView.swift
View file @
6e96038b
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/VM/YHBasicInfoFillViewModel.swift
View file @
6e96038b
...
...
@@ -127,7 +127,8 @@ extension YHBasicInfoFillViewModel {
do
{
//家庭背景
let
model1
=
YHBasicInfoCellModel
(
question
:
"1、至少一名直系家庭成员(已婚配偶、父母、兄弟姊妹、子女)是现居于香港的香港永久性居民"
,
answer
:
dataModelForBasicInfo
.
background
?
.
background_member
?
.
has
??
""
,
additionDes
:
dataModelForBasicInfo
.
background
?
.
background_member
?
.
info
??
""
)
let
model1
=
YHBasicInfoCellModel
(
question
:
"1、至少一名直系家庭成员(已婚配偶、父母、兄弟姊妹、子女)是现居于香港的香港永久性居民"
,
answer
:
dataModelForBasicInfo
.
background
?
.
background_member
?
.
has
??
""
,
additionDes
:
dataModelForBasicInfo
.
background
?
.
background_member
?
.
info
??
""
,
type
:
1
)
model1
.
model
=
dataModelForBasicInfo
.
background
let
arr
=
[
model1
]
let
sessionModel
=
YHBasicInfoSessionModel
(
sessionTitle
:
"家庭背景"
,
arrQuestionItem
:
arr
)
...
...
@@ -141,8 +142,8 @@ extension YHBasicInfoFillViewModel {
extension
YHBasicInfoFillViewModel
{
//获取我的评分结果
func
getBasicInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
createOrgBasiceInfoData
()
callBackBlock
(
true
,
nil
)
//先返回数据 让界面展示相关的UI
//
createOrgBasiceInfoData()
//
callBackBlock(true,nil)//先返回数据 让界面展示相关的UI
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Basics
.
basicInfoApi
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/Contents.json
0 → 100644
View file @
6e96038b
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_check_0.imageset/Contents.json
0 → 100644
View file @
6e96038b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Rectangle 2490@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Rectangle 2490@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_check_0.imageset/Rectangle 2490@2x.png
0 → 100644
View file @
6e96038b
587 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_check_0.imageset/Rectangle 2490@3x.png
0 → 100644
View file @
6e96038b
864 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_check_1.imageset/Contents.json
0 → 100644
View file @
6e96038b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Group 3040@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Group 3040@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_check_1.imageset/Group 3040@2x.png
0 → 100644
View file @
6e96038b
784 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_check_1.imageset/Group 3040@3x.png
0 → 100644
View file @
6e96038b
1.11 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_red_dot.imageset/Contents.json
0 → 100644
View file @
6e96038b
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"_@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"_@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_red_dot.imageset/_@2x.png
0 → 100644
View file @
6e96038b
689 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/基本资料/basic_info_red_dot.imageset/_@3x.png
0 → 100644
View file @
6e96038b
952 Bytes
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