From 6312883e18a40cce96f66a24c137e6ac244766ba Mon Sep 17 00:00:00 2001 From: chenjingyu Date: Tue, 17 Aug 2021 08:54:27 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E5=BE=85=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9F=A5=E7=9C=8Bpdf=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E8=BD=AC=E5=9C=88=E7=AD=89=E5=BE=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plan-record/plan-record.component.html | 5 ++++- .../plan-record/plan-record.component.scss | 16 ++++++++++++++++ .../plan-record/plan-record.component.ts | 10 +++++++++- .../wait-examineer/wait-examineer.component.html | 5 ++++- .../wait-examineer/wait-examineer.component.scss | 16 ++++++++++++++++ .../wait-examineer/wait-examineer.component.ts | 10 +++++++++- 6 files changed, 58 insertions(+), 4 deletions(-) diff --git a/src/app/plan-audit/plan-record/plan-record.component.html b/src/app/plan-audit/plan-record/plan-record.component.html index 0f00bb8..7d4e87a 100644 --- a/src/app/plan-audit/plan-record/plan-record.component.html +++ b/src/app/plan-audit/plan-record/plan-record.component.html @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-12-25 10:19:31 * @LastEditors: sueRimn - * @LastEditTime: 2021-07-24 09:30:42 + * @LastEditTime: 2021-08-16 15:49:49 -->
@@ -187,6 +187,9 @@
+
diff --git a/src/app/plan-audit/plan-record/plan-record.component.scss b/src/app/plan-audit/plan-record/plan-record.component.scss index 1d295c0..3c8f655 100644 --- a/src/app/plan-audit/plan-record/plan-record.component.scss +++ b/src/app/plan-audit/plan-record/plan-record.component.scss @@ -255,6 +255,22 @@ .word{ width: 100%; height: 100%; + .shadow{ + height: 95%; + width: 97%; + margin: 10px 10px 10px 10px; + /* position:absolute; + left:0; + top:0; */ + z-index:998; + background-color:#FFFFFF; + opacity:0.6; + mat-spinner{ + position: relative; + top: 40%; + left: 40%; + } + } iframe{ height: 94%; width: 97%; diff --git a/src/app/plan-audit/plan-record/plan-record.component.ts b/src/app/plan-audit/plan-record/plan-record.component.ts index c00ce85..cc6a04c 100644 --- a/src/app/plan-audit/plan-record/plan-record.component.ts +++ b/src/app/plan-audit/plan-record/plan-record.component.ts @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-12-25 10:19:31 * @LastEditors: sueRimn - * @LastEditTime: 2021-07-24 14:36:27 + * @LastEditTime: 2021-08-16 15:29:41 */ import { Component, OnInit, Inject } from '@angular/core'; import { FormControl } from '@angular/forms'; @@ -310,6 +310,14 @@ export class PlanRecordComponent implements OnInit { oopen3Dshow() { this.dialog.open(recordshow3D, { width: '1650px', height: '850px', data: { url: this.thirdPartyURL, twoOrthree: this.twoOrthree } }); } + //判断iframe是否加载完成 + iftrue=true + ifranmeLoad(){ + var iframe = document.getElementById("myiframe"); + iframe.onload = function(){ + } + this.iftrue=!this.iftrue + } } diff --git a/src/app/plan-audit/wait-examineer/wait-examineer.component.html b/src/app/plan-audit/wait-examineer/wait-examineer.component.html index b4435e5..9371354 100644 --- a/src/app/plan-audit/wait-examineer/wait-examineer.component.html +++ b/src/app/plan-audit/wait-examineer/wait-examineer.component.html @@ -308,7 +308,10 @@
- +
+ +
+
diff --git a/src/app/plan-audit/wait-examineer/wait-examineer.component.scss b/src/app/plan-audit/wait-examineer/wait-examineer.component.scss index 593c779..57c2287 100644 --- a/src/app/plan-audit/wait-examineer/wait-examineer.component.scss +++ b/src/app/plan-audit/wait-examineer/wait-examineer.component.scss @@ -223,6 +223,22 @@ .word { width: 100%; height: 100%; + .shadow{ + height: 95%; + width: 97%; + margin: 10px 10px 10px 10px; + /* position:absolute; + left:0; + top:0; */ + z-index:998; + background-color:#FFFFFF; + opacity:0.6; + mat-spinner{ + position: relative; + top: 40%; + left: 40%; + } + } iframe { height: 95%; width: 97%; diff --git a/src/app/plan-audit/wait-examineer/wait-examineer.component.ts b/src/app/plan-audit/wait-examineer/wait-examineer.component.ts index 81e19ff..dfb6ac5 100644 --- a/src/app/plan-audit/wait-examineer/wait-examineer.component.ts +++ b/src/app/plan-audit/wait-examineer/wait-examineer.component.ts @@ -4,7 +4,7 @@ * @Author: sueRimn * @Date: 2020-12-25 16:13:50 * @LastEditors: sueRimn - * @LastEditTime: 2021-07-29 10:27:36 + * @LastEditTime: 2021-08-16 11:12:52 */ import { Component, Inject, OnInit } from '@angular/core'; import { FormControl } from '@angular/forms'; @@ -605,6 +605,14 @@ export class WaitExamineerComponent implements OnInit { }, 0) } } + //判断iframe是否加载完成 + iftrue=true + ifranmeLoad(){ + var iframe = document.getElementById("myiframe"); + iframe.onload = function(){ + } + this.iftrue=!this.iftrue + } }