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
280a718c
Commit
280a718c
authored
Dec 28, 2024
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
高才个人信息预览工作经验以及收入记录
parent
850f8c3e
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
211 additions
and
24 deletions
+211
-24
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+12
-0
YHIncomeRecordCompanyTipsCell.swift
.../IncomeRecord(收入记录)/V/YHIncomeRecordCompanyTipsCell.swift
+17
-1
YHWorkExpInfoPreviewModel.swift
.../PersonInfoList(个人信息预览)/M/YHWorkExpInfoPreviewModel.swift
+22
-1
YHPreviewViewModel.swift
...的信息流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+1
-1
YHGCIncomeRecordViewController.swift
...IncomeRecord(收入记录)/C/YHGCIncomeRecordViewController.swift
+8
-3
YHGCIncomeRecordWorkExperienceViewController.swift
...入记录)/C/YHGCIncomeRecordWorkExperienceViewController.swift
+0
-2
YHGCPreviewControllerHoldViewController.swift
...t(个人信息预览)/C/YHGCPreviewControllerHoldViewController.swift
+9
-15
YHGCPreviewIncomeRecordViewController.swift
...ist(个人信息预览)/C/YHGCPreviewIncomeRecordViewController.swift
+0
-0
YHGCPreviewIncomeTypeCell.swift
.../PersonInfoList(个人信息预览)/V/YHGCPreviewIncomeTypeCell.swift
+117
-0
YHGCPreviewViewModel.swift
...息流程)/PersonInfoList(个人信息预览)/VM/YHGCPreviewViewModel.swift
+25
-1
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
280a718c
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
04307BA12D1D4B9500ED8E8D
/* YHGCIncomeTypeSelectModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA02D1D4B9500ED8E8D
/* YHGCIncomeTypeSelectModel.swift */
;
};
04307BA12D1D4B9500ED8E8D
/* YHGCIncomeTypeSelectModel.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA02D1D4B9500ED8E8D
/* YHGCIncomeTypeSelectModel.swift */
;
};
04307BA32D1E4CA600ED8E8D
/* YHGCInformationFillTipsCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA22D1E4CA600ED8E8D
/* YHGCInformationFillTipsCell.swift */
;
};
04307BA32D1E4CA600ED8E8D
/* YHGCInformationFillTipsCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA22D1E4CA600ED8E8D
/* YHGCInformationFillTipsCell.swift */
;
};
04307BA52D1E54BD00ED8E8D
/* YHGCInformationFillTipsAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA42D1E54BD00ED8E8D
/* YHGCInformationFillTipsAlertView.swift */
;
};
04307BA52D1E54BD00ED8E8D
/* YHGCInformationFillTipsAlertView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA42D1E54BD00ED8E8D
/* YHGCInformationFillTipsAlertView.swift */
;
};
04307BA82D1FDF5200ED8E8D
/* YHGCPreviewIncomeTypeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04307BA72D1FDF5200ED8E8D
/* YHGCPreviewIncomeTypeCell.swift */
;
};
045C0F7F2D12CA5F00BD2DC0
/* submit_page_scroll.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045C0F4F2D12CA5E00BD2DC0
/* submit_page_scroll.gif */
;
};
045C0F7F2D12CA5F00BD2DC0
/* submit_page_scroll.gif in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045C0F4F2D12CA5E00BD2DC0
/* submit_page_scroll.gif */
;
};
045C0F802D12CA5F00BD2DC0
/* Localizable.xcstrings in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045C0F762D12CA5E00BD2DC0
/* Localizable.xcstrings */
;
};
045C0F802D12CA5F00BD2DC0
/* Localizable.xcstrings in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045C0F762D12CA5E00BD2DC0
/* Localizable.xcstrings */
;
};
045C0F812D12CA5F00BD2DC0
/* img_0.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045C0F5E2D12CA5E00BD2DC0
/* img_0.png */
;
};
045C0F812D12CA5F00BD2DC0
/* img_0.png in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
045C0F5E2D12CA5E00BD2DC0
/* img_0.png */
;
};
...
@@ -1264,6 +1265,7 @@
...
@@ -1264,6 +1265,7 @@
04307BA02D1D4B9500ED8E8D
/* YHGCIncomeTypeSelectModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCIncomeTypeSelectModel.swift
;
sourceTree
=
"<group>"
;
};
04307BA02D1D4B9500ED8E8D
/* YHGCIncomeTypeSelectModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCIncomeTypeSelectModel.swift
;
sourceTree
=
"<group>"
;
};
04307BA22D1E4CA600ED8E8D
/* YHGCInformationFillTipsCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCInformationFillTipsCell.swift
;
sourceTree
=
"<group>"
;
};
04307BA22D1E4CA600ED8E8D
/* YHGCInformationFillTipsCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCInformationFillTipsCell.swift
;
sourceTree
=
"<group>"
;
};
04307BA42D1E54BD00ED8E8D
/* YHGCInformationFillTipsAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCInformationFillTipsAlertView.swift
;
sourceTree
=
"<group>"
;
};
04307BA42D1E54BD00ED8E8D
/* YHGCInformationFillTipsAlertView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCInformationFillTipsAlertView.swift
;
sourceTree
=
"<group>"
;
};
04307BA72D1FDF5200ED8E8D
/* YHGCPreviewIncomeTypeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCPreviewIncomeTypeCell.swift
;
sourceTree
=
"<group>"
;
};
045C09A12D12C2A800BD2DC0
/* YHGCMineSchemeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCMineSchemeViewController.swift
;
sourceTree
=
"<group>"
;
};
045C09A12D12C2A800BD2DC0
/* YHGCMineSchemeViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHGCMineSchemeViewController.swift
;
sourceTree
=
"<group>"
;
};
045C0A142D12CA5E00BD2DC0
/* YHBaseViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewController.swift
;
sourceTree
=
"<group>"
;
};
045C0A142D12CA5E00BD2DC0
/* YHBaseViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewController.swift
;
sourceTree
=
"<group>"
;
};
045C0A152D12CA5E00BD2DC0
/* YHBaseViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewModel.swift
;
sourceTree
=
"<group>"
;
};
045C0A152D12CA5E00BD2DC0
/* YHBaseViewModel.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHBaseViewModel.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2588,6 +2590,7 @@
...
@@ -2588,6 +2590,7 @@
04307B7C2D1AB2B000ED8E8D
/* PersonInfoList(个人信息预览) */
=
{
04307B7C2D1AB2B000ED8E8D
/* PersonInfoList(个人信息预览) */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
04307BA62D1FDF2C00ED8E8D
/* V */
,
04AE20612D1ADA4700891D24
/* VM */
,
04AE20612D1ADA4700891D24
/* VM */
,
04307B7D2D1AB2B900ED8E8D
/* C */
,
04307B7D2D1AB2B900ED8E8D
/* C */
,
);
);
...
@@ -2629,6 +2632,14 @@
...
@@ -2629,6 +2632,14 @@
path
=
M
;
path
=
M
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
04307BA62D1FDF2C00ED8E8D
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
04307BA72D1FDF5200ED8E8D
/* YHGCPreviewIncomeTypeCell.swift */
,
);
path
=
V
;
sourceTree
=
"<group>"
;
};
045C0A182D12CA5E00BD2DC0
/* C */
=
{
045C0A182D12CA5E00BD2DC0
/* C */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -7455,6 +7466,7 @@
...
@@ -7455,6 +7466,7 @@
045C122A2D12CA5F00BD2DC0
/* YHInformationAuthorizeViewModel.swift in Sources */
,
045C122A2D12CA5F00BD2DC0
/* YHInformationAuthorizeViewModel.swift in Sources */
,
045C122B2D12CA5F00BD2DC0
/* YHEditWorkViewController.swift in Sources */
,
045C122B2D12CA5F00BD2DC0
/* YHEditWorkViewController.swift in Sources */
,
045C122C2D12CA5F00BD2DC0
/* YHFamilyInfoUpdateViewController.swift in Sources */
,
045C122C2D12CA5F00BD2DC0
/* YHFamilyInfoUpdateViewController.swift in Sources */
,
04307BA82D1FDF5200ED8E8D
/* YHGCPreviewIncomeTypeCell.swift in Sources */
,
045C122D2D12CA5F00BD2DC0
/* YHVisaRenewalTipsCell.swift in Sources */
,
045C122D2D12CA5F00BD2DC0
/* YHVisaRenewalTipsCell.swift in Sources */
,
04307B8A2D1AB66100ED8E8D
/* YHGCPreviewBasiceInformationViewController.swift in Sources */
,
04307B8A2D1AB66100ED8E8D
/* YHGCPreviewBasiceInformationViewController.swift in Sources */
,
04307B8C2D1AB66100ED8E8D
/* YHGCPreviewControllerHoldViewController.swift in Sources */
,
04307B8C2D1AB66100ED8E8D
/* YHGCPreviewControllerHoldViewController.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/IncomeRecord(收入记录)/V/YHIncomeRecordCompanyTipsCell.swift
View file @
280a718c
...
@@ -34,8 +34,24 @@ class YHIncomeRecordCompanyTipsCell: YHResignDocumentCell {
...
@@ -34,8 +34,24 @@ class YHIncomeRecordCompanyTipsCell: YHResignDocumentCell {
infoDetailLabel
.
text
=
detail
infoDetailLabel
.
text
=
detail
}
}
func
setupCellInfo
(
tipsDetail
:
ASAttributedString
)
{
func
setupCellInfo
(
tipsDetail
:
ASAttributedString
,
cellType
:
YHResignRoundCellType
=
.
mid
)
{
infoDetailLabel
.
attributed
.
text
=
tipsDetail
infoDetailLabel
.
attributed
.
text
=
tipsDetail
updateCellCorner
(
cellType
)
if
cellType
==
.
bottom
||
cellType
==
.
single
{
infoDetailLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
top
.
equalToSuperview
()
.
offset
(
16
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16
)
make
.
right
.
lessThanOrEqualToSuperview
()
.
offset
(
-
18
)
}
}
else
{
infoDetailLabel
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
top
.
equalToSuperview
()
.
offset
(
16
)
make
.
bottom
.
equalToSuperview
()
make
.
right
.
lessThanOrEqualToSuperview
()
.
offset
(
-
18
)
}
}
}
}
private
func
setupUI
()
{
private
func
setupUI
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/M/YHWorkExpInfoPreviewModel.swift
View file @
280a718c
...
@@ -69,6 +69,14 @@ class YHWorkExpPosition_NewModel : SmartCodable {
...
@@ -69,6 +69,14 @@ class YHWorkExpPosition_NewModel : SmartCodable {
class
YHWorkExpInfoPreviewModel
:
SmartCodable
{
class
YHWorkExpInfoPreviewModel
:
SmartCodable
{
var
list
:
[
WorkExpInfoPreviewDetailModel
]?
var
list
:
[
WorkExpInfoPreviewDetailModel
]?
var
count
:
Int
=
0
var
count
:
Int
=
0
var
has_company_consent
:
Int
=
0
//高才使用 在职公司是否可以提供赴港同意书 0 未知 1 是 2 否
var
consent_work_id
:
Int
=
0
//高才使用 可以提供赴港同意书的工作经历id
var
has_center_consent
:
Int
=
0
//高才使用 人才中心是否可以提供赴港同意书 0 未知 1 是 2 否
var
why_work_time_overlap
:
String
=
""
//高才使用 关于工作时间重叠的说明
var
has_work_experience
:
Int
=
0
//高BC使用 是否有工作经历 0.未知 1.是 2.否
// 高才使用 是否有工作时间重叠期 0-否 1-是
var
has_work_time_overlap
:
Int
=
0
required
init
()
{
required
init
()
{
}
}
}
}
...
@@ -117,7 +125,7 @@ class WorkExpInfoPreviewDetailModel: SmartCodable {
...
@@ -117,7 +125,7 @@ class WorkExpInfoPreviewDetailModel: SmartCodable {
var
create_from_appid
:
Int
=
0
var
create_from_appid
:
Int
=
0
var
update_from_appid
:
Int
=
0
var
update_from_appid
:
Int
=
0
var
international_work_experience
:
Int
=
0
var
international_work_experience
:
Int
=
0
var
turnover
:
Int
=
0
//
var turnover: Int = 0
var
business_nature
:
String
=
""
var
business_nature
:
String
=
""
var
company_website
:
String
=
""
var
company_website
:
String
=
""
var
company_introduce
:
String
=
""
var
company_introduce
:
String
=
""
...
@@ -125,6 +133,19 @@ class WorkExpInfoPreviewDetailModel: SmartCodable {
...
@@ -125,6 +133,19 @@ class WorkExpInfoPreviewDetailModel: SmartCodable {
var
is_project_introduction
:
Int
=
0
var
is_project_introduction
:
Int
=
0
var
customer_center_id
:
Int
=
0
var
customer_center_id
:
Int
=
0
var
projects
:
[
ProjectPreviewModel
]?
var
projects
:
[
ProjectPreviewModel
]?
/// 公司近一年的营业额 对于高A,仅当收入类型包含 6/7/8/10 时,该字段才有效
var
turnover
:
String
=
"0"
/// 高A使用 收入类型 1 工资薪金所得及全年一次性奖金; 2 上市公司股票期权或股权收入; 3 持股公司分红收入; 4 个体工商户/合伙企业/独资企业经营所得收入; 5
/// 股权转让收入; 6 内地公司收入(持股50%及以上); 7 香港公司收入(持股50%及以上); 8 其他境外公司收入(持股50%及以上); 10 澳门公司收入(持股50%及以上)
var
type_of_income
:
[
Int
]
=
[]
/// 高A使用 收入金额
var
income
:
String
=
"0"
/// 高才使用 是否能提供工作证明 0 未知 1 是 2 否
var
has_work_certificate
:
Int
=
0
/// 高才使用 职业界别
var
company_type
:
String
=
""
/// 高才使用 其他职业界别
var
company_type_other
:
String
=
""
required
init
()
{
required
init
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
280a718c
...
@@ -422,7 +422,7 @@ private extension YHPreviewViewModel {
...
@@ -422,7 +422,7 @@ private extension YHPreviewViewModel {
let
tmp14
=
YHPreviewQuestionAndAnswerModel
(
question
:
"下属管理人数:"
,
answer
:
String
(
model
.
company_manage_total
))
let
tmp14
=
YHPreviewQuestionAndAnswerModel
(
question
:
"下属管理人数:"
,
answer
:
String
(
model
.
company_manage_total
))
var
ttt
=
""
var
ttt
=
""
if
model
.
turnover
==
0
{
if
model
.
turnover
==
"0"
{
ttt
=
"0"
ttt
=
"0"
}
else
{
}
else
{
ttt
=
String
(
model
.
turnover
)
.
defaultStringIfEmpty
()
ttt
=
String
(
model
.
turnover
)
.
defaultStringIfEmpty
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/IncomeRecord(收入记录)/C/YHGCIncomeRecordViewController.swift
View file @
280a718c
...
@@ -405,6 +405,11 @@ extension YHGCIncomeRecordViewController: UITableViewDelegate, UITableViewDataSo
...
@@ -405,6 +405,11 @@ extension YHGCIncomeRecordViewController: UITableViewDelegate, UITableViewDataSo
let
selectedEmployment
=
employments
.
first
{
model
in
let
selectedEmployment
=
employments
.
first
{
model
in
model
.
id
==
selectedId
model
.
id
==
selectedId
}
}
// if selectedEmployment == nil, employments.count == 1 {
// selectedEmployment = employments.first
// viewModel.mainModel.consent_work_id = selectedEmployment?.id ?? 0
// }
cell
.
setupCellInfo
(
detail
:
selectedEmployment
?
.
company_name
)
cell
.
setupCellInfo
(
detail
:
selectedEmployment
?
.
company_name
)
return
cell
return
cell
}
}
...
@@ -463,9 +468,9 @@ extension YHGCIncomeRecordViewController: UITableViewDelegate, UITableViewDataSo
...
@@ -463,9 +468,9 @@ extension YHGCIncomeRecordViewController: UITableViewDelegate, UITableViewDataSo
let
employments
=
viewModel
.
listModel
let
employments
=
viewModel
.
listModel
let
selectedId
=
viewModel
.
mainModel
.
consent_work_id
>
0
?
viewModel
.
mainModel
.
consent_work_id
:
nil
let
selectedId
=
viewModel
.
mainModel
.
consent_work_id
>
0
?
viewModel
.
mainModel
.
consent_work_id
:
nil
guard
employments
.
count
>
1
else
{
//
guard employments.count > 1 else {
return
//
return
}
//
}
let
companies
=
employments
.
compactMap
{
let
companies
=
employments
.
compactMap
{
$0
.
company_name
$0
.
company_name
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/IncomeRecord(收入记录)/C/YHGCIncomeRecordWorkExperienceViewController.swift
View file @
280a718c
...
@@ -88,8 +88,6 @@ class YHGCIncomeRecordWorkExperienceViewController: YHBaseViewController {
...
@@ -88,8 +88,6 @@ class YHGCIncomeRecordWorkExperienceViewController: YHBaseViewController {
view
.
register
(
YHIncomeInfoSelectCell
.
self
,
forCellReuseIdentifier
:
YHIncomeInfoSelectCell
.
cellReuseIdentifier
)
view
.
register
(
YHIncomeInfoSelectCell
.
self
,
forCellReuseIdentifier
:
YHIncomeInfoSelectCell
.
cellReuseIdentifier
)
view
.
register
(
YHIncomeInfoEditCell
.
self
,
forCellReuseIdentifier
:
YHIncomeInfoEditCell
.
cellReuseIdentifier
)
view
.
register
(
YHIncomeInfoEditCell
.
self
,
forCellReuseIdentifier
:
YHIncomeInfoEditCell
.
cellReuseIdentifier
)
view
.
register
(
YHInfoQuestionSelectionCell
.
self
,
forCellReuseIdentifier
:
YHInfoQuestionSelectionCell
.
cellReuseIdentifier
)
view
.
register
(
YHInfoQuestionSelectionCell
.
self
,
forCellReuseIdentifier
:
YHInfoQuestionSelectionCell
.
cellReuseIdentifier
)
view
.
register
(
YHIncomeUploadWorkIDCell
.
self
,
forCellReuseIdentifier
:
YHIncomeUploadWorkIDCell
.
cellReuseIdentifier
)
view
.
register
(
YHIncomeRecordCompanyTipsCell
.
self
,
forCellReuseIdentifier
:
YHIncomeRecordCompanyTipsCell
.
cellReuseIdentifier
)
view
.
keyboardDismissMode
=
.
onDrag
view
.
keyboardDismissMode
=
.
onDrag
return
view
return
view
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/C/YHGCPreviewControllerHoldViewController.swift
View file @
280a718c
...
@@ -29,7 +29,7 @@ class YHGCPreviewControllerHoldViewController: UIViewController {
...
@@ -29,7 +29,7 @@ class YHGCPreviewControllerHoldViewController: UIViewController {
lazy
var
arrItemTitles
:[
String
]
=
{
lazy
var
arrItemTitles
:[
String
]
=
{
if
productType
==
1
{
// 高才A
if
productType
==
1
{
// 高才A
return
[
"主申请人信息"
,
"家庭成员信息"
,
"
工作经验"
,
"收入记录
"
,
"基本资料"
]
return
[
"主申请人信息"
,
"家庭成员信息"
,
"
收入记录/工作经验
"
,
"基本资料"
]
}
}
return
[
"主申请人信息"
,
"家庭成员信息"
,
"学历/专业资格"
,
"工作经验"
,
"基本资料"
]
return
[
"主申请人信息"
,
"家庭成员信息"
,
"学历/专业资格"
,
"工作经验"
,
"基本资料"
]
}()
}()
...
@@ -69,16 +69,13 @@ class YHGCPreviewControllerHoldViewController: UIViewController {
...
@@ -69,16 +69,13 @@ class YHGCPreviewControllerHoldViewController: UIViewController {
//家庭成员信息
//家庭成员信息
let
vc2
=
YHGCPreviewFamilyMemberViewController
()
let
vc2
=
YHGCPreviewFamilyMemberViewController
()
arrItemVCs
.
append
(
vc2
)
arrItemVCs
.
append
(
vc2
)
//工作经验
// 收入记录/工作经验
let
vc3
=
YHGCPreviewWorkExpViewController
()
arrItemVCs
.
append
(
vc3
)
// 收入记录
let
orderID
=
UserDefaults
.
standard
.
value
(
forKey
:
"orderIdForPreview"
)
as?
Int
??
0
let
orderID
=
UserDefaults
.
standard
.
value
(
forKey
:
"orderIdForPreview"
)
as?
Int
??
0
let
vc
4
=
YHGCPreviewIncomeRecordViewController
(
orderId
:
orderID
)
let
vc
3
=
YHGCPreviewIncomeRecordViewController
(
orderId
:
orderID
,
pageType
:
.
pageA
)
arrItemVCs
.
append
(
vc
4
)
arrItemVCs
.
append
(
vc
3
)
//基本资料
//基本资料
let
vc
5
=
YHGCPreviewBasiceInformationViewController
()
let
vc
4
=
YHGCPreviewBasiceInformationViewController
()
arrItemVCs
.
append
(
vc
5
)
arrItemVCs
.
append
(
vc
4
)
}
else
{
// 高才BC
}
else
{
// 高才BC
...
@@ -91,13 +88,10 @@ class YHGCPreviewControllerHoldViewController: UIViewController {
...
@@ -91,13 +88,10 @@ class YHGCPreviewControllerHoldViewController: UIViewController {
//学历/专业资格
//学历/专业资格
let
vc3
=
YHGCPreviewAcademicAndProfessionalQualificationViewController
()
let
vc3
=
YHGCPreviewAcademicAndProfessionalQualificationViewController
()
arrItemVCs
.
append
(
vc3
)
arrItemVCs
.
append
(
vc3
)
//工作经验
// 工作经验
let
vc4
=
YHGCPreviewWorkExpViewController
()
let
orderID
=
UserDefaults
.
standard
.
value
(
forKey
:
"orderIdForPreview"
)
as?
Int
??
0
let
vc4
=
YHGCPreviewIncomeRecordViewController
(
orderId
:
orderID
,
pageType
:
.
pageBC
)
arrItemVCs
.
append
(
vc4
)
arrItemVCs
.
append
(
vc4
)
// // 收入记录
// let orderID = UserDefaults.standard.value(forKey: "orderIdForPreview") as? Int ?? 0
// let vc5 = YHGCPreviewIncomeRecordViewController(orderId: orderID)
// arrItemVCs.append(vc5)
//基本资料
//基本资料
let
vc5
=
YHGCPreviewBasiceInformationViewController
()
let
vc5
=
YHGCPreviewBasiceInformationViewController
()
arrItemVCs
.
append
(
vc5
)
arrItemVCs
.
append
(
vc5
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/C/YHGCPreviewIncomeRecordViewController.swift
View file @
280a718c
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/V/YHGCPreviewIncomeTypeCell.swift
0 → 100644
View file @
280a718c
//
// YHGCPreviewIncomeTypeCell.swift
// galaxy
//
// Created by alexzzw on 2024/12/28.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
class
YHGCPreviewIncomeTypeCell
:
YHResignDocumentCell
{
static
let
cellReuseIdentifier
=
"YHGCPreviewIncomeTypeCell"
private
var
lastDocuments
:
[
String
]
=
[]
private
lazy
var
infoTitleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
.
PFSC_R
(
ofSize
:
14
)
label
.
textColor
=
UIColor
(
hexString
:
"#8993A2"
)
return
label
}()
private
lazy
var
infoSubtitleLabel
:
UILabel
=
{
let
label
=
UILabel
(
text
:
"--"
)
label
.
isHidden
=
true
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
label
.
textAlignment
=
.
right
return
label
}()
private
lazy
var
containerView
:
YHBaseDynamicCornerRadiusView
=
{
let
view
=
YHBaseDynamicCornerRadiusView
(
cornerRadius
:
3
,
corner
:
.
allCorners
)
view
.
backgroundColor
=
.
contentBkgColor
return
view
}()
private
lazy
var
infoContentLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
.
PFSC_R
(
ofSize
:
12
)
label
.
textColor
=
UIColor
(
hexString
:
"#6D788A"
)
label
.
numberOfLines
=
0
label
.
lineBreakMode
=
.
byCharWrapping
return
label
}()
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
required
init
?(
coder
:
NSCoder
)
{
fatalError
(
"init(coder:) has not been implemented"
)
}
func
setupCellInfo
(
title
:
String
,
documents
:
[
String
],
subtitle
:
String
?
=
nil
,
cellType
:
YHResignRoundCellType
=
.
mid
)
{
infoTitleLabel
.
text
=
title
if
let
subtitle
=
subtitle
,
!
subtitle
.
isEmpty
{
infoSubtitleLabel
.
text
=
subtitle
infoSubtitleLabel
.
isHidden
=
false
}
else
{
infoSubtitleLabel
.
text
=
nil
infoSubtitleLabel
.
isHidden
=
false
}
let
content
=
documents
.
reduce
(
""
)
{
partialResult
,
item
in
partialResult
.
count
>
0
?
partialResult
+
"
\n
"
+
item
:
partialResult
+
item
}
infoContentLabel
.
text
=
content
updateCellCorner
(
cellType
)
if
cellType
==
.
bottom
||
cellType
==
.
single
{
containerView
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
infoTitleLabel
)
make
.
top
.
equalTo
(
infoTitleLabel
.
snp
.
bottom
)
.
offset
(
8
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
16
)
}
}
else
{
containerView
.
snp
.
remakeConstraints
{
make
in
make
.
left
.
equalTo
(
infoTitleLabel
)
make
.
top
.
equalTo
(
infoTitleLabel
.
snp
.
bottom
)
.
offset
(
8
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
8
)
}
}
}
private
func
setupUI
()
{
updateCellCorner
(
.
mid
)
subContainerView
.
addSubview
(
infoTitleLabel
)
subContainerView
.
addSubview
(
containerView
)
subContainerView
.
addSubview
(
infoSubtitleLabel
)
containerView
.
addSubview
(
infoContentLabel
)
infoTitleLabel
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
8
)
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
}
infoSubtitleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
greaterThanOrEqualTo
(
infoTitleLabel
.
snp
.
right
)
.
offset
(
10
)
make
.
centerY
.
equalTo
(
infoTitleLabel
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
}
containerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
infoTitleLabel
)
make
.
top
.
equalTo
(
infoTitleLabel
.
snp
.
bottom
)
.
offset
(
8
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
18
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
8
)
}
infoContentLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalToSuperview
()
.
offset
(
12
)
make
.
top
.
equalToSuperview
()
.
offset
(
10
)
make
.
right
.
equalToSuperview
()
.
offset
(
-
12
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
10
)
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/PersonInfoList(个人信息预览)/VM/YHGCPreviewViewModel.swift
View file @
280a718c
...
@@ -71,6 +71,30 @@ extension YHGCPreviewViewModel {
...
@@ -71,6 +71,30 @@ extension YHGCPreviewViewModel {
}
}
}
}
// 高才工作经验 预览
func
getPreviewForGCWorkExpInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Preview
.
previewWorkExpInfoApi
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{[
weak
self
]
json
,
code
in
guard
let
self
=
self
else
{
return
}
printLog
(
"model 是 ==>
\(
json
)
"
)
if
json
.
code
==
200
{
guard
let
dic
=
json
.
data
?
.
peel
as?
[
String
:
Any
],
let
resultModel
=
YHWorkExpInfoPreviewModel
.
deserialize
(
from
:
dic
)
else
{
let
error
=
YHErrorModel
(
errorCode
:
YHErrorCode
.
dictParseError
.
rawValue
,
errorMsg
:
YHErrorCode
.
dictParseError
.
description
())
callBackBlock
(
false
,
error
)
return
}
self
.
workExpInfoPreviewModel
=
resultModel
callBackBlock
(
true
,
nil
)
}
else
{
let
error
=
YHErrorModel
(
errorCode
:
Int32
(
json
.
code
),
errorMsg
:
json
.
msg
)
callBackBlock
(
false
,
error
)
}
}
failBlock
:
{
err
in
callBackBlock
(
false
,
err
)
}
}
//工作经验 预览
//工作经验 预览
func
getPreviewForWorkExpInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
func
getPreviewForWorkExpInfo
(
params
:[
String
:
Any
],
callBackBlock
:
@escaping
(
_
success
:
Bool
,
_
error
:
YHErrorModel
?)
->
())
{
...
@@ -416,7 +440,7 @@ private extension YHGCPreviewViewModel {
...
@@ -416,7 +440,7 @@ private extension YHGCPreviewViewModel {
let
tmp14
=
YHPreviewQuestionAndAnswerModel
(
question
:
"下属管理人数:"
,
answer
:
String
(
model
.
company_manage_total
))
let
tmp14
=
YHPreviewQuestionAndAnswerModel
(
question
:
"下属管理人数:"
,
answer
:
String
(
model
.
company_manage_total
))
var
ttt
=
""
var
ttt
=
""
if
model
.
turnover
==
0
{
if
model
.
turnover
==
"0"
{
ttt
=
"0"
ttt
=
"0"
}
else
{
}
else
{
ttt
=
String
(
model
.
turnover
)
.
defaultStringIfEmpty
()
ttt
=
String
(
model
.
turnover
)
.
defaultStringIfEmpty
()
...
...
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