1 |
- import{_ as f,d as _,m,cT as u,r as C,o as g,c as h,h as t,x as v,b as k,u as e,cU as w,cV as B}from"./index.5825373a.js";import{u as P}from"./use-page-search.61a9d9c5.js";import{s as x,c as S}from"./search.config.bc857e0e.js";import R from"./share-modal.2ddb1a31.js";import"./configs.aabaa8bc.js";import"./status.3ccd5ebb.js";const y={class:"main role"},D={"w-full":""},M={name:"dataShare"},N=_({...M,setup(U){const r="dataShare",{pageContentRef:i,handleResetClick:a,handleSearchClick:l}=P(),n=m(null),{permissions:c,hasPermissionWithCode:p}=u(r);return(V,o)=>{const d=C("PagePower");return g(),h("div",y,[t(d,{"is-show":e(p)("001")},{default:v(()=>[k("div",D,[t(e(w),{"form-config":e(x),onSearchBtnClick:e(l),onResetBtnClick:e(a)},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: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"]),t(R,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(a)())},null,512)])}}});var W=f(N,[["__scopeId","data-v-680e7c4d"],["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/interest/dataShare/index.vue"]]);export{W as default};
|