Browse Source

[修改]修改年限

非煤矿山灾害智能感知和预警系统
邵佳豪 2 years ago
parent
commit
5e925e04f1
  1. 3
      src/app/home/statistic-analysis/form/examine/examine.component.ts
  2. 2
      src/app/home/system-management/user/user.component.html
  3. 1
      src/app/home/task/da-monthly-task-overview/da-monthly-task-overview.component.html
  4. 2
      src/app/home/task/da-monthly-task-overview/da-monthly-task-overview.component.ts
  5. 1
      src/app/home/task/da-oneself-plan/da-oneself-plan.component.html
  6. 2
      src/app/home/task/da-oneself-plan/da-oneself-plan.component.ts
  7. 1
      src/app/home/task/da-subordinate-audit/da-subordinate-audit.component.html
  8. 2
      src/app/home/task/da-subordinate-audit/da-subordinate-audit.component.ts
  9. 1
      src/app/home/task/station-task-apply/station-task-apply.component.html
  10. 2
      src/app/home/task/station-task-apply/station-task-apply.component.ts
  11. 2
      src/app/home/task/station-task-execution/dist/station-task-execution.component.js
  12. 1
      src/app/home/task/station-task-execution/station-task-execution.component.html
  13. 2
      src/app/home/task/station-task-execution/station-task-execution.component.ts
  14. 1
      src/app/home/task/station-weekly-plan/station-weekly-plan.component.html
  15. 2
      src/app/home/task/station-weekly-plan/station-weekly-plan.component.ts
  16. 1
      src/app/home/task/zhi-audit/zhi-audit.component.html
  17. 4
      src/app/home/task/zhi-indicators/zhi-indicators.component.html
  18. 2
      src/app/home/task/zhi-indicators/zhi-indicators.component.ts

3
src/app/home/statistic-analysis/form/examine/examine.component.ts

@ -153,6 +153,7 @@ export class ExamineComponent implements OnInit {
}
ngOnInit(): void {
this.searchForm.date = this.methodService.getDateOf30()
this.getAllOrganization()
@ -315,4 +316,4 @@ export class ExamineComponent implements OnInit {
}
})
}
}
}

2
src/app/home/system-management/user/user.component.html

@ -76,7 +76,7 @@
</ng-template>
</td>
<td class="operation">
<a (click)=" (item)">编辑</a>
<a (click)="editUser(item)">编辑</a>
<a (click)="resetPassword(item)">重置密码</a>
<a *ngIf="!item.enabled" class="green" (click)="cancel(item,true)">启用</a>
<a *ngIf="item.enabled" class="orange" (click)="cancel(item,false)">禁用</a>

1
src/app/home/task/da-monthly-task-overview/da-monthly-task-overview.component.html

@ -4,6 +4,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">

2
src/app/home/task/da-monthly-task-overview/da-monthly-task-overview.component.ts

@ -14,7 +14,7 @@ export class DaMonthlyTaskOverviewComponent implements OnInit {
constructor(private ngZone: NgZone, private http: HttpClient, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private message: NzMessageService) { }
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
this.selectedMonth = item.id

1
src/app/home/task/da-oneself-plan/da-oneself-plan.component.html

@ -4,6 +4,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">

2
src/app/home/task/da-oneself-plan/da-oneself-plan.component.ts

@ -23,7 +23,7 @@ export class DaOneselfPlanComponent implements OnInit {
this.getTuesdayThursdayNum()
}
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
this.selectedMonth = item.id

1
src/app/home/task/da-subordinate-audit/da-subordinate-audit.component.html

@ -4,6 +4,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">

2
src/app/home/task/da-subordinate-audit/da-subordinate-audit.component.ts

@ -50,7 +50,7 @@ export class DaSubordinateAuditComponent implements OnInit {
{ id: 12, name: '12月', isable: true }
]
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
this.selectedMonth = item.id

1
src/app/home/task/station-task-apply/station-task-apply.component.html

@ -25,6 +25,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">

2
src/app/home/task/station-task-apply/station-task-apply.component.ts

@ -45,7 +45,7 @@ export class StationTaskApplyComponent implements OnInit {
{ id: 12, name: '12月', isable: true }
]
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
this.selectedMonth = item.id

2
src/app/home/task/station-task-execution/dist/station-task-execution.component.js vendored

@ -82,7 +82,7 @@ var StationTaskExecutionComponent = /** @class */ (function () {
{ id: 11, name: '11月', isable: true },
{ id: 12, name: '12月', isable: true }
];
this.selectedYear = 2022;
this.selectedYear = 2023;
this.isloading = false;
this.PageNumber = 1;
this.PageSize = 10;

1
src/app/home/task/station-task-execution/station-task-execution.component.html

@ -25,6 +25,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">

2
src/app/home/task/station-task-execution/station-task-execution.component.ts

@ -43,7 +43,7 @@ export class StationTaskExecutionComponent implements OnInit {
{ id: 12, name: '12月', isable: true }
]
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
this.selectedMonth = item.id

1
src/app/home/task/station-weekly-plan/station-weekly-plan.component.html

@ -25,6 +25,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">

2
src/app/home/task/station-weekly-plan/station-weekly-plan.component.ts

@ -41,7 +41,7 @@ export class StationWeeklyPlanComponent implements OnInit {
{ id: 12, name: '12月', isable: true }
]
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
this.selectedMonth = item.id

1
src/app/home/task/zhi-audit/zhi-audit.component.html

@ -4,6 +4,7 @@
<nz-select ngModel="2022">
<nz-option nzValue="2021" nzLabel="2021年"></nz-option>
<nz-option nzValue="2022" nzLabel="2022年"></nz-option>
<nz-option nzValue="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.name == selectedMonth}">

4
src/app/home/task/zhi-indicators/zhi-indicators.component.html

@ -4,6 +4,7 @@
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)">
<nz-option [nzValue]="2021" nzLabel="2021年"></nz-option>
<nz-option [nzValue]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
</nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}">
@ -696,7 +697,8 @@
<tr *ngFor="let item of colSpanTable.data; index as i">
<td>{{item.organizatin.name}}</td>
<td>
<nz-input-number [disabled]="item.planTasks && item.planTasks.length == 0" [(ngModel)]="item.targetCount" [nzMin]="1" [nzMax]="9" [nzStep]="1"
<nz-input-number [disabled]="item.planTasks && item.planTasks.length == 0"
[(ngModel)]="item.targetCount" [nzMin]="1" [nzMax]="9" [nzStep]="1"
(nzBlur)="targetCountChange(rehearsal,item,$event)">
</nz-input-number>
</td>

2
src/app/home/task/zhi-indicators/zhi-indicators.component.ts

@ -41,7 +41,7 @@ export class ZhiIndicatorsComponent implements OnInit {
{ id: 12, name: '12月', isable: true }
]
selectedMonth
selectedYear = 2022
selectedYear = 2023
selectedTime
selectMonth(item) {
console.log('选择月份')

Loading…
Cancel
Save