From 2d5bbb8626cfeb37819d745c3ce6a2fa507a9c95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=95=AC=E7=91=9C?= <1148019379@qq.com> Date: Mon, 15 Nov 2021 15:53:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E4=BB=8A=E6=97=A5=E9=A2=84?= =?UTF-8?q?=E8=AD=A6=E9=A6=96=E9=A1=B5=E9=9D=A2=E9=80=89=E6=8B=A9=E6=A1=86?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E5=90=8E=E7=AB=AF=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/pages.module.ts | 8 ++++-- .../today-warning-admin.component.html | 17 +++++------ .../today-warning-admin.component.scss | 3 ++ .../today-warning-admin.component.ts | 28 +++++++++++++++++-- .../today-warning.component.html | 5 ++-- .../today-warning/today-warning.component.ts | 16 ++++++++++- 6 files changed, 61 insertions(+), 16 deletions(-) diff --git a/src/app/pages/pages.module.ts b/src/app/pages/pages.module.ts index 73c0fc2..a29c189 100644 --- a/src/app/pages/pages.module.ts +++ b/src/app/pages/pages.module.ts @@ -37,10 +37,13 @@ import { OilStationInfoComponent } from './oil-station-info/oil-station-info.com import { LeftDomainComponent } from './left-domain/left-domain.component'; import { AddequipmentComponent } from './equipment-info/addequipment/addequipment.component'; import { EditequipmentComponent } from './equipment-info/editequipment/editequipment.component'; +import { NzTreeSelectModule } from 'ng-zorro-antd/tree-select'; @NgModule({ - declarations: [LoginComponent, RegisterComponent, HomeComponent, PlanComponent, TodayWarningComponent, CriminalRecordsComponent, TodayWarningAdminComponent, CriminalRecordsAdminComponent, LeftDomainComponent, EquipmentInfoComponent, OilStationInfoComponent, AddequipmentComponent, EditequipmentComponent], + declarations: [LoginComponent, RegisterComponent, HomeComponent, PlanComponent, TodayWarningComponent, CriminalRecordsComponent, + TodayWarningAdminComponent, CriminalRecordsAdminComponent, LeftDomainComponent, EquipmentInfoComponent, OilStationInfoComponent, + AddequipmentComponent, EditequipmentComponent], imports: [ PagesRoutingModule, CommonModule, @@ -67,7 +70,8 @@ import { EditequipmentComponent } from './equipment-info/editequipment/editequip NzDropDownModule, NzMessageModule, NzSpinModule, - NzTreeModule + NzTreeModule, + NzTreeSelectModule ], entryComponents: [AddequipmentComponent, EditequipmentComponent], schemas: [CUSTOM_ELEMENTS_SCHEMA] diff --git a/src/app/pages/today-warning-admin/today-warning-admin.component.html b/src/app/pages/today-warning-admin/today-warning-admin.component.html index 58ed49f..dd0b68d 100644 --- a/src/app/pages/today-warning-admin/today-warning-admin.component.html +++ b/src/app/pages/today-warning-admin/today-warning-admin.component.html @@ -10,6 +10,7 @@ + @@ -17,20 +18,19 @@ - - - + - - - - - + + + +