diff --git a/angular.json b/angular.json index a26ea44..2ede4bb 100644 --- a/angular.json +++ b/angular.json @@ -37,14 +37,14 @@ ], "styles": [ "src/styles.scss", - "node_modules/ng-zorro-antd/ng-zorro-antd.min.css" + "node_modules/ng-zorro-antd/ng-zorro-antd.min.css", + "src/theme.less" ], "scripts": [] }, "configurations": { "production": { - "budgets": [ - { + "budgets": [{ "type": "initial", "maximumWarning": "5mb", "maximumError": "5mb" @@ -55,12 +55,10 @@ "maximumError": "4kb" } ], - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.prod.ts" - } - ], + "fileReplacements": [{ + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + }], "outputHashing": "all" }, "development": { diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts index 3e0f3b5..5e23858 100644 --- a/src/app/home/home.module.ts +++ b/src/app/home/home.module.ts @@ -25,6 +25,8 @@ import { StationTaskExecutionComponent } from './task/station-task-execution/sta import { StationTaskApplyComponent } from './task/station-task-apply/station-task-apply.component'; import { StationWeeklyPlanComponent } from './task/station-weekly-plan/station-weekly-plan.component'; import { NzProgressModule } from 'ng-zorro-antd/progress'; +import { NzEmptyModule } from 'ng-zorro-antd/empty'; +import { NzButtonModule } from 'ng-zorro-antd/button'; @NgModule({ declarations: [ NavComponent, @@ -54,7 +56,9 @@ import { NzProgressModule } from 'ng-zorro-antd/progress'; NzInputModule, NzTableModule, NzIconModule, - NzProgressModule + NzProgressModule, + NzEmptyModule, + NzButtonModule ] }) export class HomeModule { } diff --git a/src/app/home/statistic-analysis/statistic-analysis.component.html b/src/app/home/statistic-analysis/statistic-analysis.component.html index 1056d25..a6a2170 100644 --- a/src/app/home/statistic-analysis/statistic-analysis.component.html +++ b/src/app/home/statistic-analysis/statistic-analysis.component.html @@ -1 +1,4 @@ -
功能开发中
+ +