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
a6780245
Commit
a6780245
authored
Nov 19, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 方案
parent
5cd7a42b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
3 deletions
+17
-3
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+6
-0
YHImproveSchemeViewController.swift
...)/MyNewScheme(我的方案)/C/YHImproveSchemeViewController.swift
+6
-2
YHImproveHKView.swift
...(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveHKView.swift
+1
-1
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+4
-0
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
a6780245
...
...
@@ -307,6 +307,8 @@ extension YHHomeHoldViewPageViewController {
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didRefreshMessageCount
)
,
name
:
YhConstant
.
YhNotification
.
didQiYuUnReadMsgCountChangeNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didJumpToIdentityTab
)
,
name
:
YhConstant
.
YhNotification
.
didJumpToHomePageIdentityTabNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didJumpToNewsTab
)
,
name
:
YhConstant
.
YhNotification
.
didJumpToHomePageNewsTabNotification
,
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
didJumpToLifeTab
)
,
name
:
YhConstant
.
YhNotification
.
didJumpToHomePageLifeTabNotification
,
object
:
nil
)
...
...
@@ -368,6 +370,10 @@ extension YHHomeHoldViewPageViewController {
jumpToItemIndex
(
itemIndex
:
2
)
}
@objc
func
didJumpToIdentityTab
()
{
jumpToItemIndex
(
itemIndex
:
1
)
}
@objc
func
didLoadYhManager
()
{
if
needShowManagerTipsView
{
needShowManagerTipsView
=
false
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/C/YHImproveSchemeViewController.swift
View file @
a6780245
...
...
@@ -182,7 +182,7 @@ class YHImproveSchemeViewController: YHBaseViewController {
[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
items
.
removeAll
()
items
.
append
(
contentsOf
:
viewModel
.
improveDetailModel
.
comprehensive_evaluation
)
items
.
append
(
contentsOf
:
viewModel
.
improveDetailModel
.
improvePlanItem
)
tableView
.
reloadData
()
greetLabel
.
text
=
"尊敬的
\(
viewModel
.
improveDetailModel
.
username
)\(
viewModel
.
improveDetailModel
.
sex
)
"
}
...
...
@@ -232,7 +232,11 @@ extension YHImproveSchemeViewController : UITableViewDelegate, UITableViewDataSo
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
indexPath
.
row
==
1
{
UIViewController
.
current
?
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
goTabBarBy
(
tabType
:
.
home
)
NotificationCenter
.
default
.
post
(
name
:
YhConstant
.
YhNotification
.
didJumpToHomePageIdentityTabNotification
,
object
:
nil
)
}
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/MyNewScheme(我的方案)/V/YHImproveHKView.swift
View file @
a6780245
...
...
@@ -125,7 +125,7 @@ class YHImproveHKView: UIView {
@objc
func
didRightBtnClicked
()
{
let
view
=
YHImproveSchemeTemplateListView
.
listView
()
view
.
arr
=
item
.
templates
view
.
items
=
item
.
templates
view
.
show
()
}
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
a6780245
...
...
@@ -300,6 +300,10 @@ extension YhConstant {
// 跳转到首页生活tab
public
static
let
didJumpToHomePageLifeTabNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.homePage.life"
)
// 跳转到首页身份tab
public
static
let
didJumpToHomePageIdentityTabNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.homePage.identity"
)
// 跳转到首页生活tab - 教育
public
static
let
didJumpToHomePageLifeEduTabNotification
=
Notification
.
Name
(
rawValue
:
"com.yinhe.homePage.life.edu"
)
...
...
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