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
eae35793
Commit
eae35793
authored
Jan 03, 2025
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好多bug修复
parent
7dd6e839
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
0 deletions
+37
-0
YHServiceCenterViewController.swift
...中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
+14
-0
YHEducationInfo.swift
...Education&Qualification(学历专业资格填写)/M/YHEducationInfo.swift
+1
-0
YHGCMainApplicantInformationViewModel.swift
...on(主申请人信息)/VM/YHGCMainApplicantInformationViewModel.swift
+8
-0
YHGCWorkItemListViewModel.swift
...)/WorkExperience(工作经验)/VM/YHGCWorkItemListViewModel.swift
+2
-0
YHJsApi.swift
...galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
+10
-0
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/OrderList(服务订单)/C/YHServiceCenterViewController.swift
View file @
eae35793
...
@@ -110,6 +110,7 @@ class YHServiceCenterViewController: YHBaseViewController {
...
@@ -110,6 +110,7 @@ class YHServiceCenterViewController: YHBaseViewController {
}
}
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
logoutSuccess
)
,
name
:
YhConstant
.
YhNotification
.
didLogoutSuccessNotifiction
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
logoutSuccess
)
,
name
:
YhConstant
.
YhNotification
.
didLogoutSuccessNotifiction
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
jumpServiceList
)
,
name
:
YhConstant
.
YhNotification
.
goToServiceListNotification
,
object
:
nil
)
noDataView
.
isHidden
=
false
noDataView
.
isHidden
=
false
homeTableView
.
isHidden
=
true
homeTableView
.
isHidden
=
true
...
@@ -126,6 +127,19 @@ class YHServiceCenterViewController: YHBaseViewController {
...
@@ -126,6 +127,19 @@ class YHServiceCenterViewController: YHBaseViewController {
self
.
isCanSelectStep
=
false
self
.
isCanSelectStep
=
false
}
}
@objc
func
jumpServiceList
()
{
let
vc
=
YHOrderDetailViewController
()
vc
.
model
=
oldModel
vc
.
backDate
=
{
[
weak
self
]
model
in
guard
let
self
=
self
else
{
return
}
self
.
model
=
model
self
.
state
=
0
self
.
headIndex
=
0
self
.
isCanSelectStep
=
false
}
self
.
navigationController
?
.
pushViewController
(
vc
)
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
super
.
viewWillAppear
(
animated
)
loadData
()
loadData
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/Education&Qualification(学历专业资格填写)/M/YHEducationInfo.swift
View file @
eae35793
...
@@ -145,6 +145,7 @@ class YHEducationDetailInfo: SmartCodable {
...
@@ -145,6 +145,7 @@ class YHEducationDetailInfo: SmartCodable {
case
majorOther
=
"major_other"
case
majorOther
=
"major_other"
case
hasBachelorDegree
=
"has_bachelor_degree"
case
hasBachelorDegree
=
"has_bachelor_degree"
case
certConfirm
=
"cert_confirm"
case
certConfirm
=
"cert_confirm"
case
college_id
=
"college_id"
}
}
required
init
()
{
required
init
()
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/MainApplicantInformation(主申请人信息)/VM/YHGCMainApplicantInformationViewModel.swift
View file @
eae35793
...
@@ -186,6 +186,12 @@ class YHGCMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -186,6 +186,12 @@ class YHGCMainApplicantInformationViewModel: YHBaseViewModel {
}
}
}
else
if
nationality
.
contains
(
"中国"
)
&&
is_live_oversea_year
==
1
{
}
else
if
nationality
.
contains
(
"中国"
)
&&
is_live_oversea_year
==
1
{
return
[
section
,
section2
]
return
[
section
,
section2
]
}
else
if
nationality
.
contains
(
"中国"
)
&&
!
addressCountry
.
contains
(
"中国"
)
{
if
mainModel
.
is_handled
==
1
{
return
[
section
,
section1
]
}
else
{
return
[
section
]
}
}
else
{
}
else
{
return
[
section2
]
return
[
section2
]
}
}
...
@@ -197,8 +203,10 @@ class YHGCMainApplicantInformationViewModel: YHBaseViewModel {
...
@@ -197,8 +203,10 @@ class YHGCMainApplicantInformationViewModel: YHBaseViewModel {
case
.
id1
:
case
.
id1
:
mainModel
.
nationality
=
item
.
message
??
""
mainModel
.
nationality
=
item
.
message
??
""
mainModel
.
is_live_oversea_year
=
0
case
.
id2
:
case
.
id2
:
mainModel
.
address
.
country
=
item
.
message
??
""
mainModel
.
address
.
country
=
item
.
message
??
""
mainModel
.
is_live_oversea_year
=
0
case
.
id3
:
case
.
id3
:
mainModel
.
address
.
area
=
item
.
value
??
[]
mainModel
.
address
.
area
=
item
.
value
??
[]
case
.
id4
:
case
.
id4
:
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/TTPS(高才)/ServiceProcess(我的信息流程)/WorkExperience(工作经验)/VM/YHGCWorkItemListViewModel.swift
View file @
eae35793
...
@@ -168,6 +168,8 @@ class YHGCWorkItemListViewModel: YHBaseViewModel {
...
@@ -168,6 +168,8 @@ class YHGCWorkItemListViewModel: YHBaseViewModel {
let
value
=
model
.
value
?
.
first
?
.
int
??
0
let
value
=
model
.
value
?
.
first
?
.
int
??
0
if
value
==
0
{
if
value
==
0
{
mainModel
.
has_work_experience
=
2
mainModel
.
has_work_experience
=
2
mainModel
.
has_company_consent
=
2
mainModel
.
has_center_consent
=
1
}
else
if
value
==
1
{
}
else
if
value
==
1
{
mainModel
.
has_work_experience
=
1
mainModel
.
has_work_experience
=
1
}
}
...
...
galaxy/galaxy/Classes/Modules/InteractionH5(与H5交互)/YHJsApi.swift
View file @
eae35793
...
@@ -676,4 +676,14 @@ extension YHJsApi {
...
@@ -676,4 +676,14 @@ extension YHJsApi {
}
}
}
}
}
}
@objc
func
goServiceProgressPage
(
_
dicData
:
String
)
{
UIViewController
.
current
?
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
0.35
)
{
UIViewController
.
current
?
.
tabBarController
?
.
selectedIndex
=
1
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
goToServiceListNotification
,
object
:
nil
,
userInfo
:
nil
)
}
}
}
}
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
eae35793
...
@@ -406,5 +406,7 @@ extension YhConstant {
...
@@ -406,5 +406,7 @@ extension YhConstant {
//关闭直播间弹出的分享界面
//关闭直播间弹出的分享界面
public
static
let
closeShareUIInLiveRoomNotifiction
=
Notification
.
Name
(
rawValue
:
"com.yinhe.app.close.share.ui"
)
public
static
let
closeShareUIInLiveRoomNotifiction
=
Notification
.
Name
(
rawValue
:
"com.yinhe.app.close.share.ui"
)
public
static
let
goToServiceListNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.goToServiceListNotification"
)
}
}
}
}
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