index.969d8c.js 1.2 KB

1
  1. import{_ as p,d as _,bd as u,w as m,aN as C,r as g,o as h,c as v,j as s,C as k,h as w,l as e,bD as B,bE as P}from"./index.js";import{s as S,c as x}from"./search.config.7dfcaea8.js";import R from"./share-modal.e90be9.js";import"./configs.394d1dc7.js";const y={class:"main role"},D={"w-full":""},N={name:"dataShare"},b=_({...N,setup(M){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=u(),n=m(null),{permissions:c,hasPermissionWithCode:d}=C(r);return(j,o)=>{const f=g("PagePower");return h(),v("div",y,[s(f,{"is-show":e(d)("001")},{default:k(()=>[w("div",D,[s(e(B),{"form-config":e(S),onSearchBtnClick:e(l),onResetBtnClick:e(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),s(e(P),{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(R,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var I=p(b,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/63107/Desktop/projects/settle-vue3/src/views/interest/dataShare/index.vue"]]);export{I as default};