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
b1700ef6
Commit
b1700ef6
authored
Jan 13, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
120部分需求开发
parent
1f1e85d1
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
70 additions
and
65 deletions
+70
-65
YHHomeKingKongBlockView.swift
.../Classes/Modules/Home(首页)/V/YHHomeKingKongBlockView.swift
+13
-0
YHServiceOrderAlertView.swift
.../Classes/Modules/Home(首页)/V/YHServiceOrderAlertView.swift
+6
-12
YHServiceCenterViewController.swift
...中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
+1
-1
YHServiceNoOrderView.swift
...ervice(服务中心)/OrderList(服务订单)/V/YHServiceNoOrderView.swift
+1
-1
YHWorkExperienceListViewController.swift
...perience(工作经验)/C/YHWorkExperienceListViewController.swift
+2
-6
YHWorkExperiencePositionViewViewController.swift
...(工作经验)/C/YHWorkExperiencePositionViewViewController.swift
+11
-15
YHWorkExperienceViewController.swift
...rkExperience(工作经验)/C/YHWorkExperienceViewController.swift
+10
-5
YHWorkActionView.swift
...ess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkActionView.swift
+17
-14
YHWorkExperienceListReasonTableViewCell.swift
...nce(工作经验)/V/YHWorkExperienceListReasonTableViewCell.swift
+0
-0
YHWorkExperiencePositionTableViewCell.swift
...ience(工作经验)/V/YHWorkExperiencePositionTableViewCell.swift
+4
-3
YHWorkExperienceTableViewCell.swift
...orkExperience(工作经验)/V/YHWorkExperienceTableViewCell.swift
+1
-1
YHConstantArrayData.swift
galaxy/galaxy/Classes/Tools/Helper/YHConstantArrayData.swift
+4
-7
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeKingKongBlockView.swift
View file @
b1700ef6
...
@@ -93,6 +93,19 @@ private extension YHHomeKingKongBlockView {
...
@@ -93,6 +93,19 @@ private extension YHHomeKingKongBlockView {
YHAnalytics
.
track
(
"APP_Home_KingKong_5"
)
YHAnalytics
.
track
(
"APP_Home_KingKong_5"
)
let
vc
=
YHHKEventCenterViewController
()
let
vc
=
YHHKEventCenterViewController
()
self
.
parentViewController
?
.
navigationController
?
.
pushViewController
(
vc
)
self
.
parentViewController
?
.
navigationController
?
.
pushViewController
(
vc
)
case
6
:
YHAnalytics
.
track
(
"APP_Home_KingKong_6"
)
let
vc
=
YHHomeWebViewController
()
#if DEBUG
vc
.
url
=
"https://test-hklife-business-uni.galaxy-immi.com/"
#elseif TESTENV
vc
.
url
=
"https://test-hklife-business-uni.galaxy-immi.com/"
#elseif UATENV
vc
.
url
=
"https://hklife-business-uni.galaxy-immi.com/"
#else
vc
.
url
=
"https://hklife-business-uni.galaxy-immi.com/"
#endif
self
.
parentViewController
?
.
navigationController
?
.
pushViewController
(
vc
)
default
:
default
:
break
break
}
}
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHServiceOrderAlertView.swift
View file @
b1700ef6
...
@@ -53,7 +53,7 @@ class YHServiceOrderAlertView: UIView {
...
@@ -53,7 +53,7 @@ class YHServiceOrderAlertView: UIView {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"
原因说明
"
label
.
text
=
"
温馨提示
"
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
...
@@ -139,20 +139,14 @@ class YHServiceOrderAlertView: UIView {
...
@@ -139,20 +139,14 @@ class YHServiceOrderAlertView: UIView {
make
.
top
.
equalTo
(
157
)
make
.
top
.
equalTo
(
157
)
}
}
let
a
:
ASAttributedString
=
.
init
(
"
1.当前仅支持查看
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
a
:
ASAttributedString
=
.
init
(
"
尊敬的银河用户,为了您的信息安全,银河港生活APP服务订单默认仅关联
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
优才与高才订单
"
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"
【签约手机号】
"
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
bb
:
ASAttributedString
=
.
init
(
"如您已签约银河服务,请改用签约手机号重新登录"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
",如果是签约了其他高才、专才、留学等订单,请与您的服务管家或销售顾问企微沟通联系哦"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
"2.使用其他手机号签约合同/订单,请退出登录"
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
let
bb
:
ASAttributedString
=
.
init
(
"切换账号"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
bbb
:
ASAttributedString
=
.
init
(
"查看"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
15
)),
.
foreground
(
UIColor
.
mainTextColor
.
withAlphaComponent
(
0.7
)))
measageLabel
.
attributed
.
text
=
a
+
aa
+
aaa
measageLabel
.
attributed
.
text
=
a
+
aa
subMeasageLabel
.
attributed
.
text
=
b
+
bb
+
bb
b
subMeasageLabel
.
attributed
.
text
=
bb
knowButton
.
backgroundColor
=
.
brandMainColor
knowButton
.
backgroundColor
=
.
brandMainColor
knowButton
.
addYinHeGradualLayer
()
knowButton
.
addYinHeGradualLayer
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
View file @
b1700ef6
...
@@ -197,7 +197,7 @@ extension YHServiceCenterViewController {
...
@@ -197,7 +197,7 @@ extension YHServiceCenterViewController {
titleLabel
=
{
titleLabel
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
setTitle
(
"我的
我的服务
"
,
for
:
.
normal
)
button
.
setTitle
(
"我的
服务
"
,
for
:
.
normal
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
21
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
21
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"service_center_select_step"
),
for
:
.
normal
)
button
.
setImage
(
UIImage
(
named
:
"service_center_select_step"
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/V/YHServiceNoOrderView.swift
View file @
b1700ef6
...
@@ -31,7 +31,7 @@ class YHServiceNoOrderView: UIView {
...
@@ -31,7 +31,7 @@ class YHServiceNoOrderView: UIView {
private
lazy
var
noFindLab
:
UILabel
=
{
private
lazy
var
noFindLab
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
.
yhGrey
Color
lable
.
textColor
=
UIColor
.
brandMain
Color
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
lable
.
textAlignment
=
.
center
lable
.
textAlignment
=
.
center
lable
.
text
=
"找不到订单"
lable
.
text
=
"找不到订单"
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperienceListViewController.swift
View file @
b1700ef6
...
@@ -86,7 +86,7 @@ class YHWorkExperienceListViewController: YHBaseViewController {
...
@@ -86,7 +86,7 @@ class YHWorkExperienceListViewController: YHBaseViewController {
return
return
}
}
}
}
if
(
self
.
viewModel
?
.
mainModel
.
has_work_time_empty
==
1
&&
self
.
viewModel
?
.
mainModel
.
work_time_empty_remark
.
count
==
0
)
||
(
self
.
viewModel
?
.
mainModel
.
has_work_time_overlap
==
1
&&
self
.
viewModel
?
.
mainModel
.
work_time_overlap_remark
.
count
==
0
)
{
if
self
.
viewModel
?
.
mainModel
.
has_work_time_overlap
==
1
&&
self
.
viewModel
?
.
mainModel
.
work_time_overlap_remark
.
count
==
0
{
YHHUD
.
flash
(
message
:
"您的工作经验未全部填写完成,请先填写完成再提交"
)
YHHUD
.
flash
(
message
:
"您的工作经验未全部填写完成,请先填写完成再提交"
)
return
return
}
}
...
@@ -190,11 +190,7 @@ extension YHWorkExperienceListViewController: UITableViewDelegate, UITableViewDa
...
@@ -190,11 +190,7 @@ extension YHWorkExperienceListViewController: UITableViewDelegate, UITableViewDa
cell
.
model
=
viewModel
?
.
mainModel
cell
.
model
=
viewModel
?
.
mainModel
cell
.
clickBlock
=
{
[
weak
self
]
value
,
index
in
cell
.
clickBlock
=
{
[
weak
self
]
value
,
index
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
index
==
0
{
self
.
viewModel
?
.
mainModel
.
work_time_overlap_remark
=
value
self
.
viewModel
?
.
mainModel
.
work_time_overlap_remark
=
value
}
else
{
self
.
viewModel
?
.
mainModel
.
work_time_empty_remark
=
value
}
}
}
cell
.
backgroundColor
=
.
clear
cell
.
backgroundColor
=
.
clear
cell
.
contentView
.
backgroundColor
=
.
clear
cell
.
contentView
.
backgroundColor
=
.
clear
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperiencePositionViewViewController.swift
View file @
b1700ef6
...
@@ -42,7 +42,11 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
...
@@ -42,7 +42,11 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
viewModel
.
requestWorkPositionDetail
(
workID
,
positionId
)
{[
weak
self
]
success
,
error
in
viewModel
.
requestWorkPositionDetail
(
workID
,
positionId
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
success
??
false
{
if
success
??
false
{
self
.
selectReasonIndex
=
self
.
viewModel
.
position
.
provide_certificate_type
-
1
if
self
.
viewModel
.
position
.
provide_certificate_type
==
1
{
self
.
selectReasonIndex
=
0
}
else
if
self
.
viewModel
.
position
.
provide_certificate_type
==
4
{
self
.
selectReasonIndex
=
1
}
updateDataSource
()
updateDataSource
()
}
else
{
}
else
{
self
.
viewModel
.
position
.
work_id
=
workID
self
.
viewModel
.
position
.
work_id
=
workID
...
@@ -58,16 +62,6 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
...
@@ -58,16 +62,6 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
return
.
init
(
"海外工作签证"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
return
.
init
(
"海外工作签证"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
}
}
if
type
==
1
{
if
type
==
1
{
let
a
:
ASAttributedString
=
.
init
(
"护照出入境盖章记录
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"(此类文件加分以港府审批为准)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
return
a
+
b
}
if
type
==
2
{
let
a
:
ASAttributedString
=
.
init
(
"出入境打印记录
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"(此类文件加分以港府审批为准)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
return
a
+
b
}
if
type
==
3
{
let
a
:
ASAttributedString
=
.
init
(
"以上均不能提供
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
a
:
ASAttributedString
=
.
init
(
"以上均不能提供
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"(或将导致您的该段工作经验"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
let
b
:
ASAttributedString
=
.
init
(
"(或将导致您的该段工作经验"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
let
c
:
ASAttributedString
=
.
init
(
"不被认可不予加分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
failColor
))
let
c
:
ASAttributedString
=
.
init
(
"不被认可不予加分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
failColor
))
...
@@ -79,9 +73,7 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
...
@@ -79,9 +73,7 @@ class YHWorkExperiencePositionViewViewController: YHBaseViewController {
func
getTipsWithType
()
->
[
ASAttributedString
]
{
func
getTipsWithType
()
->
[
ASAttributedString
]
{
return
[
self
.
getTextWithType
(
type
:
0
),
return
[
self
.
getTextWithType
(
type
:
0
),
self
.
getTextWithType
(
type
:
1
),
self
.
getTextWithType
(
type
:
1
)]
self
.
getTextWithType
(
type
:
2
),
self
.
getTextWithType
(
type
:
3
)]
}
}
...
@@ -203,7 +195,11 @@ extension YHWorkExperiencePositionViewViewController: UITableViewDelegate, UITab
...
@@ -203,7 +195,11 @@ extension YHWorkExperiencePositionViewViewController: UITableViewDelegate, UITab
cell
.
selectBlock
=
{[
weak
self
]
index
in
cell
.
selectBlock
=
{[
weak
self
]
index
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
selectReasonIndex
=
index
.
first
??
5
self
.
selectReasonIndex
=
index
.
first
??
5
self
.
viewModel
.
position
.
provide_certificate_type
=
self
.
selectReasonIndex
+
1
if
self
.
selectReasonIndex
==
0
{
self
.
viewModel
.
position
.
provide_certificate_type
=
1
}
else
{
self
.
viewModel
.
position
.
provide_certificate_type
=
4
}
}
}
cell
.
backgroundColor
=
.
clear
cell
.
backgroundColor
=
.
clear
cell
.
contentView
.
backgroundColor
=
.
clear
cell
.
contentView
.
backgroundColor
=
.
clear
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/C/YHWorkExperienceViewController.swift
View file @
b1700ef6
...
@@ -23,7 +23,7 @@ class YHWorkExperienceViewController: YHBaseViewController {
...
@@ -23,7 +23,7 @@ class YHWorkExperienceViewController: YHBaseViewController {
var
isShowPrompt
:
Bool
=
false
var
isShowPrompt
:
Bool
=
false
var
isKeyboardShow
:
Bool
=
false
var
isKeyboardShow
:
Bool
=
false
var
selectEditItem
=
YHWorkExperienceFileModel
()
var
selectEditItem
=
YHWorkExperienceFileModel
()
var
fileMessageArray
:
[
String
]
=
[
"签字盖章的推荐信"
,
"盖章的工作证明+签字的推荐信"
,
"其他证明(退工单或合同+社保等证明)"
,
"以上均不能提供"
]
var
fileMessageArray
:
[
String
]
=
[
"签字盖章的推荐信"
,
"盖章的工作证明+签字的推荐信"
,
"
仅工作证明"
,
"
其他证明(退工单或合同+社保等证明)"
,
"以上均不能提供"
]
var
renameInputView
:
YHFileRenameInputView
=
{
var
renameInputView
:
YHFileRenameInputView
=
{
let
view
=
YHFileRenameInputView
.
inputView
(
defalutText
:
"请输入名称"
)
let
view
=
YHFileRenameInputView
.
inputView
(
defalutText
:
"请输入名称"
)
return
view
return
view
...
@@ -170,15 +170,19 @@ class YHWorkExperienceViewController: YHBaseViewController {
...
@@ -170,15 +170,19 @@ class YHWorkExperienceViewController: YHBaseViewController {
return
.
init
(
"签字盖章的推荐信"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
return
.
init
(
"签字盖章的推荐信"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
}
}
if
type
==
1
{
if
type
==
1
{
let
a
:
ASAttributedString
=
.
init
(
"盖章的工作证明+签字的推荐信"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
a
:
ASAttributedString
=
.
init
(
"盖章的工作证明+签字的推荐信"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
return
a
return
a
}
}
if
type
==
2
{
if
type
==
2
{
let
a
:
ASAttributedString
=
.
init
(
"仅工作证明"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
return
a
}
if
type
==
3
{
let
a
:
ASAttributedString
=
.
init
(
"其他证明(退工单或合同+社保等证明)
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
a
:
ASAttributedString
=
.
init
(
"其他证明(退工单或合同+社保等证明)
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"(此类文件加分以港府审批为准)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
let
b
:
ASAttributedString
=
.
init
(
"(此类文件加分以港府审批为准)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
return
a
+
b
return
a
+
b
}
}
if
type
==
3
{
if
type
==
4
{
let
a
:
ASAttributedString
=
.
init
(
"以上均不能提供
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
a
:
ASAttributedString
=
.
init
(
"以上均不能提供
\n
"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
b
:
ASAttributedString
=
.
init
(
"(或将导致您的该段工作经验"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
let
b
:
ASAttributedString
=
.
init
(
"(或将导致您的该段工作经验"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x8993a2
)))
let
c
:
ASAttributedString
=
.
init
(
"不被认可不予加分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
failColor
))
let
c
:
ASAttributedString
=
.
init
(
"不被认可不予加分"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
failColor
))
...
@@ -192,7 +196,8 @@ class YHWorkExperienceViewController: YHBaseViewController {
...
@@ -192,7 +196,8 @@ class YHWorkExperienceViewController: YHBaseViewController {
return
[
self
.
getTextWithType
(
type
:
0
),
return
[
self
.
getTextWithType
(
type
:
0
),
self
.
getTextWithType
(
type
:
1
),
self
.
getTextWithType
(
type
:
1
),
self
.
getTextWithType
(
type
:
2
),
self
.
getTextWithType
(
type
:
2
),
self
.
getTextWithType
(
type
:
3
)]
self
.
getTextWithType
(
type
:
3
),
self
.
getTextWithType
(
type
:
4
)]
}
}
func
getSelectCompany
()
->
Int
{
func
getSelectCompany
()
->
Int
{
...
@@ -881,7 +886,7 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
...
@@ -881,7 +886,7 @@ extension YHWorkExperienceViewController: UITableViewDelegate, UITableViewDataSo
h
=
h
+
20
h
=
h
+
20
}
}
}
}
return
CGFloat
(
h
+
52
+
14
+
386
)
return
CGFloat
(
h
+
52
+
14
+
451
)
}
else
{
}
else
{
var
height
=
23
+
154
var
height
=
23
+
154
for
item
in
viewModel
.
positionList
{
for
item
in
viewModel
.
positionList
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkActionView.swift
View file @
b1700ef6
...
@@ -14,7 +14,7 @@ class YHWorkActionView: UIView {
...
@@ -14,7 +14,7 @@ class YHWorkActionView: UIView {
var
exampleBlock
:
ExampleBlock
?
var
exampleBlock
:
ExampleBlock
?
var
photoBlock
:
PhotoBlock
?
var
photoBlock
:
PhotoBlock
?
var
photoButton
:
UIButton
!
var
photoButton
:
UIButton
!
//
var wxButton: UIButton!
var
wxButton
:
UIButton
!
var
exampleButton
:
UIButton
!
var
exampleButton
:
UIButton
!
override
init
(
frame
:
CGRect
)
{
override
init
(
frame
:
CGRect
)
{
...
@@ -39,21 +39,24 @@ class YHWorkActionView: UIView {
...
@@ -39,21 +39,24 @@ class YHWorkActionView: UIView {
photoButton
.
snp
.
makeConstraints
{
make
in
photoButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
16
)
make
.
left
.
equalTo
(
16
)
make
.
height
.
width
.
equalTo
(
2
1
)
make
.
height
.
width
.
equalTo
(
3
1
)
}
}
// wxButton = {
wxButton
=
{
// let button = UIButton(type: .custom)
let
button
=
UIButton
(
type
:
.
custom
)
// button.setBackgroundImage(UIImage(named: "work_experience_wx"), for: .normal)
button
.
setTitle
(
"扫描快捷录入"
,
for
:
.
normal
)
// button.addTarget(self, action: #selector(wxClick), for: .touchUpInside)
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
normal
)
// return button
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
15
)
// }()
button
.
addTarget
(
self
,
action
:
#selector(
photoClick
)
,
for
:
.
touchUpInside
)
// addSubview(wxButton)
return
button
// wxButton.snp.makeConstraints { make in
}()
// make.centerY.equalToSuperview()
addSubview
(
wxButton
)
// make.left.equalTo(49)
wxButton
.
snp
.
makeConstraints
{
make
in
// make.height.width.equalTo(21)
make
.
centerY
.
equalToSuperview
()
// }
make
.
left
.
equalTo
(
photoButton
.
snp
.
right
)
make
.
height
.
equalTo
(
31
)
make
.
width
.
equalTo
(
100
)
}
exampleButton
=
{
exampleButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperienceListReasonTableViewCell.swift
View file @
b1700ef6
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperiencePositionTableViewCell.swift
View file @
b1700ef6
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
//
//
import
UIKit
import
UIKit
import
AttributedString
class
YHWorkExperiencePositionTableViewCell
:
UITableViewCell
{
class
YHWorkExperiencePositionTableViewCell
:
UITableViewCell
{
typealias
ExperienceListBlock
=
(
_
model
:
YHWorkExperiencePositionModel
)
->
()
typealias
ExperienceListBlock
=
(
_
model
:
YHWorkExperiencePositionModel
)
->
()
...
@@ -68,9 +69,9 @@ class YHWorkExperiencePositionTableViewCell: UITableViewCell {
...
@@ -68,9 +69,9 @@ class YHWorkExperiencePositionTableViewCell: UITableViewCell {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
l
abel
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
17
)
l
et
a
:
ASAttributedString
=
.
init
(
"*"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
failColor
)
)
l
abel
.
text
=
"职位信息"
l
et
b
:
ASAttributedString
=
.
init
(
"职位信息"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
17
)),
.
foreground
(
UIColor
.
mainTextColor
))
label
.
textColor
=
UIColor
.
mainTextColor
label
.
attributed
.
text
=
a
+
b
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/V/YHWorkExperienceTableViewCell.swift
View file @
b1700ef6
...
@@ -143,7 +143,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
...
@@ -143,7 +143,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
}
}
}
}
mainItemView
.
addSubview
(
view
)
mainItemView
.
addSubview
(
view
)
y
=
y
+
386
y
=
y
+
451
}
}
}
}
}
}
...
...
galaxy/galaxy/Classes/Tools/Helper/YHConstantArrayData.swift
View file @
b1700ef6
...
@@ -277,21 +277,18 @@ class YHConstantArrayData {
...
@@ -277,21 +277,18 @@ class YHConstantArrayData {
]
]
static
let
arrLevel
:
[[
String
:
String
]]
=
[
static
let
arrLevel
:
[[
String
:
String
]]
=
[
[
"title"
:
"高级经理人"
,
[
"title"
:
"高级经理人
(企业拥有者)
"
,
"id"
:
"1"
"id"
:
"1"
],
],
[
"title"
:
"中级经理人"
,
[
"title"
:
"中级经理人
(中级管理岗)
"
,
"id"
:
"2"
"id"
:
"2"
],
],
[
"title"
:
"初级经理人"
,
[
"title"
:
"初级经理人
(初级管理岗)
"
,
"id"
:
"3"
"id"
:
"3"
],
],
[
"title"
:
"专业人士"
,
[
"title"
:
"专业人士
(普通职员)
"
,
"id"
:
"4"
"id"
:
"4"
],
],
[
"title"
:
"半专业人士"
,
"id"
:
"5"
],
[
"title"
:
"其他"
,
[
"title"
:
"其他"
,
"id"
:
"6"
"id"
:
"6"
]
]
...
...
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