index.94e10e77.js 1.3 KB

1
  1. import{_ as p,d as _,w as m,b9 as u,r as C,o as v,c as g,l as t,C as h,b as k,u as e,ba as w,bb as B}from"./index.1d5f2f42.js";import{u as P}from"./use-page-search.5b2e253c.js";import{s as S,c as x}from"./search.config.66f6afea.js";import R from"./share-modal.e88ba832.js";import"./configs.7410f6c1.js";import"./status.3ccd5ebb.js";const y={class:"main role"},b={"w-full":""},D={name:"dataShare"},M=_({...D,setup(N){const r="dataShare",{pageContentRef:i,handleResetClick:s,handleSearchClick:l}=P(),n=m(null),{permissions:c,hasPermissionWithCode:d}=u(r);return(V,o)=>{const f=C("PagePower");return v(),g("div",y,[t(f,{"is-show":e(d)("001")},{default:h(()=>[k("div",b,[t(e(w),{"form-config":e(S),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(x),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(R,{ref_key:"shareModalRef",ref:n,onReload:o[3]||(o[3]=()=>e(s)())},null,512)])}}});var q=p(M,[["__scopeId","data-v-680e7c4d"],["__file","D:/work/rep-v3/report-v3/src/views/interest/dataShare/index.vue"]]);export{q as default};