diff --git a/src/app/pages/equipment-info/equipment-info.component.html b/src/app/pages/equipment-info/equipment-info.component.html index 9d7fb1c..f7b04e9 100644 --- a/src/app/pages/equipment-info/equipment-info.component.html +++ b/src/app/pages/equipment-info/equipment-info.component.html @@ -47,19 +47,22 @@
- {{item.name}} + {{item.name}}
- {{item.storageLocation}} + {{item.storageLocation}}
- {{item.productionDate | date:"yyyy-MM-dd"}} + {{item.productionDate | + date:"yyyy-MM-dd"}}
- {{item.maintenanceDate | date:"yyyy-MM-dd"}} + {{item.maintenanceDate | + date:"yyyy-MM-dd"}}
- {{item.validityEndTime | date:"yyyy-MM-dd"}} + {{item.validityEndTime | + date:"yyyy-MM-dd"}}
@@ -83,4 +86,4 @@
-
+
\ No newline at end of file diff --git a/src/app/pages/equipment-info/equipment-info.component.scss b/src/app/pages/equipment-info/equipment-info.component.scss index 1bf72e0..a89f607 100644 --- a/src/app/pages/equipment-info/equipment-info.component.scss +++ b/src/app/pages/equipment-info/equipment-info.component.scss @@ -74,7 +74,7 @@ color: #23D9FF; background: rgba(35, 153, 255, 0.2); border: 1px solid rgba(35, 217, 255, 0.4); - box-shadow: 0 0 3px 0px #23D9FF inset; + box-shadow: 0 0 3px 0px #23D9FF inset; } .tbody { @@ -88,6 +88,13 @@ line-height: 40px; border-bottom: 1px solid #115188; + div { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + cursor: default; + } + .btn { span { color: #2399FF; @@ -131,4 +138,4 @@ border-radius: 0px; color: #91CCFF; } -} \ No newline at end of file +} diff --git a/src/app/pages/pages.module.ts b/src/app/pages/pages.module.ts index 2f2cfcd..eb6f4da 100644 --- a/src/app/pages/pages.module.ts +++ b/src/app/pages/pages.module.ts @@ -58,7 +58,7 @@ import { ChangePasswordComponent } from './change-password/change-password.compo import { FacilitySortPipe } from './facility-sort.pipe'; import { WarningStatisticsListComponent } from './warning-statistics-list/warning-statistics-list.component'; import { DisposeequipmentComponent } from './warning-statistics-list/disposeequipment/disposeequipment.component'; - +import { NzToolTipModule } from 'ng-zorro-antd/tooltip'; @NgModule({ declarations: [LoginComponent, RegisterComponent, HomeComponent, PlanComponent, TodayWarningComponent, CriminalRecordsComponent, TodayWarningAdminComponent, CriminalRecordsAdminComponent, LeftDomainComponent, EquipmentInfoComponent, OilStationInfoComponent, @@ -102,7 +102,8 @@ import { DisposeequipmentComponent } from './warning-statistics-list/disposeequi NzNotificationModule, NzPopconfirmModule, NzBadgeModule, - NzRadioModule + NzRadioModule, + NzToolTipModule ], entryComponents: [AddequipmentComponent, EditequipmentComponent, GetOutOfLineDetailsComponent, DispositionComponent, OilUnloadingProcessComponent, ChangePasswordComponent, DisposeequipmentComponent], schemas: [CUSTOM_ELEMENTS_SCHEMA]