all.3e53a8b3.js 1.4 KB

1
  1. import{_ as x,d as C,cp as k,m as p,cl as b,cs as w,r as o,o as l,A as i,x as t,h as y,u as e,D as A,H as R,a as S}from"./index.56449854.js";import{s,c as B}from"./content.config.0baa2552.js";import{u as D}from"./use-page-search.59eb5443.js";import{h as F}from"./export.a2ce61c0.js";import"./createRequset.56e9fc42.js";import"./xlsx.ed122d16.js";const n="backupWarehouse",N=C({__name:"all",setup(P){const{hasPermissionWithCode:u}=k(n),c=p(null),a=b(!1);w(),p(s);const m={pageSearchHook:()=>D(void 0,void 0,s)},f={onSuccess:()=>a.value=!1,onStart:()=>a.value=!0,onFail:()=>a.value=!1};async function _(){const r=c.value.getBasicParams()||{};await F({params:r,...f,isAdmin:!1,name:"\u5907\u5E93\u91C7\u8D2D\u5355.xlsx",fileType:"aplication/x-msexecl",url:"/purchease/purchase/bkexport"})}return(r,E)=>{const h=o("el-button"),g=o("page-container"),d=o("page-auth");return l(),i(d,{"page-name":n},{default:t(()=>[y(g,{hooks:m,"page-name":n,"get-content-ref":v=>c.value=v,"content-config":e(B),"search-config":e(s)},{content_header:t(()=>[e(u)("9")?(l(),i(h,{key:0,onClick:_,size:"small",icon:e(A)("arrow-up-line"),type:"primary"},{default:t(()=>[R("\u5BFC\u51FA")]),_:1},8,["icon"])):S("v-if",!0)]),_:1},8,["get-content-ref","content-config","search-config"])]),_:1})}}});var q=x(N,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/time/backupWarehouse/components/all.vue"]]);export{q as default};