import{a as c,r as a,q as g,aj as r,J as h,o as C,K as k,S as i,L as w,H as O,u as b,T as x}from"./vue.D1BjjNmv.js";import{k as R}from"./index.Df8UJ10K.js";import{G as S,c as B}from"./crud.CRPvrBmp.js";import{h as P}from"./columnPermission.qmX6FdM9.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang.BCE3snQf.js";import"./authFunction.Cmg2kwFe.js";import"./index.HOcJEMMi.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";const G=c({name:"devicemaintenance"}),L=c({...G,setup(I){const o=a(!1),e=a(null),l=()=>{n.doRefresh()},{crudBinding:u,crudRef:d,crudExpose:n,crudOptions:p,resetCrudOptions:m}=R({createCrudOptions:s=>B({...s,dialogId:e,dialogVisible:o})});return console.log("dialogId:::",e),g(async()=>{const s=await P(S,p);m(s),n.doRefresh()}),(s,t)=>{const f=r("fs-crud"),_=r("fs-page");return C(),h(_,null,{default:k(()=>[i(f,O({ref_key:"crudRef",ref:d},b(u)),null,16),w(i(y,{id:e.value,visible:o.value,"onUpdate:visible":t[0]||(t[0]=v=>o.value=v),onSuccess:l},null,8,["id","visible"]),[[x,e.value!==null]])]),_:1})}}});export{L as default};
