index.5d12f541.js 1.3 KB

1
  1. import{_ as f,d as _,E as u,aZ as m,x as C,o as g,c as v,y as a,K as h,b as k,u as e,a_ as P,a$ as w}from"./index.1417328f.js";import{u as B}from"./use-page-search.7e7b4728.js";import{s as x,c as y}from"./search.config.93664eda.js";import S from"./share-modal.0fa4bdb7.js";import"./configs.3d47dff9.js";import"./status.727086c1.js";const R={class:"main role"},D={"w-full":""},M={name:"dataShare"},N=_({...M,setup(E){const r="dataShare",{pageContentRef:i,handleResetClick:t,handleSearchClick:l}=B(),n=u(null),{permissions:c,hasPermissionWithCode:p}=m(r);return(U,o)=>{const d=C("PagePower");return g(),v("div",R,[a(d,{"is-show":e(p)("001")},{default:h(()=>[k("div",D,[a(e(P),{"form-config":e(x),onSearchBtnClick:e(l),onResetBtnClick:e(t)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),a(e(w),{ref_key:"pageContentRef",ref:i,powers:e(c),"content-config":e(y),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"]),a(S,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(t)())},null,512)])}}});var W=f(N,[["__scopeId","data-v-680e7c4d"],["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/interest/dataShare/index.vue"]]);export{W as default};