diff --git a/src/app/pages/home/home.component.html b/src/app/pages/home/home.component.html index 2cd7b54..3d367ba 100644 --- a/src/app/pages/home/home.component.html +++ b/src/app/pages/home/home.component.html @@ -30,6 +30,9 @@
file-category works!
diff --git a/src/app/pages/license/file-category/file-category.component.scss b/src/app/pages/license/file-category/file-category.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/license/file-category/file-category.component.ts b/src/app/pages/license/file-category/file-category.component.ts new file mode 100644 index 0000000..6ce7054 --- /dev/null +++ b/src/app/pages/license/file-category/file-category.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-file-category', + templateUrl: './file-category.component.html', + styleUrls: ['./file-category.component.scss'] +}) +export class FileCategoryComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/pages/license/histories/histories.component.html b/src/app/pages/license/histories/histories.component.html new file mode 100644 index 0000000..13a7fe8 --- /dev/null +++ b/src/app/pages/license/histories/histories.component.html @@ -0,0 +1 @@ +histories works!
diff --git a/src/app/pages/license/histories/histories.component.scss b/src/app/pages/license/histories/histories.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/license/histories/histories.component.ts b/src/app/pages/license/histories/histories.component.ts new file mode 100644 index 0000000..9881665 --- /dev/null +++ b/src/app/pages/license/histories/histories.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-histories', + templateUrl: './histories.component.html', + styleUrls: ['./histories.component.scss'] +}) +export class HistoriesComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/pages/license/inform/inform.component.html b/src/app/pages/license/inform/inform.component.html new file mode 100644 index 0000000..52bfa71 --- /dev/null +++ b/src/app/pages/license/inform/inform.component.html @@ -0,0 +1,42 @@ +update-category works!
diff --git a/src/app/pages/license/update-category/update-category.component.scss b/src/app/pages/license/update-category/update-category.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/pages/license/update-category/update-category.component.ts b/src/app/pages/license/update-category/update-category.component.ts new file mode 100644 index 0000000..15615ba --- /dev/null +++ b/src/app/pages/license/update-category/update-category.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-update-category', + templateUrl: './update-category.component.html', + styleUrls: ['./update-category.component.scss'] +}) +export class UpdateCategoryComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/pages/pages-routing.module.ts b/src/app/pages/pages-routing.module.ts index 903c72f..9372cd2 100644 --- a/src/app/pages/pages-routing.module.ts +++ b/src/app/pages/pages-routing.module.ts @@ -13,6 +13,7 @@ import { HomePageComponent } from './home-page/home-page.component'; import { OilUnloadingProcessListComponent } from './oil-unloading-process-list/oil-unloading-process-list.component'; import { init3DGuard } from './init3D.guard'; import { WarningStatisticsListComponent } from './warning-statistics-list/warning-statistics-list.component'; +import { NavBarComponent } from './license/nav-bar/nav-bar.component'; const routes: Routes = [ { path: 'homepage', component: HomePageComponent }, @@ -27,7 +28,8 @@ const routes: Routes = [ { path: 'records/warningstatisticslist', component: WarningStatisticsListComponent }, { path: 'records/petrolStation/warningstatisticslist', component: WarningStatisticsListComponent }, { path: 'equipmentInfo', component: EquipmentInfoComponent }, - { path: 'oliStationInfo', component: OilStationInfoComponent } + { path: 'oliStationInfo', component: OilStationInfoComponent }, + { path: 'license/petrolStation', component: NavBarComponent } ]; @NgModule({ diff --git a/src/app/pages/pages.module.ts b/src/app/pages/pages.module.ts index eb6f4da..694d4fa 100644 --- a/src/app/pages/pages.module.ts +++ b/src/app/pages/pages.module.ts @@ -59,10 +59,15 @@ 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'; +import { NavBarComponent } from './license/nav-bar/nav-bar.component'; +import { InformComponent } from './license/inform/inform.component'; +import { UpdateCategoryComponent } from './license/update-category/update-category.component'; +import { FileCategoryComponent } from './license/file-category/file-category.component'; +import { HistoriesComponent } from './license/histories/histories.component'; @NgModule({ declarations: [LoginComponent, RegisterComponent, HomeComponent, PlanComponent, TodayWarningComponent, CriminalRecordsComponent, TodayWarningAdminComponent, CriminalRecordsAdminComponent, LeftDomainComponent, EquipmentInfoComponent, OilStationInfoComponent, - AddequipmentComponent, EditequipmentComponent, PlanAdminComponent, GetOutOfLineDetailsComponent, DispositionComponent, OilUnloadingProcessComponent, HomePageComponent, OilUnloadingProcessListComponent, ChangePasswordComponent, FacilitySortPipe, WarningStatisticsListComponent, DisposeequipmentComponent], + AddequipmentComponent, EditequipmentComponent, PlanAdminComponent, GetOutOfLineDetailsComponent, DispositionComponent, OilUnloadingProcessComponent, HomePageComponent, OilUnloadingProcessListComponent, ChangePasswordComponent, FacilitySortPipe, WarningStatisticsListComponent, DisposeequipmentComponent, NavBarComponent, InformComponent, UpdateCategoryComponent, FileCategoryComponent, HistoriesComponent], imports: [ diff --git a/src/theme.less b/src/theme.less index 58220b1..0ff888d 100644 --- a/src/theme.less +++ b/src/theme.less @@ -1,6 +1,27 @@ @import "../node_modules/ng-zorro-antd/ng-zorro-antd.less"; +.buleColor { + color: #36A2FF; + cursor: pointer; +} + +.greyColor { + color: #5D687A; + cursor: not-allowed; + // pointer-events: none; +} + +.yellowColor { + color: #FFBD4B; +} +.greenColor { + color: #4BFFD4; +} + +.redColor { + color: #FF4B65; +} //分页器 #recordsboxadmin, @@ -26,8 +47,6 @@ } } - - //查询重置按钮 .submit { background: rgba(0, 129, 255, 0.61); @@ -60,6 +79,7 @@ background: #FF9963; } + //接收报警弹出框 .ant-notification { width: 500px; @@ -165,28 +185,12 @@ } } -//表格 -#userBox, -#roleBox, -#hostbox { - .ant-table-thead>tr>th { - background: rgba(145, 204, 255, 0.15); - } -} -#hostbox { - - .ant-table-thead>tr>th, - .ant-table-tbody>tr>td { - text-align: center; - } -} @select-background: transparent; @border-color-base: #91CCFF; //日期选择器 -// @input-placeholder-color: #345d85; #recordsboxadmin, #recordsbox, #warningbox, @@ -227,15 +231,11 @@ color: #36A2FF; } - //日期选择器 - // @input-placeholder-color: #345d85; - .ant-picker-suffix, .ant-picker-input>input { color: rgba(145, 204, 255, 0.95); } - } @@ -250,7 +250,7 @@ } -//input填充100% +//input填充100% --- 油站基本信息页面 #oilStationInfo { nz-form-item { margin-bottom: 0px; @@ -292,8 +292,26 @@ } } +//蓝色 表格 tree +#stationPlanBox, +#inform { + ::-webkit-input-placeholder { + /* WebKit browsers */ + color: #345d85; + } -#stationPlanBox { + //滚动条样式 + ::-webkit-scrollbar { + width: 5px; + } + + ::-webkit-scrollbar-thumb { + background-image: linear-gradient(#2495f8, #1c73c2, #0a3d6a, #061d3c); + } + + ::-webkit-scrollbar-track { + background-color: #061d3c; + } .ant-tree .ant-tree-node-content-wrapper:hover, .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected { @@ -322,7 +340,7 @@ nz-table { flex: 1; - width: 96%; + width: 100%; } .ant-table { @@ -381,25 +399,20 @@ } } +#stationPlanBox { + nz-table { + width: 96%; + } +} .ant-modal-close-x { color: #fff; } - .maxHeightTreeSelect { max-height: 280px; } -.cdk-overlay-pane { - // position: fixed!important; - // top: 47px; - // right: 26px!important; - // left: none!important; - - // width: 88px; -} - .vertical-center-modal { display: flex; align-items: center; @@ -421,6 +434,28 @@ top: 50%; transform: translate(-50%, -50%); } -.ant-pagination-prev,.ant-pagination-next{ + +.ant-pagination-prev, +.ant-pagination-next { overflow: hidden; -} \ No newline at end of file +} + + + + +//管理员界面 ---- 表格 +#userBox, +#roleBox, +#hostbox { + .ant-table-thead>tr>th { + background: rgba(145, 204, 255, 0.15); + } +} + +#hostbox { + + .ant-table-thead>tr>th, + .ant-table-tbody>tr>td { + text-align: center; + } +}