From 0caf50cc29ceb5622c5229650f5ac084ab85fd7d Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Wed, 14 Oct 2020 16:38:35 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E9=A2=84=E6=A1=88=E7=94=84?= =?UTF-8?q?=E9=80=89=E5=A2=9E=E5=8A=A0=E5=88=97=E8=A1=A8=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/app-routing.module.ts | 4 +++- .../ui/similar-plans/similar-plans.component.html | 4 ++-- .../ui/similar-plans/similar-plans.component.scss | 8 +++----- .../ui/similar-plans/similar-plans.component.ts | 14 +++----------- 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 427f03b..33d2e69 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -30,10 +30,12 @@ const routes: Routes = [ }, {path:'plan', component:planComponent}, - {path:'similarPlans', + {path:'similarPlans/details', component:CollectionToolsComponent}, {path:'planAssistance', component:PlanAssistanceComponent}, + {path:'similarPlans', + component:SimilarPlansComponent}, // {path:'getNoMToken', // component:MTokenK1Component, canActivate: [AuthGuard],}, //K1秘钥验证失败是跳转页面 diff --git a/src/app/ui/similar-plans/similar-plans.component.html b/src/app/ui/similar-plans/similar-plans.component.html index 5483b3c..c700b1c 100644 --- a/src/app/ui/similar-plans/similar-plans.component.html +++ b/src/app/ui/similar-plans/similar-plans.component.html @@ -1,7 +1,7 @@
-
+
volume_up
diff --git a/src/app/ui/similar-plans/similar-plans.component.scss b/src/app/ui/similar-plans/similar-plans.component.scss index 1586d5b..f4d6fcb 100644 --- a/src/app/ui/similar-plans/similar-plans.component.scss +++ b/src/app/ui/similar-plans/similar-plans.component.scss @@ -1,9 +1,7 @@ .leisiTable{ - border:1px solid #0E79A9; - height: 95%; + height: 100%; width: 100%; - background-color: #05385E; - margin-top: 50px; + background-color: #0A264B; table{ width: 100%; height: 100%; @@ -11,7 +9,7 @@ thead{ td{ color:#F7BA2A; - height: 50px; + height: 55px; text-align:center; border-bottom: 1px solid #0E79A9; } diff --git a/src/app/ui/similar-plans/similar-plans.component.ts b/src/app/ui/similar-plans/similar-plans.component.ts index 0f062fb..3689c03 100644 --- a/src/app/ui/similar-plans/similar-plans.component.ts +++ b/src/app/ui/similar-plans/similar-plans.component.ts @@ -1,14 +1,6 @@ -/* - * @Descripttion: - * @version: - * @Author: sueRimn - * @Date: 2020-09-25 10:30:04 - * @LastEditors: sueRimn - * @LastEditTime: 2020-10-05 17:05:31 - */ import { Component, OnInit } from '@angular/core'; import { Color } from 'cesium'; - +import { Router } from '@angular/router'; @Component({ selector: 'app-similar-plans', templateUrl: './similar-plans.component.html', @@ -16,7 +8,7 @@ import { Color } from 'cesium'; }) export class SimilarPlansComponent implements OnInit { - constructor() { } + constructor(private router: Router) { } ngOnInit(): void { @@ -44,7 +36,7 @@ export class SimilarPlansComponent implements OnInit { isResponsePlans = false //默认是否是处置预案 openDeatails(){ - this.isResponsePlans = true + this.router.navigate(['similarPlans/details']) } back(){ this.isResponsePlans = false