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
87b5cc37
Commit
87b5cc37
authored
Feb 22, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 删除学历和证书
parent
5d453a28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
12 deletions
+24
-12
YHEducationInfoListVC.swift
...ion&Qualification(学历专业资格填写)/C/YHEducationInfoListVC.swift
+24
-12
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/C/YHEducationInfoListVC.swift
View file @
87b5cc37
...
...
@@ -318,10 +318,14 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
cell
.
isShowDeleteBtn
=
(
isDegreeEditMode
==
.
canCancel
)
cell
.
detailLabel
.
textColor
=
(
isNeedShowError
&&
eduInfo
.
vacantNum
>
0
?
.
failColor
:
.
labelTextColor2
)
cell
.
deleteBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
isDegreeEditMode
=
.
none
deleteEducationInfo
(
id
:
eduInfo
.
id
)
var
title
=
"确定要删除该学历吗?"
YHTwoOptionAlertView
.
showAlertView
(
message
:
title
)
{
[
weak
self
]
sure
in
guard
let
self
=
self
else
{
return
}
if
!
sure
{
return
}
isDegreeEditMode
=
.
none
deleteEducationInfo
(
id
:
eduInfo
.
id
)
}
}
return
cell
...
...
@@ -339,10 +343,14 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
}
cell
.
isShowDeleteBtn
=
(
isDegreeEditMode
==
.
canCancel
)
cell
.
deleteBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
isDegreeEditMode
=
.
none
deleteEducationInfo
(
id
:
eduInfo
.
id
)
var
title
=
"确定要删除该学历吗?"
YHTwoOptionAlertView
.
showAlertView
(
message
:
title
)
{
[
weak
self
]
sure
in
guard
let
self
=
self
else
{
return
}
if
!
sure
{
return
}
isDegreeEditMode
=
.
none
deleteEducationInfo
(
id
:
eduInfo
.
id
)
}
}
return
cell
}
...
...
@@ -366,10 +374,14 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
cell
.
detailLabel
.
textColor
=
(
isNeedShowError
&&
quaInfo
.
vacantNum
>
0
?
.
failColor
:
.
labelTextColor2
)
cell
.
isShowDeleteBtn
=
(
isQualificationEditMode
==
.
canCancel
)
cell
.
deleteBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
isQualificationEditMode
=
.
none
deleteQualificationInfo
(
id
:
quaInfo
.
id
)
var
title
=
"确定要删除该证书吗?"
YHTwoOptionAlertView
.
showAlertView
(
message
:
title
)
{
[
weak
self
]
sure
in
guard
let
self
=
self
else
{
return
}
if
!
sure
{
return
}
isQualificationEditMode
=
.
none
deleteQualificationInfo
(
id
:
quaInfo
.
id
)
}
}
return
cell
}
...
...
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