import{g as m}from"./eventGroupAndTermApi-31c30359-1782572373740v=1.0.0.js";import{E as l}from"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import{r as o}from"./vendor-866bb149-1782572373740v=1.0.0.js";const G=n=>{const u=o(n),t=o([]);return{eventGroupTermList:t,getEventGroupTermListData:async()=>{let e=await m(u.value);if(e.code!==0){l.error(e.msg);return}let a=[];e.data.forEach(r=>{a.push({label:r.name,value:r.eventGroupId,children:r.eventTermBaseList.map(s=>({label:s.name,value:s.eventTermId}))})}),t.value=a}}};export{G as u};
