import{d as n,g as l,h as m,l as i,o as s,a as t,x as f,y as w,Y as D,Z as y,b as k,_ as v}from"./index.4042ed24.js";const x={class:"dialog-container"},b=["src"],B=n({name:"configDialog"}),C=n({...B,emits:["refresh"],setup(L,{expose:c,emit:S}){l();const e=m({tableData:{data:[],total:0,loading:!1},configForm:{},dialog:{isShowDialog:!1,type:"",title:""},srcList:[]});l();const d=(_,a)=>{console.log("row1",a),e.srcList=a.srcList,e.dialog.title="\u67E5\u770B",e.dialog.isShowDialog=!0},r=()=>{e.dialog.isShowDialog=!1},g=()=>{r()};return c({openDialog:d}),(_,a)=>{const p=i("el-image"),u=i("el-dialog");return s(),t("div",x,[f(u,{title:e.dialog.title,modelValue:e.dialog.isShowDialog,"onUpdate:modelValue":a[0]||(a[0]=o=>e.dialog.isShowDialog=o),width:"769px","close-on-click-modal":!1,draggable:"","destroy-on-close":"",onClose:g},{default:w(()=>[(s(!0),t(D,null,y(e.srcList,(o,h)=>(s(),t("span",{key:h},[o.substring(o.length-3)=="mp4"?(s(),t("video",{key:0,src:o,controls:"",style:{width:"100%",height:"100%"}},null,8,b)):(s(),k(p,{key:1,src:o,style:{width:"100%",height:"100%"}},null,8,["src"]))]))),128))]),_:1},8,["title","modelValue"])])}}});const P=v(C,[["__scopeId","data-v-5a415620"],["__file","/data/jenkins/workspace/badp-bcxin-web-5.x-dispatchBusiness/src/views/dispatchView/warnManage/PicDialog.vue"]]);export{P as default};
