Commit 86480ef0 by sunchao

移动端以前日程不可编辑

parent e4c3c109
......@@ -105,7 +105,7 @@
</div>
<div>
<span>数量</span>
<div style="width: 100%;font-size: 20px;font-weight: bold;">{{taskLen?.length }}</div>
<div style="width: 100%;font-size: 24px;font-weight: bold;">{{taskLen?.length }}</div>
</div>
</div>
</div>
......
......@@ -211,6 +211,8 @@ ul,ol{
background: #ECF6FF;
border-radius: 12px;
padding: 10px;
justify-content: space-between;
align-items: center;
.activities{
display: flex;
font-size: 14px;
......@@ -235,7 +237,6 @@ ul,ol{
margin-left: 2%;
}
.todo{
display: flex;
background: #FFF5F5;
div{
width: 50%;
......
......@@ -94,7 +94,6 @@ export class TeamPanelComponent implements OnInit {
//活动量得分统计
queryPEPScore(){
this.myService.queryPEPScore({ practitionerId: this.practitionerId }).subscribe((res)=>{
console.log(res)
if(res['success']){
this.averageData = res['data']['average'];
}
......
......@@ -13,7 +13,7 @@
<div style="font-size: 18px;margin: 5px auto;text-align: center;">战队成员活动量得分</div>
<div class="content_wrapper">
<ul style="border: none;">
<li>姓名</li>
<li class="name">姓名</li>
<li class="day">今天</li>
<li>本周</li>
<li>本月</li>
......@@ -25,8 +25,10 @@
暂无战队成员,努力去增员吧
</div>
<ul *ngFor="let personalItem of personalList;index as i;" [routerLink]="['/scoreDeatil',personalItem.practitionerId]">
<li><span> {{i + 1}} </span>
{{personalItem.name}}</li>
<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>{{personalItem.weekScore}}</li>
<li>{{personalItem.monthScore}}</li>
......
......@@ -57,7 +57,6 @@ export class TeamSalesScoreComponent implements OnInit {
//活动量得分统计
queryPEPScore(){
this.myService.queryPEPScore({ practitionerId: this.practitionerId }).subscribe((res)=>{
console.log(res)
if(res['success']){
this.personalList = res['data']['personalList'];
}
......
......@@ -66,6 +66,12 @@ export class TodoListComponent implements OnInit {
if(sessionStorage.getItem('trackTime')){
this.trackTime = sessionStorage.getItem('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{
//初始化追踪时间为今天
this.trackTime = dayjs().format('YYYY-MM-DD');
......
......@@ -124,7 +124,10 @@ input::placeholder {
}
}
}
.am-toast-notice-content .am-toast-text{
padding: 30px 15px;
font-size: 18px;
}
.search_wrapper{
.am-demo-page .am-demo-bd .am-search{
background: #fff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment