Browse Source

[完善]年份增加

master
邵佳豪 2 months ago
parent
commit
68177e7291
  1. 4
      proxy.config.json
  2. 1
      src/app/home/statistic-analysis/home/home.component.ts
  3. 3
      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. 2
      src/app/home/task/da-oneself-plan/da-oneself-plan.component.ts
  6. 3
      src/app/home/task/da-subordinate-audit/da-subordinate-audit.component.html
  7. 2
      src/app/home/task/da-subordinate-audit/da-subordinate-audit.component.ts
  8. 3
      src/app/home/task/station-task-apply/station-task-apply.component.html
  9. 2
      src/app/home/task/station-task-apply/station-task-apply.component.ts
  10. 3
      src/app/home/task/station-task-execution/station-task-execution.component.html
  11. 2
      src/app/home/task/station-task-execution/station-task-execution.component.ts
  12. 3
      src/app/home/task/station-weekly-plan/station-weekly-plan.component.html
  13. 2
      src/app/home/task/station-weekly-plan/station-weekly-plan.component.ts
  14. 5
      src/app/home/task/zhi-audit/zhi-audit.component.html

4
proxy.config.json

@ -1,13 +1,13 @@
{ {
"/api": { "/api": {
"target": "https://121.36.37.70:8204/", "target": "https://fx.anxincloud.cn/",
"测试": "https://121.36.37.70:8204/", "测试": "https://121.36.37.70:8204/",
"生产": "https://fx.anxincloud.cn/", "生产": "https://fx.anxincloud.cn/",
"secure": false, "secure": false,
"changeOrigin": true "changeOrigin": true
}, },
"/hubs": { "/hubs": {
"target": "https://121.36.37.70:8204/", "target": "https://fx.anxincloud.cn/",
"secure": false, "secure": false,
"ws": true, "ws": true,
"logLevel": "debug" "logLevel": "debug"

1
src/app/home/statistic-analysis/home/home.component.ts

@ -890,6 +890,7 @@ export class HomeComponent implements OnInit {
clickCard(item) { clickCard(item) {
console.log(item); console.log(item);
// return
if (item.name.indexOf('单位') !== -1) { if (item.name.indexOf('单位') !== -1) {
this.modal.create({ this.modal.create({
nzTitle: item.name + '列表', nzTitle: item.name + '列表',

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

@ -2,9 +2,10 @@
<div class="box"> <div class="box">
<div class="timebox"> <div class="timebox">
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)"> <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]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option> <nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
<nz-option [nzValue]="2024" nzLabel="2024年"></nz-option>
<nz-option [nzValue]="2025" nzLabel="2025年"></nz-option>
</nz-select> </nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)" <div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}"> [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) { } constructor(private ngZone: NgZone, private http: HttpClient, private modal: NzModalService, private viewContainerRef: ViewContainerRef, private message: NzMessageService) { }
selectedMonth selectedMonth
selectedYear = 2023 selectedYear = 2024
selectedTime selectedTime
selectMonth(item) { selectMonth(item) {
this.selectedMonth = item.id this.selectedMonth = item.id

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

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

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

@ -2,9 +2,10 @@
<div class="box"> <div class="box">
<div class="timebox"> <div class="timebox">
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)"> <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]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option> <nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
<nz-option [nzValue]="2024" nzLabel="2024年"></nz-option>
<nz-option [nzValue]="2025" nzLabel="2025年"></nz-option>
</nz-select> </nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)" <div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}"> [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 } { id: 12, name: '12月', isable: true }
] ]
selectedMonth selectedMonth
selectedYear = 2023 selectedYear = 2024
selectedTime selectedTime
selectMonth(item) { selectMonth(item) {
this.selectedMonth = item.id this.selectedMonth = item.id

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

@ -23,9 +23,10 @@
</div> </div>
<div class="timebox"> <div class="timebox">
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)"> <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]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option> <nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
<nz-option [nzValue]="2024" nzLabel="2024年"></nz-option>
<nz-option [nzValue]="2025" nzLabel="2025年"></nz-option>
</nz-select> </nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)" <div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}"> [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 } { id: 12, name: '12月', isable: true }
] ]
selectedMonth selectedMonth
selectedYear = 2023 selectedYear = 2024
selectedTime selectedTime
selectMonth(item) { selectMonth(item) {
this.selectedMonth = item.id this.selectedMonth = item.id

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

@ -23,9 +23,10 @@
</div> </div>
<div class="timebox"> <div class="timebox">
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)"> <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]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option> <nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
<nz-option [nzValue]="2024" nzLabel="2024年"></nz-option>
<nz-option [nzValue]="2025" nzLabel="2025年"></nz-option>
</nz-select> </nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)" <div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}"> [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 } { id: 12, name: '12月', isable: true }
] ]
selectedMonth selectedMonth
selectedYear = 2023 selectedYear = 2024
selectedTime selectedTime
selectMonth(item) { selectMonth(item) {
this.selectedMonth = item.id this.selectedMonth = item.id

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

@ -23,9 +23,10 @@
</div> </div>
<div class="timebox"> <div class="timebox">
<nz-select [(ngModel)]="selectedYear" (ngModelChange)="selectYear($event)"> <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]="2022" nzLabel="2022年"></nz-option>
<nz-option [nzValue]="2023" nzLabel="2023年"></nz-option> <nz-option [nzValue]="2023" nzLabel="2023年"></nz-option>
<nz-option [nzValue]="2024" nzLabel="2024年"></nz-option>
<nz-option [nzValue]="2025" nzLabel="2025年"></nz-option>
</nz-select> </nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)" <div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.id == selectedMonth}"> [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 } { id: 12, name: '12月', isable: true }
] ]
selectedMonth selectedMonth
selectedYear = 2023 selectedYear = 2024
selectedTime selectedTime
selectMonth(item) { selectMonth(item) {
this.selectedMonth = item.id this.selectedMonth = item.id

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

@ -1,10 +1,11 @@
<!-- <p>任务审批</p> --> <!-- <p>任务审批</p> -->
<div class="box"> <div class="box">
<div class="timebox"> <div class="timebox">
<nz-select ngModel="2022"> <nz-select ngModel="2024">
<nz-option nzValue="2021" nzLabel="2021年"></nz-option>
<nz-option nzValue="2022" nzLabel="2022年"></nz-option> <nz-option nzValue="2022" nzLabel="2022年"></nz-option>
<nz-option nzValue="2023" nzLabel="2023年"></nz-option> <nz-option nzValue="2023" nzLabel="2023年"></nz-option>
<nz-option nzValue="2024" nzLabel="2024年"></nz-option>
<nz-option nzValue="2025" nzLabel="2025年"></nz-option>
</nz-select> </nz-select>
<div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)" <div *ngFor="let item of months" class="monthbtn" (click)="selectMonth(item)"
[ngClass]="{'selectedMonth': item.name == selectedMonth}"> [ngClass]="{'selectedMonth': item.name == selectedMonth}">

Loading…
Cancel
Save