import{d as u,cC as d,cE as f,z as r,i as m,o as p,c as _,h as v,cF as g}from"./index-D3rICic-.js";import{_ as w}from"./workflow.vue_vue_type_script_setup_true_lang-CDR_Hxib.js";import"./DescriptionsItem-LhWljJnV.js";import"./Grid-CRDcRyPk.js";import"./index-2ay5PpNs.js";const b=u({name:"workflow_form_batch",__name:"index",setup(h){const o=d(),l=f(),a=r(!1),n=String(l.query.id),t=r({}),i=async()=>{a.value=!0;const{data:s,error:e}=await g(n);e||(t.value=s),a.value=!1};return m(()=>{o.clear(),o.setType(2),o.setId(n),i()}),(s,e)=>(p(),_(v(w),{modelValue:t.value,"onUpdate:modelValue":e[0]||(e[0]=c=>t.value=c),spinning:a.value,disabled:""},null,8,["modelValue","spinning"]))}});export{b as default};
