import{B}from"./index.ad3efb29.js";import{j as g}from"./elementPlus.4833989a.js";import{createCrudOptions as h}from"./crud.d1f86a98.js";import{d as w,r as C,j as y,ai as o,o as R,M as V,O as s,U as a,K as k,u as v}from"./vue.adf17aba.js";import"./echarts.72dc8373.js";import"./dictionary.bf4815bd.js";import"./dictionary.506d4581.js";const D=w({__name:"index",setup(M,{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 R(),V(_,{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,k({ref_key:"crudRef",ref:p},v(l)),null,16)]),_:1})]),_:1},8,["modelValue"])}}});export{D as default};
