/*!
 *  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-2d237708"],{fab9:function(e,t,n){"use strict";n.r(t);var c=n("f2bf");const l=["src"];function o(e,t,n,o,i,s){const r=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"])(r,{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:i.src,style:{width:"100%",height:"495px"}},null,8,l)])),[[u,i.loading]])}var i={props:{deviceCode:{type:String,default:""}},data(){return{technologyData:[],loading:!0,fullscreenLoading:!0,queryForm:{deviceCode:""},src:""}},watch:{deviceCode:function(e,t){this.queryForm.deviceCode=e,this.src="https://dp.lidinghb.com/chudy_visual/view/"+e[1]+"?deviceCode="+e[0],console.log(111,e),console.log(123,this.src)}},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"),r=n.n(s);const u=r()(i,[["render",o]]);t["default"]=u}}]);