import{B}from"./index.373e4c1e.js";import{E as g}from"./elementPlus.c5b0e04f.js";import{createCrudOptions as h}from"./crud.15737d5a.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.65d9dadc.js";import"./echarts.72dc8373.js";import"./dictionary.e641576e.js";import"./dictionary.afac2490.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};
