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
51516ddd
Commit
51516ddd
authored
Mar 10, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 学历资格
parent
e995715f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
YHEducationDetailVC.swift
...ation&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
+9
-2
YHMajorSearchViewController.swift
...alification(学历专业资格填写)/C/YHMajorSearchViewController.swift
+3
-3
YHEducationInfo.swift
...Education&Qualification(学历专业资格填写)/M/YHEducationInfo.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
View file @
51516ddd
...
@@ -505,13 +505,20 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
...
@@ -505,13 +505,20 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
vc
.
orderId
=
self
.
orderId
vc
.
orderId
=
self
.
orderId
vc
.
searchMajorName
=
detailInfo
.
major
vc
.
searchMajorName
=
detailInfo
.
major
vc
.
selectBlock
=
{
vc
.
selectBlock
=
{
[
weak
self
]
text
in
[
weak
self
]
fullName
,
enName
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
let
text
=
text
,
!
text
.
isEmpty
{
if
let
text
=
fullName
,
!
text
.
isEmpty
{
detailInfo
.
major
=
text
detailInfo
.
major
=
text
}
else
{
}
else
{
detailInfo
.
major
=
""
detailInfo
.
major
=
""
}
}
if
let
enname
=
enName
,
!
enname
.
isEmpty
{
detailInfo
.
tempMajor
=
enname
}
else
{
detailInfo
.
tempMajor
=
""
}
loadInfo
()
loadInfo
()
saveInfoSilent
()
saveInfoSilent
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHMajorSearchViewController.swift
View file @
51516ddd
...
@@ -12,7 +12,7 @@ class YHMajorSearchViewController: YHBaseViewController {
...
@@ -12,7 +12,7 @@ class YHMajorSearchViewController: YHBaseViewController {
var
orderId
:
Int
=
0
var
orderId
:
Int
=
0
var
searchMajorName
:
String
?
var
searchMajorName
:
String
?
var
selectBlock
:((
String
?)
->
Void
)?
var
selectBlock
:((
String
?
,
String
?
)
->
Void
)?
var
majors
:[
YHMajorInfo
]
=
[]
var
majors
:[
YHMajorInfo
]
=
[]
let
educationRequest
:
YHEducationRequestViewModel
=
YHEducationRequestViewModel
()
let
educationRequest
:
YHEducationRequestViewModel
=
YHEducationRequestViewModel
()
...
@@ -76,7 +76,7 @@ class YHMajorSearchViewController: YHBaseViewController {
...
@@ -76,7 +76,7 @@ class YHMajorSearchViewController: YHBaseViewController {
[
weak
self
]
in
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
if
let
selectBlock
=
selectBlock
{
if
let
selectBlock
=
selectBlock
{
selectBlock
(
searchBar
.
textField
.
text
)
selectBlock
(
searchBar
.
textField
.
text
,
""
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
}
}
...
@@ -151,7 +151,7 @@ extension YHMajorSearchViewController: UITableViewDelegate, UITableViewDataSourc
...
@@ -151,7 +151,7 @@ extension YHMajorSearchViewController: UITableViewDelegate, UITableViewDataSourc
if
let
selectBlock
=
selectBlock
{
if
let
selectBlock
=
selectBlock
{
if
indexPath
.
row
<
majors
.
count
{
if
indexPath
.
row
<
majors
.
count
{
let
major
:
YHMajorInfo
=
majors
[
indexPath
.
row
]
let
major
:
YHMajorInfo
=
majors
[
indexPath
.
row
]
selectBlock
(
major
.
getMajorName
())
selectBlock
(
major
.
getMajorName
()
,
major
.
en_name
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/M/YHEducationInfo.swift
View file @
51516ddd
...
@@ -110,6 +110,7 @@ class YHEducationDetailInfo: SmartCodable {
...
@@ -110,6 +110,7 @@ class YHEducationDetailInfo: SmartCodable {
var
graduateTime
:
String
=
""
var
graduateTime
:
String
=
""
var
degree
:
String
=
""
var
degree
:
String
=
""
var
major
:
String
=
""
var
major
:
String
=
""
var
tempMajor
:
String
=
""
//保存专业中文名称
var
degreeType
:
String
=
""
var
degreeType
:
String
=
""
var
schoolAddress
:
YHCollegeAddress
=
YHCollegeAddress
()
var
schoolAddress
:
YHCollegeAddress
=
YHCollegeAddress
()
var
isAboardSchool
:
Bool
=
false
var
isAboardSchool
:
Bool
=
false
...
@@ -142,6 +143,7 @@ class YHEducationDetailInfo: SmartCodable {
...
@@ -142,6 +143,7 @@ class YHEducationDetailInfo: SmartCodable {
case
graduateTime
=
"graduate_time"
case
graduateTime
=
"graduate_time"
case
degree
=
"degree"
case
degree
=
"degree"
case
major
=
"major"
case
major
=
"major"
case
tempMajor
=
"temp_major"
case
degreeType
=
"degree_type"
case
degreeType
=
"degree_type"
case
schoolAddress
=
"school_address"
case
schoolAddress
=
"school_address"
case
isAboardSchool
=
"is_aboard_school"
case
isAboardSchool
=
"is_aboard_school"
...
...
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