/*!
 *  build: vue-admin-beautiful 
 *  vue-admin-beautiful author: chuzhixin 1204505056@qq.com 
 *  vue-admin-beautiful QQ Group(QQ群): 972435319、1139183756 
 *  time: 2024-10-10 11:14:28
 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b6975"],{"1e8c":function(e,t,n){"use strict";n.r(t);var c=n("f2bf");const l=["src"];function o(e,t,n,o,r,s){const i=Object(c["resolveComponent"])("el-button"),u=Object(c["resolveDirective"])("loading");return Object(c["withDirectives"])((Object(c["openBlock"])(),Object(c["createElementBlock"])("div",null,[Object(c["createVNode"])(i,{type:"primary",size:"mini",style:{"margin-bottom":"10px"},onClick:s.dianji},{default:Object(c["withCtx"])(()=>[Object(c["createTextVNode"])(Object(c["toDisplayString"])(e.$t("defalult.qp")),1)]),_:1},8,["onClick"]),Object(c["createElementVNode"])("iframe",{id:"iframeId",ref:"iframe",src:r.src,style:{width:"100%",height:"495px"}},null,8,l)])),[[u,r.loading]])}var r={props:{deviceCode:{type:Number}},data(){return{technologyData:[],loading:!0,fullscreenLoading:!0,queryForm:{deviceCode:""},src:""}},watch:{deviceCode:function(e,t){const n=sessionStorage.getItem("projectId"),c=localStorage.getItem("userId");this.src="https://dp.lidinghb.com/chudy_visual/view/1698519723425271808?projectId="+n+"&userId="+c+"&id="+e}},created(){},mounted(){const{iframe:e}=this.$refs,t=this;e.attachEvent?e.attachEvent("onload",()=>{t.stateChange()}):e.onload=function(){t.stateChange()}},methods:{showData(e){console.log(e)},stateChange(){this.loading=!1},dianji(){const e=document.getElementById("iframeId");this.fullscreen?document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()}}},s=n("d959"),i=n.n(s);const u=i()(r,[["render",o]]);t["default"]=u}}]);