index.30ddd207.js 1.3 KB

1
  1. import{_ as f,d as u,F as _,bn as m,y as C,o as g,c as v,z as s,L as h,a as k,u as e,bo as w,bp as B}from"./index.40211ca7.js";import{u as P}from"./use-page-search.c73f758c.js";import{s as S,c as x}from"./search.config.5b860fb8.js";import y from"./share-modal.c572640a.js";import"./configs.e212f9ca.js";import"./status.25ea5e43.js";const R={class:"main role"},D={"w-full":""},b={name:"dataShare"},M=u({...b,setup(N){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=P(),n=_(null),{permissions:c,hasPermissionWithCode:p}=m(r);return(F,o)=>{const d=C("PagePower");return g(),v("div",R,[s(d,{"is-show":e(p)("001")},{default:h(()=>[k("div",D,[s(e(w),{"form-config":e(S),onSearchBtnClick:e(l),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),s(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:t})=>n.value.onDisplay(t,!0)),onUpdateBtnClick:o[2]||(o[2]=({id:t})=>n.value.onDisplay(t))},null,8,["powers","content-config"])])]),_:1},8,["is-show"]),s(y,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var L=f(M,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/interest/dataShare/index.vue"]]);export{L as default};