index.d91ed15c.js 1.3 KB

1
  1. import{_ as p,d as u,w as _,bs as m,r as C,o as g,c as v,l as t,C as h,b as k,u as e,bt as w,bu as B}from"./index.3f1ca816.js";import{u as P}from"./use-page-search.fa6a742a.js";import{s as S,c as x}from"./search.config.9e8f3688.js";import R from"./share-modal.11cc786a.js";import"./configs.fe92af81.js";import"./status.d6b2a53d.js";const y={class:"main role"},b={"w-full":""},D={name:"dataShare"},M=u({...D,setup(N){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=P(),n=_(null),{permissions:c,hasPermissionWithCode:d}=m(r);return(U,o)=>{const f=C("PagePower");return g(),v("div",y,[t(f,{"is-show":e(d)("001")},{default:h(()=>[k("div",b,[t(e(w),{"form-config":e(S),onSearchBtnClick:e(l),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),t(e(B),{ref_key:"pageContentRef",ref:i,powers:e(c),"content-config":e(x),onCreateBtnClick:o[0]||(o[0]=()=>n.value.onDisplay()),onPreviewBtnClick:o[1]||(o[1]=({id:s})=>n.value.onDisplay(s,!0)),onUpdateBtnClick:o[2]||(o[2]=({id:s})=>n.value.onDisplay(s))},null,8,["powers","content-config"])])]),_:1},8,["is-show"]),t(R,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var q=p(M,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/interest/dataShare/index.vue"]]);export{q as default};