import{d as n,r as a,a as u,c as i,f as l,g as s,l as h,m as D,V as y,W as w,M as k}from"./index.3a30a18d.js";import{_ as v}from"./_plugin-vue_export-helper.cdc0426e.js";const x={class:"dialog-container"},C=["src"],L=n({name:"configDialog"}),S=n({...L,emits:["refresh"],setup(V,{expose:c,emit:B}){a();const e=u({tableData:{data:[],total:0,loading:!1},configForm:{},dialog:{isShowDialog:!1,type:"",title:""},srcList:[]});a();const r=(_,t)=>{console.log("row1",t),e.srcList=t.srcList,e.dialog.title="\u67E5\u770B",e.dialog.isShowDialog=!0},d=()=>{e.dialog.isShowDialog=!1},g=()=>{d()};return c({openDialog:r}),(_,t)=>{const p=i("el-image"),f=i("el-dialog");return l(),s("div",x,[h(f,{title:e.dialog.title,modelValue:e.dialog.isShowDialog,"onUpdate:modelValue":t[0]||(t[0]=o=>e.dialog.isShowDialog=o),width:"769px","close-on-click-modal":!1,draggable:"","destroy-on-close":"",onClose:g},{default:D(()=>[(l(!0),s(y,null,w(e.srcList,(o,m)=>(l(),s("span",{key:m},[o.substring(o.length-3)=="mp4"?(l(),s("video",{key:0,src:o,controls:"",style:{width:"100%",height:"100%"}},null,8,C)):(l(),k(p,{key:1,src:o,style:{width:"100%",height:"100%"}},null,8,["src"]))]))),128))]),_:1},8,["title","modelValue"])])}}});const F=v(S,[["__scopeId","data-v-e73f6e4f"]]);export{F as default};
