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
cc4b6479
Commit
cc4b6479
authored
Nov 14, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主申请人逻辑修改
parent
bd7f937e
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
69 deletions
+1
-69
YHMainApplicantInformationViewModel.swift
...tion(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
+1
-11
YHWorkExperienceViewController.swift
...rkExperience(工作经验)/C/YHWorkExperienceViewController.swift
+0
-0
YHWorkExperienceDetailModel.swift
...kExperience(工作经验)/Model/YHWorkExperienceDetailModel.swift
+0
-1
YHWorkHighlightsTableViewCell.swift
...orkExperience(工作经验)/V/YHWorkHighlightsTableViewCell.swift
+0
-48
YHWorkExperienceViewModel.swift
...xperience(工作经验)/ViewModel/YHWorkExperienceViewModel.swift
+0
-9
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/VM/YHMainApplicantInformationViewModel.swift
View file @
cc4b6479
...
@@ -127,17 +127,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -127,17 +127,7 @@ class YHMainApplicantInformationViewModel: YHBaseViewModel {
let
item2
=
YHItemModel
(
id
:
.
id23
,
isNeed
:
false
,
title
:
"婚前姓氏"
,
isUserKeyBoard
:
true
,
prompts
:
"如有则填写,仅支持输入字母"
,
message
:
mainModel
.
surname
,
isShowPrompts
:
isShowPrompt
)
let
item2
=
YHItemModel
(
id
:
.
id23
,
isNeed
:
false
,
title
:
"婚前姓氏"
,
isUserKeyBoard
:
true
,
prompts
:
"如有则填写,仅支持输入字母"
,
message
:
mainModel
.
surname
,
isShowPrompts
:
isShowPrompt
)
let
item3
=
YHItemModel
(
id
:
.
id24
,
isNeed
:
true
,
title
:
"出生日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
mainModel
.
birthday
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择出生日期"
)
let
item3
=
YHItemModel
(
id
:
.
id24
,
isNeed
:
true
,
title
:
"出生日期"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
mainModel
.
birthday
,
type
:
.
time
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择出生日期"
)
let
item4
=
YHItemModel
(
id
:
.
id25
,
isNeed
:
true
,
title
:
"出生国家/地区"
,
isUserKeyBoard
:
false
,
prompts
:
nil
,
message
:
"
\(
mainModel
.
birth_place_aboard
)
"
,
leftButtonString
:
"国内"
,
rightButtonString
:
"国外"
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择出生国家/地区"
)
let
item4
=
YHItemModel
(
id
:
.
id25
,
isNeed
:
true
,
title
:
"出生国家/地区"
,
isUserKeyBoard
:
false
,
prompts
:
nil
,
message
:
"
\(
mainModel
.
birth_place_aboard
)
"
,
leftButtonString
:
"国内"
,
rightButtonString
:
"国外"
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择出生国家/地区"
)
var
string
=
""
let
item5
=
YHItemModel
(
id
:
.
id26
,
isNeed
:
true
,
title
:
"出生城市"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
birth_place
.
details
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入出生城市;"
)
let
array
=
mainModel
.
birth_place
.
area
for
item
in
array
{
if
string
.
count
!=
0
{
string
=
string
+
"/"
+
item
}
else
{
string
=
string
+
item
}
}
let
item5
=
YHItemModel
(
id
:
.
id26
,
isNeed
:
true
,
title
:
"出生城市"
,
isUserKeyBoard
:
false
,
prompts
:
"请输入"
,
message
:
string
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入出生城市;"
)
let
item55
=
YHItemModel
(
id
:
.
id34
,
isNeed
:
true
,
title
:
"出生城市"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
birth_place
.
foreign
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入出生城市"
)
let
item55
=
YHItemModel
(
id
:
.
id34
,
isNeed
:
true
,
title
:
"出生城市"
,
isUserKeyBoard
:
true
,
prompts
:
"请输入"
,
message
:
mainModel
.
birth_place
.
foreign
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请输入出生城市"
)
let
item6
=
YHItemModel
(
id
:
.
id27
,
isNeed
:
true
,
title
:
"性别"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
\(
mainModel
.
sex
)
"
,
type
:
.
sex
,
alertMessage
:
"请选择性别"
)
let
item6
=
YHItemModel
(
id
:
.
id27
,
isNeed
:
true
,
title
:
"性别"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
\(
mainModel
.
sex
)
"
,
type
:
.
sex
,
alertMessage
:
"请选择性别"
)
let
item7
=
YHItemModel
(
id
:
.
id28
,
isNeed
:
true
,
title
:
"婚姻状况"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
\(
mainModel
.
married
)
"
,
type
:
.
marry
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择婚姻状况"
)
let
item7
=
YHItemModel
(
id
:
.
id28
,
isNeed
:
true
,
title
:
"婚姻状况"
,
isUserKeyBoard
:
false
,
prompts
:
"请选择"
,
message
:
"
\(
mainModel
.
married
)
"
,
type
:
.
marry
,
isShowPrompts
:
isShowPrompt
,
alertMessage
:
"请选择婚姻状况"
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperienceViewController.swift
View file @
cc4b6479
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/Model/YHWorkExperienceDetailModel.swift
View file @
cc4b6479
...
@@ -56,7 +56,6 @@ class YHWorkExperienceDetailModel: SmartCodable {
...
@@ -56,7 +56,6 @@ class YHWorkExperienceDetailModel: SmartCodable {
var
company_website
:
String
=
""
var
company_website
:
String
=
""
var
company_introduce
:
String
=
""
var
company_introduce
:
String
=
""
var
business_remark
:
String
=
""
var
business_remark
:
String
=
""
var
is_project_introduction
:
Int
=
0
var
customer_center_id
:
Int
=
0
var
customer_center_id
:
Int
=
0
var
projects
:
[
String
]
=
[]
var
projects
:
[
String
]
=
[]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkHighlightsTableViewCell.swift
View file @
cc4b6479
...
@@ -11,19 +11,15 @@ import UIKit
...
@@ -11,19 +11,15 @@ import UIKit
class
YHWorkHighlightsTableViewCell
:
UITableViewCell
{
class
YHWorkHighlightsTableViewCell
:
UITableViewCell
{
typealias
ExampleBlock
=
()
->
()
typealias
ExampleBlock
=
()
->
()
typealias
MessageBlock
=
(
_
message
:
String
)
->
()
typealias
MessageBlock
=
(
_
message
:
String
)
->
()
typealias
SwitchBlock
=
(
_
isOn
:
Bool
)
->
()
var
exampleBlock
:
ExampleBlock
?
var
exampleBlock
:
ExampleBlock
?
var
photoBlock
:
ExampleBlock
?
var
photoBlock
:
ExampleBlock
?
var
messageBlock
:
MessageBlock
?
var
messageBlock
:
MessageBlock
?
var
switchBlock
:
SwitchBlock
?
var
centerView
:
UIView
!
var
centerView
:
UIView
!
var
titleLabel
:
UILabel
!
var
titleLabel
:
UILabel
!
var
subTitleLabel
:
UILabel
!
var
subTitleLabel
:
UILabel
!
var
lineView
:
UIView
!
var
lineView
:
UIView
!
var
messageTextField
:
UITextView
!
var
messageTextField
:
UITextView
!
var
promptsLabel
:
UILabel
!
var
promptsLabel
:
UILabel
!
var
detailLabel
:
UILabel
!
var
detailSwitch
:
UISwitch
!
var
bottomView
:
YHWorkActionView
!
var
bottomView
:
YHWorkActionView
!
var
dataSource
:
String
?{
var
dataSource
:
String
?{
didSet
{
didSet
{
...
@@ -143,35 +139,6 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -143,35 +139,6 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
make
.
top
.
equalTo
(
116
)
make
.
top
.
equalTo
(
116
)
}
}
detailLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"项目详细介绍"
label
.
textColor
=
UIColor
.
mainTextColor
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
return
label
}()
centerView
.
addSubview
(
detailLabel
)
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
bottom
.
equalTo
(
-
62
)
make
.
height
.
equalTo
(
20
)
make
.
width
.
equalTo
(
100
)
}
detailSwitch
=
{
let
switchView
=
UISwitch
()
switchView
.
onTintColor
=
UIColor
.
brandMainColor
switchView
.
addTarget
(
self
,
action
:
#selector(
switchViewChange
)
,
for
:
.
valueChanged
)
return
switchView
}()
centerView
.
addSubview
(
detailSwitch
)
detailSwitch
.
snp
.
makeConstraints
{
make
in
make
.
right
.
equalTo
(
-
18
)
make
.
centerY
.
equalTo
(
detailLabel
.
snp
.
centerY
)
make
.
height
.
equalTo
(
24
)
make
.
width
.
equalTo
(
45
)
}
bottomView
=
{
bottomView
=
{
let
view
=
YHWorkActionView
()
let
view
=
YHWorkActionView
()
view
.
exampleBlock
=
{[
weak
self
]
in
view
.
exampleBlock
=
{[
weak
self
]
in
...
@@ -193,7 +160,6 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -193,7 +160,6 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
height
.
equalTo
(
44
)
make
.
height
.
equalTo
(
44
)
}
}
detailSwitch
.
transform
=
CGAffineTransform
(
scaleX
:
0.77
,
y
:
0.77
)
}
}
...
@@ -205,20 +171,6 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -205,20 +171,6 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
promptsLabel
.
isHidden
=
false
promptsLabel
.
isHidden
=
false
}
}
}
}
@objc
func
switchViewChange
()
{
if
let
block
=
switchBlock
{
block
(
detailSwitch
.
isOn
)
}
}
func
setSwitchState
(
_
isOn
:
Int
)
{
if
isOn
==
1
{
detailSwitch
.
isOn
=
true
}
else
{
detailSwitch
.
isOn
=
false
}
}
}
}
extension
YHWorkHighlightsTableViewCell
:
UITextViewDelegate
{
extension
YHWorkHighlightsTableViewCell
:
UITextViewDelegate
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/ViewModel/YHWorkExperienceViewModel.swift
View file @
cc4b6479
...
@@ -195,14 +195,6 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
...
@@ -195,14 +195,6 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
mainModel
.
highlights
=
value
mainModel
.
highlights
=
value
}
}
func
updateIsProjectIntroduction
(
isOn
:
Bool
)
{
if
isOn
{
mainModel
.
is_project_introduction
=
1
}
else
{
mainModel
.
is_project_introduction
=
0
}
}
func
updateNotNeedUploadFile
(
value
:
Int
)
{
func
updateNotNeedUploadFile
(
value
:
Int
)
{
mainModel
.
not_need_upload_file
=
value
mainModel
.
not_need_upload_file
=
value
}
}
...
@@ -297,7 +289,6 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
...
@@ -297,7 +289,6 @@ class YHWorkExperienceViewModel: YHBaseViewModel {
"international_work_experience"
:
mainModel
.
international_work_experience
,
"international_work_experience"
:
mainModel
.
international_work_experience
,
"is_executives"
:
mainModel
.
is_executives
,
"is_executives"
:
mainModel
.
is_executives
,
"is_famous_enterprise"
:
mainModel
.
is_famous_enterprise
,
"is_famous_enterprise"
:
mainModel
.
is_famous_enterprise
,
"is_project_introduction"
:
mainModel
.
is_project_introduction
,
"is_show"
:
mainModel
.
is_show
,
"is_show"
:
mainModel
.
is_show
,
"is_synthetic"
:
mainModel
.
is_synthetic
,
"is_synthetic"
:
mainModel
.
is_synthetic
,
"location"
:
location
,
"location"
:
location
,
...
...
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