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
683b1504
Commit
683b1504
authored
Nov 13, 2020
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公司制度提出来单独的菜单&我的团队开放给所有经纪人
parent
20fdddaf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
16 deletions
+36
-16
src/app/my/file-upload/file-upload.component.html
+1
-1
src/app/my/file-upload/file-upload.component.ts
+10
-2
src/app/my/my-center-home/my-center-home.component.ts
+16
-12
src/app/my/team-panel/team-panel.component.ts
+9
-1
src/assets/images/management.png
+0
-0
No files found.
src/app/my/file-upload/file-upload.component.html
View file @
683b1504
<div
class=
"fileUploadLists"
>
<div
class=
"fileUploadLists"
>
<div
class=
"nav"
>
<div
class=
"nav"
*
ngIf=
"!fileUploadType"
>
<ul
class=
"left"
>
<ul
class=
"left"
>
<li
*
ngFor=
"let categoryItem of categoryList"
(
click
)="
switchCategory
(
categoryItem
.
id
)"
<li
*
ngFor=
"let categoryItem of categoryList"
(
click
)="
switchCategory
(
categoryItem
.
id
)"
[
ngClass
]="{'
actived
'
:selectedCategoryId=
==categoryItem.id}"
>
[
ngClass
]="{'
actived
'
:selectedCategoryId=
==categoryItem.id}"
>
...
...
src/app/my/file-upload/file-upload.component.ts
View file @
683b1504
...
@@ -14,14 +14,18 @@ export class FileUploadComponent implements OnInit {
...
@@ -14,14 +14,18 @@ export class FileUploadComponent implements OnInit {
type
:
string
;
type
:
string
;
categoryList
:
Array
<
any
>
;
categoryList
:
Array
<
any
>
;
selectedCategoryId
:
number
;
selectedCategoryId
:
number
;
fileUploadType
:
any
;
constructor
(
private
myService
:
MyService
,
private
activatedRoute
:
ActivatedRoute
)
{
constructor
(
private
myService
:
MyService
,
private
activatedRoute
:
ActivatedRoute
)
{
}
}
ngOnInit
()
{
ngOnInit
()
{
this
.
type
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'type'
];
this
.
type
=
this
.
activatedRoute
.
snapshot
.
data
[
0
][
'type'
];
this
.
fileUploadType
=
this
.
activatedRoute
.
snapshot
.
queryParams
.
fileUploadType
?
this
.
activatedRoute
.
snapshot
.
queryParams
.
fileUploadType
:
null
;
this
.
dropOptionsQuery
();
this
.
dropOptionsQuery
();
if
(
this
.
type
===
'fileUpload'
)
{
if
(
this
.
type
===
'fileUpload'
)
{
this
.
fileUpload
(
3
,
0
,
19
,
'yd_download_file_type'
,
this
.
selectedCategoryId
);
this
.
fileUpload
(
3
,
0
,
19
,
'yd_download_file_type'
,
this
.
selectedCategoryId
);
}
else
if
(
this
.
type
===
'training'
)
{
}
else
if
(
this
.
type
===
'training'
)
{
this
.
fileUpload
(
3
,
0
,
23
,
'yd_trainning_file_type'
,
this
.
selectedCategoryId
);
this
.
fileUpload
(
3
,
0
,
23
,
'yd_trainning_file_type'
,
this
.
selectedCategoryId
);
}
}
...
@@ -44,7 +48,11 @@ export class FileUploadComponent implements OnInit {
...
@@ -44,7 +48,11 @@ export class FileUploadComponent implements OnInit {
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
this
.
categoryList
=
res
[
'data'
][
'dropMasterInfoList'
][
0
][
'dropOptionsInfoList'
];
this
.
categoryList
=
res
[
'data'
][
'dropMasterInfoList'
][
0
][
'dropOptionsInfoList'
];
if
(
this
.
categoryList
.
length
>
0
)
{
if
(
this
.
categoryList
.
length
>
0
)
{
this
.
selectedCategoryId
=
this
.
categoryList
[
0
].
id
;
if
(
this
.
fileUploadType
){
this
.
selectedCategoryId
=
81
;
}
else
{
this
.
selectedCategoryId
=
this
.
categoryList
[
0
].
id
;
}
this
.
switchCategory
(
this
.
selectedCategoryId
)
this
.
switchCategory
(
this
.
selectedCategoryId
)
}
}
}
else
{
}
else
{
...
...
src/app/my/my-center-home/my-center-home.component.ts
View file @
683b1504
...
@@ -99,7 +99,19 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -99,7 +99,19 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
{
no
:
18
,
subtitle
:
'招募海报'
,
icon
:
'poster_r'
,
path
:
''
,
routerLink
:
''
},
{
no
:
18
,
subtitle
:
'招募海报'
,
icon
:
'poster_r'
,
path
:
''
,
routerLink
:
''
},
{
no
:
''
,
subtitle
:
''
,
icon
:
'default'
,
path
:
''
,
routerLink
:
''
}
{
no
:
''
,
subtitle
:
''
,
icon
:
'default'
,
path
:
''
,
routerLink
:
''
}
],
],
isShow
:
this
.
isShow
// isShow: this.isShow
isShow
:
true
},
{
title
:
'我的展业'
,
content
:
[
{
no
:
12
,
subtitle
:
'我的保单'
,
icon
:
'policy'
,
path
:
''
,
routerLink
:
''
},
{
no
:
20
,
subtitle
:
'我的客户'
,
icon
:
'customer'
,
path
:
''
,
routerLink
:
''
},
// { no: 14, subtitle: '我的佣金', icon: 'commission', path: '', routerLink: '' },
{
no
:
19
,
subtitle
:
'薪资单'
,
icon
:
'salary'
,
path
:
''
,
routerLink
:
'salary'
},
{
no
:
21
,
subtitle
:
'公司制度'
,
icon
:
'management'
,
path
:
''
,
routerLink
:
''
}
],
isShow
:
true
},
},
{
{
title
:
'教育培训'
,
title
:
'教育培训'
,
...
@@ -111,16 +123,6 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -111,16 +123,6 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
],
],
isShow
:
true
isShow
:
true
},
{
title
:
'我的展业'
,
content
:
[
{
no
:
12
,
subtitle
:
'我的保单'
,
icon
:
'policy'
,
path
:
''
,
routerLink
:
''
},
{
no
:
20
,
subtitle
:
'我的客户'
,
icon
:
'customer'
,
path
:
''
,
routerLink
:
''
},
// { no: 14, subtitle: '我的佣金', icon: 'commission', path: '', routerLink: '' },
{
no
:
19
,
subtitle
:
'薪资单'
,
icon
:
'salary'
,
path
:
''
,
routerLink
:
'salary'
},
{
no
:
''
,
subtitle
:
''
,
icon
:
'default'
,
path
:
''
,
routerLink
:
''
}
],
isShow
:
true
}
}
];
];
}
}
...
@@ -149,7 +151,9 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
...
@@ -149,7 +151,9 @@ export class MyCenterHomeComponent implements OnInit, AfterViewInit {
return
;
return
;
}
else
if
(
item
.
no
===
18
)
{
}
else
if
(
item
.
no
===
18
)
{
this
.
router
.
navigate
([
'/material'
],
{
queryParams
:
{
recruit
:
'recruit'
}
});
this
.
router
.
navigate
([
'/material'
],
{
queryParams
:
{
recruit
:
'recruit'
}
});
}
else
{
}
else
if
(
item
.
no
===
21
){
this
.
router
.
navigate
([
'/fileUpload'
],
{
queryParams
:
{
fileUploadType
:
'management'
}
});
}
else
{
this
.
isNeedAlert
=
true
;
this
.
isNeedAlert
=
true
;
this
.
dialogInfo
=
{
this
.
dialogInfo
=
{
title
:
null
,
title
:
null
,
...
...
src/app/my/team-panel/team-panel.component.ts
View file @
683b1504
...
@@ -77,7 +77,15 @@ export class TeamPanelComponent implements OnInit {
...
@@ -77,7 +77,15 @@ export class TeamPanelComponent implements OnInit {
}
}
this
.
myService
.
subordinateSystemMemberQuery
(
param
).
subscribe
((
res
)
=>
{
this
.
myService
.
subordinateSystemMemberQuery
(
param
).
subscribe
((
res
)
=>
{
if
(
res
[
'success'
])
{
if
(
res
[
'success'
])
{
this
.
statisticInfo
=
res
[
'data'
][
'statisticInfo'
]
this
.
statisticInfo
=
res
[
'data'
][
'statisticInfo'
];
}
if
(
!
this
.
statisticInfo
){
this
.
statisticInfo
=
{
fyp
:
0
,
fyc
:
0
,
count
:
0
,
completionRate
:
0
}
}
}
})
})
}
}
...
...
src/assets/images/management.png
0 → 100644
View file @
683b1504
1.36 KB
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