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
d0c11740
Commit
d0c11740
authored
Mar 07, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
固定数据 统一 到一个文件中
parent
48851957
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
343 additions
and
329 deletions
+343
-329
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+6
-2
YHItemView.swift
...s(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+3
-3
YHOtherPickerView.swift
...cess(流程)/OtherInformation(其他信息)/V/YHOtherPickerView.swift
+10
-10
YHOtherInfoFillViewModel.swift
.../OtherInformation(其他信息)/VM/YHOtherInfoFillViewModel.swift
+2
-310
YHPreviewViewModel.swift
...ss(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+2
-2
YHWorkExperienceItemView.swift
...流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
+2
-2
YHConstantArrayData.swift
...xy/galaxy/Classes/Tools/NetWork/YHConstantArrayData.swift
+318
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
d0c11740
...
@@ -172,6 +172,7 @@
...
@@ -172,6 +172,7 @@
A554A50A2B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A5092B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift */
;
};
A554A50A2B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A5092B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift */
;
};
A554A50C2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A50B2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift */
;
};
A554A50C2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A50B2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift */
;
};
A554A5102B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A50F2B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift */
;
};
A554A5102B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A50F2B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift */
;
};
A554A5122B99715000EA5973
/* YHConstantArrayData.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A554A5112B99715000EA5973
/* YHConstantArrayData.swift */
;
};
A5551FFE2B4C26CE00510980
/* YHBaseViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5551FFD2B4C26CE00510980
/* YHBaseViewModel.swift */
;
};
A5551FFE2B4C26CE00510980
/* YHBaseViewModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5551FFD2B4C26CE00510980
/* YHBaseViewModel.swift */
;
};
A5573ED22B317BFF00D98EC0
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5573ED12B317BFF00D98EC0
/* AppDelegate.swift */
;
};
A5573ED22B317BFF00D98EC0
/* AppDelegate.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5573ED12B317BFF00D98EC0
/* AppDelegate.swift */
;
};
A5573EDB2B317C0000D98EC0
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5573EDA2B317C0000D98EC0
/* Assets.xcassets */
;
};
A5573EDB2B317C0000D98EC0
/* Assets.xcassets in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
A5573EDA2B317C0000D98EC0
/* Assets.xcassets */
;
};
...
@@ -492,6 +493,7 @@
...
@@ -492,6 +493,7 @@
A554A5092B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoWorkExpView.swift
;
sourceTree
=
"<group>"
;
};
A554A5092B9701F300EA5973
/* YHPreviewInfoWorkExpView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoWorkExpView.swift
;
sourceTree
=
"<group>"
;
};
A554A50B2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoProjectItemView.swift
;
sourceTree
=
"<group>"
;
};
A554A50B2B9715EC00EA5973
/* YHPreviewInfoProjectItemView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoProjectItemView.swift
;
sourceTree
=
"<group>"
;
};
A554A50F2B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoWorkSummaryView.swift
;
sourceTree
=
"<group>"
;
};
A554A50F2B97389300EA5973
/* YHPreviewInfoWorkSummaryView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHPreviewInfoWorkSummaryView.swift
;
sourceTree
=
"<group>"
;
};
A554A5112B99715000EA5973
/* YHConstantArrayData.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHConstantArrayData.swift
;
sourceTree
=
"<group>"
;
};
A5551FFD2B4C26CE00510980
/* YHBaseViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewModel.swift
;
sourceTree
=
"<group>"
;
};
A5551FFD2B4C26CE00510980
/* YHBaseViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewModel.swift
;
sourceTree
=
"<group>"
;
};
A5573ECE2B317BFF00D98EC0
/* galaxy.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
galaxy.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
A5573ECE2B317BFF00D98EC0
/* galaxy.app */
=
{
isa
=
PBXFileReference
;
explicitFileType
=
wrapper.application
;
includeInIndex
=
0
;
path
=
galaxy.app
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
A5573ED12B317BFF00D98EC0
/* AppDelegate.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppDelegate.swift
;
sourceTree
=
"<group>"
;
};
A5573ED12B317BFF00D98EC0
/* AppDelegate.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
AppDelegate.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -1403,6 +1405,7 @@
...
@@ -1403,6 +1405,7 @@
A5ACE8F42B4564F7002C94D2
/* YHNetRequest.swift */
,
A5ACE8F42B4564F7002C94D2
/* YHNetRequest.swift */
,
A5ACE8F52B4564F7002C94D2
/* YHNetworkStatusManager.swift */
,
A5ACE8F52B4564F7002C94D2
/* YHNetworkStatusManager.swift */
,
A5ACE8F62B4564F7002C94D2
/* YHBaseUrlManager.swift */
,
A5ACE8F62B4564F7002C94D2
/* YHBaseUrlManager.swift */
,
A554A5112B99715000EA5973
/* YHConstantArrayData.swift */
,
);
);
path
=
NetWork
;
path
=
NetWork
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -2080,6 +2083,7 @@
...
@@ -2080,6 +2083,7 @@
042FBBCB2B65058000F9DE23
/* YHChildBasicInfoVC.swift in Sources */
,
042FBBCB2B65058000F9DE23
/* YHChildBasicInfoVC.swift in Sources */
,
04E86E6A2B87352700A35F4B
/* YHCompanySelectViewController.swift in Sources */
,
04E86E6A2B87352700A35F4B
/* YHCompanySelectViewController.swift in Sources */
,
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerItemView.swift in Sources */
,
A5191F602B89E6FA001069F7
/* YHPreviewInfoQuestionAndAnswerItemView.swift in Sources */
,
A554A5122B99715000EA5973
/* YHConstantArrayData.swift in Sources */
,
04B0239E2B92C27C00B83629
/* YHFamilyMemberViewModel.swift in Sources */
,
04B0239E2B92C27C00B83629
/* YHFamilyMemberViewModel.swift in Sources */
,
04E86E452B8357EC00A35F4B
/* YHItemModel.swift in Sources */
,
04E86E452B8357EC00A35F4B
/* YHItemModel.swift in Sources */
,
A5B4A5852B9455F7003EFF8F
/* YHPreviewForOtherInfoModel.swift in Sources */
,
A5B4A5852B9455F7003EFF8F
/* YHPreviewForOtherInfoModel.swift in Sources */
,
...
@@ -2268,7 +2272,7 @@
...
@@ -2268,7 +2272,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
@@ -2310,7 +2314,7 @@
...
@@ -2310,7 +2314,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
;
CURRENT_PROJECT_VERSION
=
2
;
DEVELOPMENT_TEAM
=
""
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
d0c11740
...
@@ -213,7 +213,7 @@ class YHItemView: UIView {
...
@@ -213,7 +213,7 @@ class YHItemView: UIView {
if
dataSource
.
message
==
"0"
{
if
dataSource
.
message
==
"0"
{
messageTextField
.
text
=
""
messageTextField
.
text
=
""
}
}
let
arr
=
YH
OtherInfoFillViewModel
.
arrIdType
let
arr
=
YH
ConstantArrayData
.
arrIdType
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
messageTextField
.
text
=
item
[
"title"
]
...
@@ -224,7 +224,7 @@ class YHItemView: UIView {
...
@@ -224,7 +224,7 @@ class YHItemView: UIView {
if
dataSource
.
message
==
"0"
{
if
dataSource
.
message
==
"0"
{
messageTextField
.
text
=
""
messageTextField
.
text
=
""
}
}
let
arr
=
YH
OtherInfoFillViewModel
.
arrSex
let
arr
=
YH
ConstantArrayData
.
arrSex
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
messageTextField
.
text
=
item
[
"title"
]
...
@@ -234,7 +234,7 @@ class YHItemView: UIView {
...
@@ -234,7 +234,7 @@ class YHItemView: UIView {
if
dataSource
.
message
==
"0"
{
if
dataSource
.
message
==
"0"
{
messageTextField
.
text
=
""
messageTextField
.
text
=
""
}
}
let
arr
=
YH
OtherInfoFillViewModel
.
arrMarry
let
arr
=
YH
ConstantArrayData
.
arrMarry
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
messageTextField
.
text
=
item
[
"title"
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherPickerView.swift
View file @
d0c11740
...
@@ -356,7 +356,7 @@ extension YHOtherPickerView {
...
@@ -356,7 +356,7 @@ extension YHOtherPickerView {
//根据type 构建对应的数据源
//根据type 构建对应的数据源
switch
type
{
switch
type
{
case
.
language
:
case
.
language
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrLanguage
let
arr
=
YH
ConstantArrayData
.
arrLanguage
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
item
[
"dec"
]
??
"-"
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
item
[
"dec"
]
??
"-"
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -366,7 +366,7 @@ extension YHOtherPickerView {
...
@@ -366,7 +366,7 @@ extension YHOtherPickerView {
return
return
case
.
professionalSkill
:
case
.
professionalSkill
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrSkill
let
arr
=
YH
ConstantArrayData
.
arrSkill
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
item
[
"dec"
]
??
"-"
,
index
:
item
[
"value"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
item
[
"dec"
]
??
"-"
,
index
:
item
[
"value"
]
??
"-"
)
...
@@ -376,7 +376,7 @@ extension YHOtherPickerView {
...
@@ -376,7 +376,7 @@ extension YHOtherPickerView {
return
return
case
.
nature
:
case
.
nature
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrNature
let
arr
=
YH
ConstantArrayData
.
arrNature
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -384,7 +384,7 @@ extension YHOtherPickerView {
...
@@ -384,7 +384,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
certificate
:
case
.
certificate
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrCertificate
let
arr
=
YH
ConstantArrayData
.
arrCertificate
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -392,7 +392,7 @@ extension YHOtherPickerView {
...
@@ -392,7 +392,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
structure
:
case
.
structure
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrStructure
let
arr
=
YH
ConstantArrayData
.
arrStructure
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -400,7 +400,7 @@ extension YHOtherPickerView {
...
@@ -400,7 +400,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
level
:
case
.
level
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrLevel
let
arr
=
YH
ConstantArrayData
.
arrLevel
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -408,7 +408,7 @@ extension YHOtherPickerView {
...
@@ -408,7 +408,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
prove
:
case
.
prove
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrProve
let
arr
=
YH
ConstantArrayData
.
arrProve
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -416,7 +416,7 @@ extension YHOtherPickerView {
...
@@ -416,7 +416,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
idType
:
case
.
idType
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrIdType
let
arr
=
YH
ConstantArrayData
.
arrIdType
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -424,7 +424,7 @@ extension YHOtherPickerView {
...
@@ -424,7 +424,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
sex
:
case
.
sex
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrSex
let
arr
=
YH
ConstantArrayData
.
arrSex
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
@@ -432,7 +432,7 @@ extension YHOtherPickerView {
...
@@ -432,7 +432,7 @@ extension YHOtherPickerView {
}
}
title
=
getTitle
(
type
:
type
)
title
=
getTitle
(
type
:
type
)
case
.
marry
:
case
.
marry
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrMarry
let
arr
=
YH
ConstantArrayData
.
arrMarry
arrData
.
removeAll
()
arrData
.
removeAll
()
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
let
model
=
YHOtherPickerViewItemData
(
title
:
item
[
"title"
]
??
"-"
,
subTitle
:
""
,
index
:
item
[
"id"
]
??
"-"
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/VM/YHOtherInfoFillViewModel.swift
View file @
d0c11740
...
@@ -10,312 +10,6 @@ import UIKit
...
@@ -10,312 +10,6 @@ import UIKit
class
YHOtherInfoFillViewModel
:
YHBaseViewModel
{
class
YHOtherInfoFillViewModel
:
YHBaseViewModel
{
var
otherInfoFillData
:
YHOtherInfoFillModel
?
var
otherInfoFillData
:
YHOtherInfoFillModel
?
static
let
arrLanguage
:
[[
String
:
String
]]
=
[
[
"id"
:
"1"
,
"title"
:
"中文及英文"
,
"dec"
:
"国外大学(英语国家)毕业,英文授课,获得学位证。(如为中外联合办学,在中国上课的,不算)"
,
],
[
"id"
:
"2"
,
"title"
:
"中文及英文"
,
"dec"
:
" 有近两年的雅思或托福成绩单(雅思考试G类或A类总分达6分;托福笔试达550分,计算机达213分,网考达80分)"
,
],
[
"id"
:
"4"
,
"title"
:
"中文及另一种外语"
,
"dec"
:
"非英文的外语,如:法文、日文等(需提供相关证书)"
,
],
[
"id"
:
"5"
,
"title"
:
"仅中文"
,
"dec"
:
""
,
],
[
"id"
:
"6"
,
"title"
:
"仅英文"
,
"dec"
:
""
,
],
]
static
let
arrSkill
:
[[
String
:
String
]]
=
[
[
"title"
:
"学术研究及教育"
,
"dec"
:
"幼儿教育、高等教育、学术研究"
,
"val"
:
""
,
"value"
:
"1"
,
],
[
"title"
:
"建筑、测量、工程及建造"
,
"dec"
:
"园景设计、建筑、测量、土木/电机/机器/机构/环境工程"
,
"val"
:
""
,
"value"
:
"2"
,
],
[
"title"
:
"艺术及文化"
,
"dec"
:
"表演艺术、美术、博物馆、图书馆、摄影"
,
"val"
:
""
,
"value"
:
"3"
,
],
[
"title"
:
"广播及娱乐"
,
"dec"
:
"广播及节目制作、电影、录像及电视制作、唱片及音乐出版"
,
"val"
:
""
,
"value"
:
"4"
,
],
[
"title"
:
"业务支援及人力资源"
,
"dec"
:
"业务咨询顾问、公司秘书、行政支援、人事管理、招聘服务、公关关系服务、广告、信息服务"
,
"val"
:
""
,
"value"
:
"5"
,
],
[
"title"
:
"餐饮服务及旅游"
,
"dec"
:
"酒吧、餐厅、酒店、旅行代理"
,
"val"
:
""
,
"value"
:
"6"
,
],
[
"title"
:
"商业及贸易"
,
"dec"
:
"进出口、零售、批发"
,
"val"
:
""
,
"value"
:
"7"
,
],
[
"title"
:
"金融及会计服务"
,
"dec"
:
"会计、银行、保险、证券、投资银行"
,
"val"
:
""
,
"value"
:
"8"
,
],
[
"title"
:
"医疗保健及兽医服务"
,
"dec"
:
"西医药、中医药、牙科服务、医学科技、职业治疗、护理、兽医服务"
,
"val"
:
""
,
"value"
:
"9"
,
],
[
"title"
:
"资讯科技及电讯"
,
"dec"
:
"资讯科技顾问、固网及无线通信"
,
"val"
:
""
,
"value"
:
"10"
,
],
[
"title"
:
"法律服务"
,
"dec"
:
"法律事务"
,
"val"
:
""
,
"value"
:
"11"
,
],
[
"title"
:
"物流运输"
,
"dec"
:
"物流、空运、海运、陆运"
,
"val"
:
""
,
"value"
:
"12"
,
],
[
"title"
:
"工业制造"
,
"dec"
:
"电机、电子、食物及饮料、化工、金属、玩具、纺织、钟表、珠宝、印刷及出版"
,
"val"
:
""
,
"value"
:
"13"
,
],
[
"title"
:
"体育运动"
,
"dec"
:
"体育运动"
,
"val"
:
""
,
"value"
:
"14"
,
],
[
"title"
:
"其他"
,
"example"
:
""
,
"val"
:
""
,
"value"
:
"15"
,
"dec"
:
""
],
]
static
let
arrNature
:
[[
String
:
String
]]
=
[
[
"title"
:
"有限责任公司"
,
"id"
:
"有限责任公司"
],
[
"title"
:
"股份有限公司"
,
"id"
:
"股份有限公司"
],
[
"title"
:
"跨国有限责任公司"
,
"id"
:
"跨国有限责任公司"
],
[
"title"
:
"跨国股份有限公司"
,
"id"
:
"跨国股份有限公司"
],
[
"title"
:
"上市公司"
,
"id"
:
"上市公司"
],
[
"title"
:
"上市跨国公司"
,
"id"
:
"上市跨国公司"
],
[
"title"
:
"教育机构"
,
"id"
:
"教育机构"
],
[
"title"
:
"半公营企业"
,
"id"
:
"半公营企业"
],
[
"title"
:
"政府机构"
,
"id"
:
"政府机构"
],
[
"title"
:
"跨国合伙企业"
,
"id"
:
"跨国合伙企业"
],
[
"title"
:
"跨国个人独资企业"
,
"id"
:
"跨国个人独资企业"
],
[
"title"
:
"个人独资企业"
,
"id"
:
"个人独资企业"
],
[
"title"
:
"国家/政府间组织"
,
"id"
:
"国家/政府间组织"
],
[
"title"
:
"志愿/慈善/宗教团体"
,
"id"
:
"志愿/慈善/宗教团体"
],
[
"title"
:
"其他(请备注)"
,
"id"
:
"其他(请备注)"
]
]
static
let
arrCertificate
:
[[
String
:
String
]]
=
[
[
"id"
:
"盖章并签字的推荐信 (证明效果最强)"
,
"title"
:
"盖章并签字的推荐信 (证明效果最强)"
],
[
"id"
:
"签字的推荐信+盖章的工作证明"
,
"title"
:
"签字的推荐信+盖章的工作证明"
],
[
"id"
:
"仅有签字的推荐信"
,
"title"
:
"仅有签字的推荐信"
],
[
"id"
:
"仅有社保记录/劳动合同/工牌等"
,
"title"
:
"仅有社保记录/劳动合同/工牌等"
],
[
"id"
:
"仅提供声明书解释"
,
"title"
:
"仅提供声明书解释"
],
[
"id"
:
"仅有工作证明"
,
"title"
:
"仅有工作证明"
]
]
static
let
arrStructure
:
[[
String
:
String
]]
=
[
[
"title"
:
"组织架构最顶级"
,
"id"
:
"1"
],
[
"title"
:
"组织架构第二层级"
,
"id"
:
"2"
],
[
"title"
:
"组织架构第三层级"
,
"id"
:
"3"
],
[
"title"
:
"组织架构第四层级"
,
"id"
:
"4"
],
[
"title"
:
"以上都不是"
,
"id"
:
"5"
]
]
static
let
arrLevel
:
[[
String
:
String
]]
=
[
[
"title"
:
"高级经理人"
,
"id"
:
"1"
],
[
"title"
:
"中级经理人"
,
"id"
:
"2"
],
[
"title"
:
"初级经理人"
,
"id"
:
"3"
],
[
"title"
:
"专业人士"
,
"id"
:
"4"
],
[
"title"
:
"半专业人士"
,
"id"
:
"5"
],
[
"title"
:
"其他"
,
"id"
:
"6"
]
]
static
let
arrProve
:
[[
String
:
String
]]
=
[
[
"title"
:
"盖章且签字的组织架构图和审计报告"
,
"id"
:
"盖章且签字的组织架构图和审计报告"
]
]
static
let
arrIdType
:
[[
String
:
String
]]
=
[
[
"title"
:
"护照"
,
"id"
:
"3"
],
[
"title"
:
"外交护照"
,
"id"
:
"4"
],
[
"title"
:
"公务护照"
,
"id"
:
"5"
],
[
"title"
:
"中国发无国籍旅游证件"
,
"id"
:
"6"
],
[
"title"
:
"旅游通行证"
,
"id"
:
"7"
],
[
"title"
:
"联合国通行证"
,
"id"
:
"8"
],
[
"title"
:
"其他无国籍旅行证件"
,
"id"
:
"9"
],
[
"title"
:
"其他"
,
"id"
:
"10"
]
]
static
let
arrSex
:
[[
String
:
String
]]
=
[
[
"title"
:
"男"
,
"id"
:
"1"
],
[
"title"
:
"女"
,
"id"
:
"2"
]
]
static
let
arrMarry
:
[[
String
:
String
]]
=
[
[
"title"
:
"已婚"
,
"id"
:
"1"
],
[
"title"
:
"未婚"
,
"id"
:
"2"
],
[
"title"
:
"离婚"
,
"id"
:
"3"
],
[
"title"
:
"分居"
,
"id"
:
"4"
],
[
"title"
:
"丧偶"
,
"id"
:
"5"
]
]
}
}
extension
YHOtherInfoFillViewModel
{
extension
YHOtherInfoFillViewModel
{
...
@@ -384,7 +78,7 @@ extension YHOtherInfoFillViewModel {
...
@@ -384,7 +78,7 @@ extension YHOtherInfoFillViewModel {
if
let
language
=
self
.
otherInfoFillData
?
.
language_detail
{
if
let
language
=
self
.
otherInfoFillData
?
.
language_detail
{
if
language
.
level
>
0
{
if
language
.
level
>
0
{
let
target
=
String
(
language
.
level
)
let
target
=
String
(
language
.
level
)
for
(
_
,
item
)
in
YH
OtherInfoFillViewModel
.
arrLanguage
.
enumerated
()
{
for
(
_
,
item
)
in
YH
ConstantArrayData
.
arrLanguage
.
enumerated
()
{
if
target
==
item
[
"id"
]
{
if
target
==
item
[
"id"
]
{
language
.
levelDes
=
item
[
"title"
]
??
""
language
.
levelDes
=
item
[
"title"
]
??
""
...
@@ -394,12 +88,10 @@ extension YHOtherInfoFillViewModel {
...
@@ -394,12 +88,10 @@ extension YHOtherInfoFillViewModel {
}
}
}
}
if
let
profession
=
self
.
otherInfoFillData
?
.
profession
{
if
let
profession
=
self
.
otherInfoFillData
?
.
profession
{
if
profession
.
option
>
0
{
if
profession
.
option
>
0
{
let
target
=
String
(
profession
.
option
)
let
target
=
String
(
profession
.
option
)
for
(
_
,
item
)
in
YH
OtherInfoFillViewModel
.
arrSkill
.
enumerated
()
{
for
(
_
,
item
)
in
YH
ConstantArrayData
.
arrSkill
.
enumerated
()
{
if
target
==
item
[
"value"
]
{
if
target
==
item
[
"value"
]
{
profession
.
optionDes
=
item
[
"title"
]
??
""
profession
.
optionDes
=
item
[
"title"
]
??
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
d0c11740
...
@@ -726,7 +726,7 @@ private extension YHPreviewViewModel {
...
@@ -726,7 +726,7 @@ private extension YHPreviewViewModel {
if
let
language
=
otherInfoPreviewModel
?
.
language
{
if
let
language
=
otherInfoPreviewModel
?
.
language
{
if
language
.
level
>
0
{
if
language
.
level
>
0
{
let
target
=
String
(
language
.
level
)
let
target
=
String
(
language
.
level
)
for
(
_
,
item
)
in
YH
OtherInfoFillViewModel
.
arrLanguage
.
enumerated
()
{
for
(
_
,
item
)
in
YH
ConstantArrayData
.
arrLanguage
.
enumerated
()
{
if
target
==
item
[
"id"
]
{
if
target
==
item
[
"id"
]
{
language
.
levelDes
=
item
[
"title"
]
??
"--"
language
.
levelDes
=
item
[
"title"
]
??
"--"
...
@@ -742,7 +742,7 @@ private extension YHPreviewViewModel {
...
@@ -742,7 +742,7 @@ private extension YHPreviewViewModel {
if
let
profession
=
otherInfoPreviewModel
?
.
profession
{
if
let
profession
=
otherInfoPreviewModel
?
.
profession
{
if
profession
.
option
>
0
{
if
profession
.
option
>
0
{
let
target
=
String
(
profession
.
option
)
let
target
=
String
(
profession
.
option
)
for
(
_
,
item
)
in
YH
OtherInfoFillViewModel
.
arrSkill
.
enumerated
()
{
for
(
_
,
item
)
in
YH
ConstantArrayData
.
arrSkill
.
enumerated
()
{
if
target
==
item
[
"value"
]
{
if
target
==
item
[
"value"
]
{
profession
.
optionDes
=
item
[
"title"
]
??
"--"
profession
.
optionDes
=
item
[
"title"
]
??
"--"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience(工作经验)/V/YHWorkExperienceItemView.swift
View file @
d0c11740
...
@@ -225,14 +225,14 @@ class YHWorkExperienceItemView: UIView {
...
@@ -225,14 +225,14 @@ class YHWorkExperienceItemView: UIView {
case
.
certificate
:
case
.
certificate
:
break
break
case
.
structure
:
case
.
structure
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrStructure
let
arr
=
YH
ConstantArrayData
.
arrStructure
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
messageTextField
.
text
=
item
[
"title"
]
}
}
}
}
case
.
level
:
case
.
level
:
let
arr
=
YH
OtherInfoFillViewModel
.
arrLevel
let
arr
=
YH
ConstantArrayData
.
arrLevel
arr
.
forEach
{
item
in
arr
.
forEach
{
item
in
if
item
[
"id"
]
==
dataSource
.
message
{
if
item
[
"id"
]
==
dataSource
.
message
{
messageTextField
.
text
=
item
[
"title"
]
messageTextField
.
text
=
item
[
"title"
]
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHConstantArrayData.swift
0 → 100644
View file @
d0c11740
//
// YHConstantArrayData.swift
// galaxy
//
// Created by davidhuangA on 2024/3/7.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHConstantArrayData
{
static
let
arrLanguage
:
[[
String
:
String
]]
=
[
[
"id"
:
"1"
,
"title"
:
"中文及英文"
,
"dec"
:
"国外大学(英语国家)毕业,英文授课,获得学位证。(如为中外联合办学,在中国上课的,不算)"
,
],
[
"id"
:
"2"
,
"title"
:
"中文及英文"
,
"dec"
:
" 有近两年的雅思或托福成绩单(雅思考试G类或A类总分达6分;托福笔试达550分,计算机达213分,网考达80分)"
,
],
[
"id"
:
"4"
,
"title"
:
"中文及另一种外语"
,
"dec"
:
"非英文的外语,如:法文、日文等(需提供相关证书)"
,
],
[
"id"
:
"5"
,
"title"
:
"仅中文"
,
"dec"
:
""
,
],
[
"id"
:
"6"
,
"title"
:
"仅英文"
,
"dec"
:
""
,
],
]
static
let
arrSkill
:
[[
String
:
String
]]
=
[
[
"title"
:
"学术研究及教育"
,
"dec"
:
"幼儿教育、高等教育、学术研究"
,
"val"
:
""
,
"value"
:
"1"
,
],
[
"title"
:
"建筑、测量、工程及建造"
,
"dec"
:
"园景设计、建筑、测量、土木/电机/机器/机构/环境工程"
,
"val"
:
""
,
"value"
:
"2"
,
],
[
"title"
:
"艺术及文化"
,
"dec"
:
"表演艺术、美术、博物馆、图书馆、摄影"
,
"val"
:
""
,
"value"
:
"3"
,
],
[
"title"
:
"广播及娱乐"
,
"dec"
:
"广播及节目制作、电影、录像及电视制作、唱片及音乐出版"
,
"val"
:
""
,
"value"
:
"4"
,
],
[
"title"
:
"业务支援及人力资源"
,
"dec"
:
"业务咨询顾问、公司秘书、行政支援、人事管理、招聘服务、公关关系服务、广告、信息服务"
,
"val"
:
""
,
"value"
:
"5"
,
],
[
"title"
:
"餐饮服务及旅游"
,
"dec"
:
"酒吧、餐厅、酒店、旅行代理"
,
"val"
:
""
,
"value"
:
"6"
,
],
[
"title"
:
"商业及贸易"
,
"dec"
:
"进出口、零售、批发"
,
"val"
:
""
,
"value"
:
"7"
,
],
[
"title"
:
"金融及会计服务"
,
"dec"
:
"会计、银行、保险、证券、投资银行"
,
"val"
:
""
,
"value"
:
"8"
,
],
[
"title"
:
"医疗保健及兽医服务"
,
"dec"
:
"西医药、中医药、牙科服务、医学科技、职业治疗、护理、兽医服务"
,
"val"
:
""
,
"value"
:
"9"
,
],
[
"title"
:
"资讯科技及电讯"
,
"dec"
:
"资讯科技顾问、固网及无线通信"
,
"val"
:
""
,
"value"
:
"10"
,
],
[
"title"
:
"法律服务"
,
"dec"
:
"法律事务"
,
"val"
:
""
,
"value"
:
"11"
,
],
[
"title"
:
"物流运输"
,
"dec"
:
"物流、空运、海运、陆运"
,
"val"
:
""
,
"value"
:
"12"
,
],
[
"title"
:
"工业制造"
,
"dec"
:
"电机、电子、食物及饮料、化工、金属、玩具、纺织、钟表、珠宝、印刷及出版"
,
"val"
:
""
,
"value"
:
"13"
,
],
[
"title"
:
"体育运动"
,
"dec"
:
"体育运动"
,
"val"
:
""
,
"value"
:
"14"
,
],
[
"title"
:
"其他"
,
"example"
:
""
,
"val"
:
""
,
"value"
:
"15"
,
"dec"
:
""
],
]
static
let
arrNature
:
[[
String
:
String
]]
=
[
[
"title"
:
"有限责任公司"
,
"id"
:
"有限责任公司"
],
[
"title"
:
"股份有限公司"
,
"id"
:
"股份有限公司"
],
[
"title"
:
"跨国有限责任公司"
,
"id"
:
"跨国有限责任公司"
],
[
"title"
:
"跨国股份有限公司"
,
"id"
:
"跨国股份有限公司"
],
[
"title"
:
"上市公司"
,
"id"
:
"上市公司"
],
[
"title"
:
"上市跨国公司"
,
"id"
:
"上市跨国公司"
],
[
"title"
:
"教育机构"
,
"id"
:
"教育机构"
],
[
"title"
:
"半公营企业"
,
"id"
:
"半公营企业"
],
[
"title"
:
"政府机构"
,
"id"
:
"政府机构"
],
[
"title"
:
"跨国合伙企业"
,
"id"
:
"跨国合伙企业"
],
[
"title"
:
"跨国个人独资企业"
,
"id"
:
"跨国个人独资企业"
],
[
"title"
:
"个人独资企业"
,
"id"
:
"个人独资企业"
],
[
"title"
:
"国家/政府间组织"
,
"id"
:
"国家/政府间组织"
],
[
"title"
:
"志愿/慈善/宗教团体"
,
"id"
:
"志愿/慈善/宗教团体"
],
[
"title"
:
"其他(请备注)"
,
"id"
:
"其他(请备注)"
]
]
static
let
arrCertificate
:
[[
String
:
String
]]
=
[
[
"id"
:
"盖章并签字的推荐信 (证明效果最强)"
,
"title"
:
"盖章并签字的推荐信 (证明效果最强)"
],
[
"id"
:
"签字的推荐信+盖章的工作证明"
,
"title"
:
"签字的推荐信+盖章的工作证明"
],
[
"id"
:
"仅有签字的推荐信"
,
"title"
:
"仅有签字的推荐信"
],
[
"id"
:
"仅有社保记录/劳动合同/工牌等"
,
"title"
:
"仅有社保记录/劳动合同/工牌等"
],
[
"id"
:
"仅提供声明书解释"
,
"title"
:
"仅提供声明书解释"
],
[
"id"
:
"仅有工作证明"
,
"title"
:
"仅有工作证明"
]
]
static
let
arrStructure
:
[[
String
:
String
]]
=
[
[
"title"
:
"组织架构最顶级"
,
"id"
:
"1"
],
[
"title"
:
"组织架构第二层级"
,
"id"
:
"2"
],
[
"title"
:
"组织架构第三层级"
,
"id"
:
"3"
],
[
"title"
:
"组织架构第四层级"
,
"id"
:
"4"
],
[
"title"
:
"以上都不是"
,
"id"
:
"5"
]
]
static
let
arrLevel
:
[[
String
:
String
]]
=
[
[
"title"
:
"高级经理人"
,
"id"
:
"1"
],
[
"title"
:
"中级经理人"
,
"id"
:
"2"
],
[
"title"
:
"初级经理人"
,
"id"
:
"3"
],
[
"title"
:
"专业人士"
,
"id"
:
"4"
],
[
"title"
:
"半专业人士"
,
"id"
:
"5"
],
[
"title"
:
"其他"
,
"id"
:
"6"
]
]
static
let
arrProve
:
[[
String
:
String
]]
=
[
[
"title"
:
"盖章且签字的组织架构图和审计报告"
,
"id"
:
"盖章且签字的组织架构图和审计报告"
]
]
static
let
arrIdType
:
[[
String
:
String
]]
=
[
[
"title"
:
"护照"
,
"id"
:
"3"
],
[
"title"
:
"外交护照"
,
"id"
:
"4"
],
[
"title"
:
"公务护照"
,
"id"
:
"5"
],
[
"title"
:
"中国发无国籍旅游证件"
,
"id"
:
"6"
],
[
"title"
:
"旅游通行证"
,
"id"
:
"7"
],
[
"title"
:
"联合国通行证"
,
"id"
:
"8"
],
[
"title"
:
"其他无国籍旅行证件"
,
"id"
:
"9"
],
[
"title"
:
"其他"
,
"id"
:
"10"
]
]
static
let
arrSex
:
[[
String
:
String
]]
=
[
[
"title"
:
"男"
,
"id"
:
"1"
],
[
"title"
:
"女"
,
"id"
:
"2"
]
]
static
let
arrMarry
:
[[
String
:
String
]]
=
[
[
"title"
:
"已婚"
,
"id"
:
"1"
],
[
"title"
:
"未婚"
,
"id"
:
"2"
],
[
"title"
:
"离婚"
,
"id"
:
"3"
],
[
"title"
:
"分居"
,
"id"
:
"4"
],
[
"title"
:
"丧偶"
,
"id"
:
"5"
]
]
}
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