1 |
- import{_ as m,d as _,bn as u,w as C,r as h,o as g,c as v,j as a,C as k,h as w,l as e,bo as B,bp as P}from"./index.js";import{u as x}from"./use-page-search.f7bc460e.js";import{s as S,c as R}from"./search.config.893bf4ac.js";import y from"./share-modal.0c9d8d.js";import"./configs.a3d28f8f.js";import"./status.151ccddb.js";const D={class:"main role"},b={"w-full":""},M=_({__name:"index",props:{name:"dataShare"},setup(N){const i="dataShare",{pageContentRef:l,handleResetClick:r,handleSearchClick:c}=x(),{permissions:p,hasPermissionWithCode:d}=u(i),t=C(null);return(j,o)=>{const f=h("PagePower");return g(),v("div",D,[a(f,{"is-show":e(d)("001")},{default:k(()=>[w("div",b,[a(e(B),{onSearchBtnClick:e(c),onResetBtnClick:e(r),"form-config":e(S)},null,8,["onSearchBtnClick","onResetBtnClick","form-config"]),a(e(P),{onPreviewBtnClick:o[0]||(o[0]=({id:n})=>{var s;return(s=t.value)==null?void 0:s.onDisplay(n,!0)}),onUpdateBtnClick:o[1]||(o[1]=({id:n})=>{var s;return(s=t.value)==null?void 0:s.onDisplay(n)}),onCreateBtnClick:o[2]||(o[2]=()=>{var n;return(n=t.value)==null?void 0:n.onDisplay()}),"content-config":e(R),powers:e(p),ref_key:"pageContentRef",ref:l},null,8,["content-config","powers"])])]),_:1},8,["is-show"]),a(y,{ref_key:"shareModalRef",ref:t,onRefresh:o[3]||(o[3]=()=>e(r)())},null,512)])}}});var W=m(M,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/Administrator/Desktop/projects/purchase-vue3/src/views/interest/dataShare/index.vue"]]);export{W as default};
|