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
383d2e8f
Commit
383d2e8f
authored
Jan 03, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
college_id逻辑添加
parent
2ea552a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
YHMyInformationItemCell.swift
...ses/Modules/Community(社区)/V/YHMyInformationItemCell.swift
+1
-1
YHCollegeSearchViewController.swift
...ification(学历专业资格填写)/C/YHCollegeSearchViewController.swift
+3
-3
YHGCEducationDetailVC.swift
...ion&Qualification(学历专业资格填写)/C/YHGCEducationDetailVC.swift
+4
-2
No files found.
galaxy/galaxy/Classes/Modules/Community(社区)/V/YHMyInformationItemCell.swift
View file @
383d2e8f
...
...
@@ -196,7 +196,7 @@ class YHMyInformationItemCell: UITableViewCell {
case
.
school
:
let
vc
=
YHCollegeSearchViewController
()
vc
.
searchCollegeName
=
self
.
dataSource
?
.
message
vc
.
selectBlock
=
{[
weak
self
]
text
in
vc
.
selectBlock
=
{[
weak
self
]
text
,
id
in
guard
let
self
=
self
else
{
return
}
self
.
dataSource
?
.
message
=
text
self
.
updateAllViews
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHCollegeSearchViewController.swift
View file @
383d2e8f
...
...
@@ -12,7 +12,7 @@ class YHCollegeSearchViewController: YHBaseViewController {
var
orderId
:
Int
=
0
var
searchCollegeName
:
String
?
var
selectBlock
:((
String
?)
->
Void
)?
var
selectBlock
:((
String
?
,
Int
)
->
Void
)?
var
colleges
:[
YHCollegeInfo
]
=
[]
var
isShowSureButton
:
Bool
=
true
let
educationRequest
:
YHEducationRequestViewModel
=
YHEducationRequestViewModel
()
...
...
@@ -76,7 +76,7 @@ class YHCollegeSearchViewController: YHBaseViewController {
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
if
let
selectBlock
=
selectBlock
{
selectBlock
(
searchBar
.
textField
.
text
)
selectBlock
(
searchBar
.
textField
.
text
,
0
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
...
...
@@ -151,7 +151,7 @@ extension YHCollegeSearchViewController: UITableViewDelegate, UITableViewDataSou
if
let
selectBlock
=
selectBlock
{
if
indexPath
.
row
<
colleges
.
count
{
let
college
:
YHCollegeInfo
=
colleges
[
indexPath
.
row
]
selectBlock
(
college
.
getCollegeName
())
selectBlock
(
college
.
getCollegeName
()
,
college
.
id
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/C/YHGCEducationDetailVC.swift
View file @
383d2e8f
...
...
@@ -349,13 +349,14 @@ extension YHGCEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
vc
.
orderId
=
self
.
orderId
vc
.
searchCollegeName
=
detailInfo
.
college
vc
.
selectBlock
=
{
[
weak
self
]
text
in
[
weak
self
]
text
,
id
in
guard
let
self
=
self
else
{
return
}
if
let
text
=
text
,
!
text
.
isEmpty
{
detailInfo
.
college
=
text
}
else
{
detailInfo
.
college
=
""
}
detailInfo
.
college_id
=
id
loadInfo
()
saveInfoSilent
()
}
...
...
@@ -666,7 +667,8 @@ extension YHGCEducationDetailVC {
guard
var
dict
:[
String
:
Any
]
=
detailInfo
.
toDictionary
()
else
{
return
}
dict
[
"order_id"
]
=
self
.
orderId
dict
[
"is_aboard_school"
]
=
detailInfo
.
isSchoolInAboard
()
dict
[
"college_id"
]
=
detailInfo
.
college_id
self
.
educationRequest
.
saveEducationInfo
(
params
:
dict
,
isSilent
:
!
isShowToast
)
{
[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
...
...
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