(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-156e0df6"],{"09c7":function(t,s,e){},62232:function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"route-view-card"},[e("div",{staticClass:"conditions"},[e("a-select",{staticStyle:{width:"400px"},attrs:{"show-search":"",placeholder:t.workstationsPlaceholder},on:{change:t.changed},model:{value:t.wksId,callback:function(s){t.wksId=s},expression:"wksId"}},t._l(t.workstations,(function(s,i){return e("a-select-option",{key:i,attrs:{value:s.wks_id}},[t._v(t._s(s.wks_desc))])})),1),e("div",{staticClass:"new-window"},[e("a-button",{attrs:{icon:"fullscreen"},on:{click:t.iframeFullscreen}},[t._v("Full Screen")])],1)],1),e("div",{staticClass:"iframe"},[t.wksId?e("iframe",{attrs:{id:t.iframeId,src:"/static/auto-visit-view/workstation.html?wksId="+t.wksId}}):t._e()])])},n=[],a=(e("d3b7"),e("159b"),e("b775")),o={name:"AutoVisitView",data:function(){return{iframeId:"",workstationsPlaceholder:"Select workstation",workstations:[],wksId:void 0,workstation:null}},methods:{changed:function(t){},iframeFullscreen:function(){if(this.wksId){var t=document.getElementById(this.iframeId);t&&t.requestFullscreen()}}},mounted:function(){var t=this;this.iframeId="auto-visit-view-frame-id-"+window.uuid(),a["b"].get("/api/AutoVisit/ListWorkstation").then((function(s){s.status?(s.data.forEach((function(t){t.wks_desc!=t.wks_id&&(t.wks_desc+=" [ "+t.wks_id+" ]")})),t.workstations=s.data):t.$notification.error({message:s.msg})}))}},c=o,r=(e("d06b"),e("2877")),d=Object(r["a"])(c,i,n,!1,null,"5845269c",null);s["default"]=d.exports},d06b:function(t,s,e){"use strict";e("09c7")}}]);