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
86480ef0
Commit
86480ef0
authored
Sep 27, 2020
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移动端以前日程不可编辑
parent
e4c3c109
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
8 deletions
+18
-8
src/app/my/my-center-home/my-center-home.component.html
+1
-1
src/app/my/my-center-home/my-center-home.component.scss
+2
-1
src/app/my/team-panel/team-panel.component.ts
+0
-1
src/app/my/team-sales-score/team-sales-score.component.html
+5
-3
src/app/my/team-sales-score/team-sales-score.component.ts
+0
-1
src/app/my/todo-list/todo-list.component.ts
+6
-0
src/styles.scss
+4
-1
No files found.
src/app/my/my-center-home/my-center-home.component.html
View file @
86480ef0
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
</div>
</div>
<div>
<div>
<span>
数量
</span>
<span>
数量
</span>
<div
style=
"width: 100%;font-size: 2
0
px;font-weight: bold;"
>
{{taskLen?.length }}
</div>
<div
style=
"width: 100%;font-size: 2
4
px;font-weight: bold;"
>
{{taskLen?.length }}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/app/my/my-center-home/my-center-home.component.scss
View file @
86480ef0
...
@@ -211,6 +211,8 @@ ul,ol{
...
@@ -211,6 +211,8 @@ ul,ol{
background
:
#ECF6FF
;
background
:
#ECF6FF
;
border-radius
:
12px
;
border-radius
:
12px
;
padding
:
10px
;
padding
:
10px
;
justify-content
:
space-between
;
align-items
:
center
;
.activities
{
.activities
{
display
:
flex
;
display
:
flex
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -235,7 +237,6 @@ ul,ol{
...
@@ -235,7 +237,6 @@ ul,ol{
margin-left
:
2%
;
margin-left
:
2%
;
}
}
.todo
{
.todo
{
display
:
flex
;
background
:
#FFF5F5
;
background
:
#FFF5F5
;
div
{
div
{
width
:
50%
;
width
:
50%
;
...
...
src/app/my/team-panel/team-panel.component.ts
View file @
86480ef0
...
@@ -94,7 +94,6 @@ export class TeamPanelComponent implements OnInit {
...
@@ -94,7 +94,6 @@ export class TeamPanelComponent implements OnInit {
//活动量得分统计
//活动量得分统计
queryPEPScore
(){
queryPEPScore
(){
this
.
myService
.
queryPEPScore
({
practitionerId
:
this
.
practitionerId
}).
subscribe
((
res
)
=>
{
this
.
myService
.
queryPEPScore
({
practitionerId
:
this
.
practitionerId
}).
subscribe
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
averageData
=
res
[
'data'
][
'average'
];
this
.
averageData
=
res
[
'data'
][
'average'
];
}
}
...
...
src/app/my/team-sales-score/team-sales-score.component.html
View file @
86480ef0
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<div
style=
"font-size: 18px;margin: 5px auto;text-align: center;"
>
战队成员活动量得分
</div>
<div
style=
"font-size: 18px;margin: 5px auto;text-align: center;"
>
战队成员活动量得分
</div>
<div
class=
"content_wrapper"
>
<div
class=
"content_wrapper"
>
<ul
style=
"border: none;"
>
<ul
style=
"border: none;"
>
<li>
姓名
</li>
<li
class=
"name"
>
姓名
</li>
<li
class=
"day"
>
今天
</li>
<li
class=
"day"
>
今天
</li>
<li>
本周
</li>
<li>
本周
</li>
<li>
本月
</li>
<li>
本月
</li>
...
@@ -25,8 +25,10 @@
...
@@ -25,8 +25,10 @@
暂无战队成员,努力去增员吧
暂无战队成员,努力去增员吧
</div>
</div>
<ul
*
ngFor=
"let personalItem of personalList;index as i;"
[
routerLink
]="['/
scoreDeatil
',
personalItem
.
practitionerId
]"
>
<ul
*
ngFor=
"let personalItem of personalList;index as i;"
[
routerLink
]="['/
scoreDeatil
',
personalItem
.
practitionerId
]"
>
<li><span>
{{i + 1}}
</span>
<li>
{{personalItem.name}}
</li>
<span
class=
"name"
>
{{i + 1}}
</span>
<i
style=
"margin-left: 10px;font-style: normal;"
>
{{personalItem.name}}
</i>
</li>
<li
class=
"day"
>
{{personalItem.dayScore}}
</li>
<li
class=
"day"
>
{{personalItem.dayScore}}
</li>
<li>
{{personalItem.weekScore}}
</li>
<li>
{{personalItem.weekScore}}
</li>
<li>
{{personalItem.monthScore}}
</li>
<li>
{{personalItem.monthScore}}
</li>
...
...
src/app/my/team-sales-score/team-sales-score.component.ts
View file @
86480ef0
...
@@ -57,7 +57,6 @@ export class TeamSalesScoreComponent implements OnInit {
...
@@ -57,7 +57,6 @@ export class TeamSalesScoreComponent implements OnInit {
//活动量得分统计
//活动量得分统计
queryPEPScore
(){
queryPEPScore
(){
this
.
myService
.
queryPEPScore
({
practitionerId
:
this
.
practitionerId
}).
subscribe
((
res
)
=>
{
this
.
myService
.
queryPEPScore
({
practitionerId
:
this
.
practitionerId
}).
subscribe
((
res
)
=>
{
console
.
log
(
res
)
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
this
.
personalList
=
res
[
'data'
][
'personalList'
];
this
.
personalList
=
res
[
'data'
][
'personalList'
];
}
}
...
...
src/app/my/todo-list/todo-list.component.ts
View file @
86480ef0
...
@@ -66,6 +66,12 @@ export class TodoListComponent implements OnInit {
...
@@ -66,6 +66,12 @@ export class TodoListComponent implements OnInit {
if
(
sessionStorage
.
getItem
(
'trackTime'
)){
if
(
sessionStorage
.
getItem
(
'trackTime'
)){
this
.
trackTime
=
sessionStorage
.
getItem
(
'trackTime'
);
this
.
trackTime
=
sessionStorage
.
getItem
(
'trackTime'
);
this
.
weekArr
=
this
.
lifeCommonService
.
makeDate
(
this
.
trackTime
);
this
.
weekArr
=
this
.
lifeCommonService
.
makeDate
(
this
.
trackTime
);
//选中时间<当前时间
if
((
new
Date
((
this
.
trackTime
+
' 23:59'
).
replace
(
/-/g
,
'/'
)).
getTime
())
<
this
.
localTime
){
this
.
editFlag
=
false
;
}
else
{
this
.
editFlag
=
true
;
}
}
else
{
}
else
{
//初始化追踪时间为今天
//初始化追踪时间为今天
this
.
trackTime
=
dayjs
().
format
(
'YYYY-MM-DD'
);
this
.
trackTime
=
dayjs
().
format
(
'YYYY-MM-DD'
);
...
...
src/styles.scss
View file @
86480ef0
...
@@ -124,7 +124,10 @@ input::placeholder {
...
@@ -124,7 +124,10 @@ input::placeholder {
}
}
}
}
}
}
.am-toast-notice-content
.am-toast-text
{
padding
:
30px
15px
;
font-size
:
18px
;
}
.search_wrapper
{
.search_wrapper
{
.am-demo-page
.am-demo-bd
.am-search
{
.am-demo-page
.am-demo-bd
.am-search
{
background
:
#fff
;
background
:
#fff
;
...
...
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