From 73db19c1b530bdb7aa259f1c2d7d2eca00f48340 Mon Sep 17 00:00:00 2001 From: qq55341701 <55341701@qq.com> Date: Thu, 29 Dec 2022 09:53:41 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E9=A2=84=E8=AD=A6=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=8F=AF=E6=8B=96=E6=8B=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/app.module.ts | 3 ++- src/app/pages/home-page/home-page.component.ts | 5 ++--- src/app/pages/home/home.component.ts | 12 +++++------- .../system-model/system-model.component.html | 3 +++ .../system-model/system-model.component.scss | 6 ++++++ .../system-model/system-model.component.ts | 18 ++++++++++++++++++ src/app/pages/pages.module.ts | 4 ++-- .../criminal-records-admin.component.ts | 5 ++--- .../criminal-records.component.ts | 5 ++--- .../oil-unloading-process-list.component.ts | 1 - .../warning-statistics-list.component.ts | 5 ++--- .../today-warning-admin.component.ts | 5 ++--- .../get-out-of-line-details.component.html | 7 +++++-- .../get-out-of-line-details.component.scss | 15 ++++++++++++++- .../get-out-of-line-details.component.ts | 6 +++++- .../today-warning/today-warning.component.ts | 10 +++++++--- src/theme.less | 13 ++++++++++--- 17 files changed, 87 insertions(+), 36 deletions(-) create mode 100644 src/app/pages/home/system-model/system-model.component.html create mode 100644 src/app/pages/home/system-model/system-model.component.scss create mode 100644 src/app/pages/home/system-model/system-model.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 6d04b2c..46ec9f6 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -16,8 +16,9 @@ import { NzMessageModule } from 'ng-zorro-antd/message'; AppComponent, ], imports: [ - BrowserModule, AppRoutingModule, + BrowserModule, + BrowserAnimationsModule, PagesModule, FormsModule, diff --git a/src/app/pages/home-page/home-page.component.ts b/src/app/pages/home-page/home-page.component.ts index 3ebf3c0..4511b3d 100644 --- a/src/app/pages/home-page/home-page.component.ts +++ b/src/app/pages/home-page/home-page.component.ts @@ -867,12 +867,11 @@ export class HomePageComponent implements OnInit { nzWrapClassName: "vertical-center-modal", nzViewContainerRef: this.viewContainerRef, nzWidth: (document.documentElement.clientHeight < 650 || document.documentElement.clientWidth < 1400) ? 1000 : 1200, + nzClosable: false, + nzClassName: 'modelnobg', nzBodyStyle: { - 'border': '1px solid #6d9cc7', 'border-radius': '0px', 'padding': '0px', - 'box-shadow': '0 0 8px 0 #fff', - 'background': '#000D21', }, nzComponentParams: { data: data diff --git a/src/app/pages/home/home.component.ts b/src/app/pages/home/home.component.ts index a589783..f9e7917 100644 --- a/src/app/pages/home/home.component.ts +++ b/src/app/pages/home/home.component.ts @@ -18,6 +18,7 @@ import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { DisposeequipmentComponent } from '../records/warning-statistics-list/disposeequipment/disposeequipment.component'; import { SelectedMenu } from 'src/app/service/selectedMenu.service'; import { Location } from "@angular/common"; +import { SystemModelComponent } from './system-model/system-model.component'; @Component({ selector: 'app-home', templateUrl: './home.component.html', @@ -383,12 +384,11 @@ export class HomeComponent implements OnInit { nzWrapClassName: "vertical-center-modal", nzViewContainerRef: this.viewContainerRef, nzWidth: (document.documentElement.clientHeight < 650 || document.documentElement.clientWidth < 1400) ? 1000 : 1200, + nzClosable: false, + nzClassName: 'modelnobg', nzBodyStyle: { - 'border': '1px solid #6d9cc7', 'border-radius': '0px', 'padding': '0px', - 'box-shadow': '0 0 8px 0 #fff', - 'background': '#000D21', }, nzComponentParams: { data: copydata @@ -500,13 +500,11 @@ export class HomeComponent implements OnInit { for (let k = 0; k < this.tap.length; k++) { if (this.tap[k] == this.menu3[index].name) { this.menuList2.push(this.menu3[index]) - } - } - } - this.router.navigate([this.menuList2[0].url]) + // this.router.navigate([this.menuList2[0].url]) + window.open(this.menuList2[0].url) } goback() { this.router.navigate(['/plan']) diff --git a/src/app/pages/home/system-model/system-model.component.html b/src/app/pages/home/system-model/system-model.component.html new file mode 100644 index 0000000..13534e9 --- /dev/null +++ b/src/app/pages/home/system-model/system-model.component.html @@ -0,0 +1,3 @@ +