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 + } }