1 |
- import{_ as p,d as u,E as _,bo as m,x as C,o as g,c as v,y as t,K as h,b as k,u as e,bp as w,bq as B}from"./index.743f0c80.js";import{u as P}from"./use-page-search.a895acdb.js";import{s as x,c as S}from"./search.config.168dd858.js";import y from"./share-modal.15faf25d.js";import"./configs.beacb924.js";import"./status.868e86c0.js";const R={class:"main role"},b={"w-full":""},D={name:"dataShare"},M=u({...D,setup(N){const r="dataShare",{pageContentRef:i,handleResetClick:s,handleSearchClick:l}=P(),n=_(null),{permissions:c,hasPermissionWithCode:d}=m(r);return(E,o)=>{const f=C("PagePower");return g(),v("div",R,[t(f,{"is-show":e(d)("001")},{default:h(()=>[k("div",b,[t(e(w),{"form-config":e(x),onSearchBtnClick:e(l),onResetBtnClick:e(s)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),t(e(B),{ref_key:"pageContentRef",ref:i,powers:e(c),"content-config":e(S),onCreateBtnClick:o[0]||(o[0]=()=>n.value.onDisplay()),onPreviewBtnClick:o[1]||(o[1]=({id:a})=>n.value.onDisplay(a,!0)),onUpdateBtnClick:o[2]||(o[2]=({id:a})=>n.value.onDisplay(a))},null,8,["powers","content-config"])])]),_:1},8,["is-show"]),t(y,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(s)())},null,512)])}}});var W=p(M,[["__scopeId","data-v-680e7c4d"],["__file","D:/work/accout-vue3-ui/src/views/interest/dataShare/index.vue"]]);export{W as default};
|