Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydLife
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
ydLife
Commits
4a96e5d7
Commit
4a96e5d7
authored
Oct 28, 2022
by
Chao Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
银盾学院放开
parent
2e58fced
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
111 additions
and
4 deletions
+111
-4
src/app/my/my-center-home/my-center-home.component.ts
+1
-1
src/app/my/my-routing.module.ts
+2
-2
src/app/my/my.module.ts
+2
-1
src/app/my/yd-college/yd-college.component.html
+14
-0
src/app/my/yd-college/yd-college.component.scss
+25
-0
src/app/my/yd-college/yd-college.component.spec.ts
+25
-0
src/app/my/yd-college/yd-college.component.ts
+42
-0
src/assets/images/indexIcons/ydCollege.png
+0
-0
No files found.
src/app/my/my-center-home/my-center-home.component.ts
View file @
4a96e5d7
...
@@ -20,7 +20,7 @@ export class MyCenterHomeComponent implements OnInit {
...
@@ -20,7 +20,7 @@ export class MyCenterHomeComponent implements OnInit {
{
key
:
'03'
,
name
:
'续期管理'
,
icon
:
'renewalManagement'
,
link
:
'/renewal_reminder'
,
isOpen
:
true
},
{
key
:
'03'
,
name
:
'续期管理'
,
icon
:
'renewalManagement'
,
link
:
'/renewal_reminder'
,
isOpen
:
true
},
{
key
:
'04'
,
name
:
'成交客户'
,
icon
:
'customers'
,
link
:
'/customer'
,
isOpen
:
true
},
{
key
:
'04'
,
name
:
'成交客户'
,
icon
:
'customers'
,
link
:
'/customer'
,
isOpen
:
true
},
{
key
:
'05'
,
name
:
'我的增员'
,
icon
:
'increaseStaff'
,
link
:
'/recruiting'
,
isOpen
:
true
},
{
key
:
'05'
,
name
:
'我的增员'
,
icon
:
'increaseStaff'
,
link
:
'/recruiting'
,
isOpen
:
true
},
{
key
:
'06'
,
name
:
'银盾学院'
,
icon
:
'ydCollege'
,
link
:
'
'
,
isOpen
:
fals
e
},
{
key
:
'06'
,
name
:
'银盾学院'
,
icon
:
'ydCollege'
,
link
:
'
/yd-college'
,
isOpen
:
tru
e
},
{
key
:
'07'
,
name
:
'更多功能'
,
icon
:
'more'
,
link
:
'/moreFeatures'
,
isOpen
:
true
}
{
key
:
'07'
,
name
:
'更多功能'
,
icon
:
'more'
,
link
:
'/moreFeatures'
,
isOpen
:
true
}
]
]
public
bannerLists
=
[];
public
bannerLists
=
[];
...
...
src/app/my/my-routing.module.ts
View file @
4a96e5d7
...
@@ -79,7 +79,7 @@ import { QrcodeUploadComponent } from './application-process/qrcode-upload/qrcod
...
@@ -79,7 +79,7 @@ import { QrcodeUploadComponent } from './application-process/qrcode-upload/qrcod
import
{
NewsDetailComponent
}
from
'./news-detail/news-detail.component'
;
import
{
NewsDetailComponent
}
from
'./news-detail/news-detail.component'
;
import
{
MoreFeaturesComponent
}
from
'./more-features/more-features.component'
;
import
{
MoreFeaturesComponent
}
from
'./more-features/more-features.component'
;
import
{
MineComponent
}
from
'./mine/mine.component'
;
import
{
MineComponent
}
from
'./mine/mine.component'
;
import
{
YdCollegeComponent
}
from
'./yd-college/yd-college.component'
;
const
myRoutes
:
Routes
=
[
const
myRoutes
:
Routes
=
[
{
path
:
''
,
component
:
MyCenterHomeComponent
,
canActivate
:
[
AuthGuard
],
data
:
[{
title
:
'银盾保险经纪 - 工作台'
}]
},
{
path
:
''
,
component
:
MyCenterHomeComponent
,
canActivate
:
[
AuthGuard
],
data
:
[{
title
:
'银盾保险经纪 - 工作台'
}]
},
...
@@ -182,7 +182,7 @@ const myRoutes: Routes = [
...
@@ -182,7 +182,7 @@ const myRoutes: Routes = [
{
path
:
'newsDetail/:id'
,
component
:
NewsDetailComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'消息详情'
}]},
{
path
:
'newsDetail/:id'
,
component
:
NewsDetailComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'消息详情'
}]},
{
path
:
'moreFeatures'
,
component
:
MoreFeaturesComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'全部工具'
}]},
{
path
:
'moreFeatures'
,
component
:
MoreFeaturesComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'全部工具'
}]},
{
path
:
'mine'
,
component
:
MineComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'我的'
}]},
{
path
:
'mine'
,
component
:
MineComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'我的'
}]},
{
path
:
'yd-college'
,
component
:
YdCollegeComponent
,
canActivate
:[
AuthGuard
],
data
:[{
title
:
'银盾学院'
}]},
];
];
@
NgModule
({
@
NgModule
({
...
...
src/app/my/my.module.ts
View file @
4a96e5d7
...
@@ -94,9 +94,10 @@ import { QrcodeUploadComponent } from './application-process/qrcode-upload/qrcod
...
@@ -94,9 +94,10 @@ import { QrcodeUploadComponent } from './application-process/qrcode-upload/qrcod
import
{
NewsDetailComponent
}
from
'./news-detail/news-detail.component'
;
import
{
NewsDetailComponent
}
from
'./news-detail/news-detail.component'
;
import
{
MoreFeaturesComponent
}
from
'./more-features/more-features.component'
;
import
{
MoreFeaturesComponent
}
from
'./more-features/more-features.component'
;
import
{
MineComponent
}
from
'./mine/mine.component'
;
import
{
MineComponent
}
from
'./mine/mine.component'
;
import
{
YdCollegeComponent
}
from
'./yd-college/yd-college.component'
;
@
NgModule
({
@
NgModule
({
declarations
:
[
MyCenterHomeComponent
,
MkMaterialComponent
,
MkMaterialDetailComponent
,
FileUploadComponent
,
ImportantAnnouncementComponent
,
SalesDetailComponent
,
AnnouncementDetailComponent
,
MyBusinessComponent
,
MyBusinessDetailComponent
,
PickerComponent
,
MyToastComponent
,
SalesRankComponent
,
TeamRankComponent
,
RecruitingComponent
,
RecruitingDetailComponent
,
ThanksComponent
,
MySettingComponent
,
MySettingDetailComponent
,
MyNewsComponent
,
MyTargetComponent
,
TeamPanelComponent
,
SwitchNumberPipe
,
SafeResourceUrlPipe
,
TeamSalesScoreComponent
,
ScoreDetailsComponent
,
BusinessCardComponent
,
OrderDetailComponent
,
SalaryComponent
,
TodoListComponent
,
AddTaskComponent
,
MedicalServiceComponent
,
InvitationComponent
,
RegisterComponent
,
EmployeeInfoComponent
,
EmployeeBasicInfoComponent
,
WorkExperienceComponent
,
PersonalPhotosComponent
,
EmployeeIdCardComponent
,
EmployeeEducationComponent
,
PersonalStatementComponent
,
SignatureComponent
,
EmployeeSubmitComponent
,
BankCardComponent
,
MemberDetailComponent
,
ApprovalListComponent
,
ApprovalCommentsComponent
,
ApprovalResultListComponent
,
MyApplicationComponent
,
SuggestionComponent
,
EmployeeSalaryComponent
,
HistoricalRankComponent
,
TeamAreaPanelComponent
,
ArticleComponent
,
ArticleDetailComponent
,
ArticleReadComponent
,
SalaryDetailComponent
,
SalaryFirstYearComponent
,
DetailModalComponent
,
ProductComponent
,
ProductDataComponent
,
CommissionComponent
,
FileListComponent
,
MyCustomerComponent
,
CustomerRelationComponent
,
MyCustomerPolicyComponent
,
UnderwritingKnowledgeComponent
,
MyQuestionComponent
,
AskComponent
,
MenuItemComponent
,
MemberListComponent
,
ENoticeComponent
,
ENoticeSignComponent
,
RenewalReminderComponent
,
RenewalReminderDetailComponent
,
JointSalesComponent
,
JointSaleDetailComponent
,
IntegrationComponent
,
IntegrationDetailComponent
,
IntegrationRuleComponent
,
VideoComponent
,
QrcodeUploadComponent
,
NewsDetailComponent
,
MoreFeaturesComponent
,
MineComponent
],
declarations
:
[
MyCenterHomeComponent
,
MkMaterialComponent
,
MkMaterialDetailComponent
,
FileUploadComponent
,
ImportantAnnouncementComponent
,
SalesDetailComponent
,
AnnouncementDetailComponent
,
MyBusinessComponent
,
MyBusinessDetailComponent
,
PickerComponent
,
MyToastComponent
,
SalesRankComponent
,
TeamRankComponent
,
RecruitingComponent
,
RecruitingDetailComponent
,
ThanksComponent
,
MySettingComponent
,
MySettingDetailComponent
,
MyNewsComponent
,
MyTargetComponent
,
TeamPanelComponent
,
SwitchNumberPipe
,
SafeResourceUrlPipe
,
TeamSalesScoreComponent
,
ScoreDetailsComponent
,
BusinessCardComponent
,
OrderDetailComponent
,
SalaryComponent
,
TodoListComponent
,
AddTaskComponent
,
MedicalServiceComponent
,
InvitationComponent
,
RegisterComponent
,
EmployeeInfoComponent
,
EmployeeBasicInfoComponent
,
WorkExperienceComponent
,
PersonalPhotosComponent
,
EmployeeIdCardComponent
,
EmployeeEducationComponent
,
PersonalStatementComponent
,
SignatureComponent
,
EmployeeSubmitComponent
,
BankCardComponent
,
MemberDetailComponent
,
ApprovalListComponent
,
ApprovalCommentsComponent
,
ApprovalResultListComponent
,
MyApplicationComponent
,
SuggestionComponent
,
EmployeeSalaryComponent
,
HistoricalRankComponent
,
TeamAreaPanelComponent
,
ArticleComponent
,
ArticleDetailComponent
,
ArticleReadComponent
,
SalaryDetailComponent
,
SalaryFirstYearComponent
,
DetailModalComponent
,
ProductComponent
,
ProductDataComponent
,
CommissionComponent
,
FileListComponent
,
MyCustomerComponent
,
CustomerRelationComponent
,
MyCustomerPolicyComponent
,
UnderwritingKnowledgeComponent
,
MyQuestionComponent
,
AskComponent
,
MenuItemComponent
,
MemberListComponent
,
ENoticeComponent
,
ENoticeSignComponent
,
RenewalReminderComponent
,
RenewalReminderDetailComponent
,
JointSalesComponent
,
JointSaleDetailComponent
,
IntegrationComponent
,
IntegrationDetailComponent
,
IntegrationRuleComponent
,
VideoComponent
,
QrcodeUploadComponent
,
NewsDetailComponent
,
MoreFeaturesComponent
,
MineComponent
,
YdCollegeComponent
],
imports
:
[
imports
:
[
CommonModule
,
CommonModule
,
LifeCommonModule
,
LifeCommonModule
,
...
...
src/app/my/yd-college/yd-college.component.html
0 → 100644
View file @
4a96e5d7
<ul>
<li
*
ngFor=
"let subItem of courseLists"
(
click
)="
featureSelect
(
subItem
)"
>
<div>
<img
[
src
]="'
assets
/
images
/
indexIcons
/'
+
subItem
.
icon
+
'.
png
'"
alt=
""
>
</div>
<p>
{{subItem.name}}
</p>
</li>
</ul>
<Modal
[(
ngModel
)]="
this
.
state
.
modal1
"
[
transparent
]="
true
"
[
maskClosable
]="
true
"
(
onClose
)="
onClose
('
modal1
')"
>
<div
[
ngStyle
]="{
height:
100
,
overflow:
'
scroll
',
color:
'#
000
'
}"
>
此功能暂未开放,敬请期待。
</div>
</Modal>
\ No newline at end of file
src/app/my/yd-college/yd-college.component.scss
0 → 100644
View file @
4a96e5d7
ul
{
display
:
flex
;
flex-wrap
:
wrap
;
li
{
width
:
0
;
height
:
109px
;
flex
:
0
0
50%
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
border-bottom
:
1px
solid
#f2f2f2
;
&
:nth-of-type
(
2n
+
1
)
{
border-right
:
1px
solid
#f2f2f2
;
}
img
{
width
:
48px
;
}
p
{
white-space
:
nowrap
;
font-size
:
14px
;
}
}
}
\ No newline at end of file
src/app/my/yd-college/yd-college.component.spec.ts
0 → 100644
View file @
4a96e5d7
import
{
async
,
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
YdCollegeComponent
}
from
'./yd-college.component'
;
describe
(
'YdCollegeComponent'
,
()
=>
{
let
component
:
YdCollegeComponent
;
let
fixture
:
ComponentFixture
<
YdCollegeComponent
>
;
beforeEach
(
async
(()
=>
{
TestBed
.
configureTestingModule
({
declarations
:
[
YdCollegeComponent
]
})
.
compileComponents
();
}));
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
YdCollegeComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
src/app/my/yd-college/yd-college.component.ts
0 → 100644
View file @
4a96e5d7
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
Router
}
from
'@angular/router'
;
@
Component
({
selector
:
'ydlife-yd-college'
,
templateUrl
:
'./yd-college.component.html'
,
styleUrls
:
[
'./yd-college.component.scss'
]
})
export
class
YdCollegeComponent
implements
OnInit
{
public
courseLists
=
[
{
no
:
23
,
name
:
'保险ABC'
,
icon
:
'insuranceABC'
,
link
:
''
,
path
:
`https://
${
window
.
location
.
host
}
/issue`
,
isOpen
:
true
},
{
no
:
24
,
name
:
'岗前训'
,
icon
:
'preJobTraining'
,
link
:
'/prejobTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
25
,
name
:
'新人训'
,
icon
:
'newTraining'
,
link
:
'/newTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
26
,
name
:
'提升训'
,
icon
:
'promotionTraining'
,
link
:
'/advanceTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
27
,
name
:
'CFFP培训'
,
icon
:
'cffpTraining'
,
link
:
'/cffpTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
28
,
name
:
'产品培训'
,
icon
:
'productTraining'
,
link
:
'/productTraining'
,
path
:
''
,
isOpen
:
true
},
{
no
:
29
,
name
:
'我的培训'
,
icon
:
'training'
,
link
:
''
,
path
:
''
,
isOpen
:
false
},
]
public
state
=
{
modal1
:
false
}
onClose
(
key
)
{
this
.
state
[
key
]
=
false
;
}
featureSelect
(
item
){
if
(
!
item
.
isOpen
){
this
.
state
[
'modal1'
]
=
true
;
}
if
(
item
.
path
){
window
.
open
(
item
.
path
);
}
else
if
(
item
.
link
){
this
.
router
.
navigate
([
`./
${
item
.
link
}
`
]);
}
}
constructor
(
private
router
:
Router
)
{
}
ngOnInit
()
{
}
}
src/assets/images/indexIcons/ydCollege.png
View file @
4a96e5d7
809 Bytes
|
W:
|
H:
4.15 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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