import{B}from"./index.ae7ce77b.js";import{E as g}from"./elementPlus.346c766a.js";import{createCrudOptions as h}from"./crud.e6232cf7.js";import{d as w,r as C,j as y,a9 as o,o as E,E as R,G as s,M as a,B as V,u as k}from"./vue.6daa721c.js";import"./echarts.72dc8373.js";import"./dictionary.4409c00a.js";import"./dictionary.270d3d72.js";const G=w({__name:"index",setup(v,{expose:c}){const e=C(!1),d=r=>{g.confirm("您确定要关闭?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{r()}).catch(()=>{})},{crudBinding:l,crudRef:p,crudExpose:t}=B({createCrudOptions:h,context:{}}),{setSearchFormData:f,doRefresh:m}=t;return c({drawer:e,setSearchFormData:f,doRefresh:m}),y(()=>{t.doRefresh()}),(r,n)=>{const u=o("fs-crud"),i=o("fs-page"),_=o("el-drawer");return E(),R(_,{size:"70%",modelValue:e.value,"onUpdate:modelValue":n[0]||(n[0]=x=>e.value=x),direction:"rtl","append-to-body":"","destroy-on-close":"","before-close":d},{default:s(()=>[a(i,null,{default:s(()=>[a(u,V({ref_key:"crudRef",ref:p},k(l)),null,16)]),_:1})]),_:1},8,["modelValue"])}}});export{G as default};
