|
-import{_ as k,d as y,cp as B,m as d,cl as w,cs as I,w as b,r,o as _,A as h,x as i,h as A,u as a,D as R,H as E,a as F}from"./index.7d0621a1.js";import{s as l,c as N}from"./content.config.a36c8fb3.js";import{u as T}from"./use-page-search.91822867.js";import{i as D}from"./isBeyondTime.81bbc637.js";import{h as P}from"./export.2bd07a42.js";import"./createRequset.4715d6a3.js";import"./xlsx.ed122d16.js";const u="consultInfoBidsSum",V=y({__name:"all",setup(H){const{hasPermissionWithCode:g}=B(u),m=d(null),s=w(!1),p=I(),f=d(l),v={pageSearchHook:()=>T(void 0,void 0,l)},x={onSuccess:()=>s.value=!1,onStart:()=>s.value=!0,onFail:()=>s.value=!1};b(()=>p.level,e=>{const{formItems:t}=f.value,o=t.findIndex(({field:c})=>c==="depart_id"),{itemid:n=""}=p.info||{};Number(e)===2&&(f.value.formItems[o].defaultValue=n)},{immediate:!0});async function C(){const e=m.value.getBasicParams()||{},{start:t,end:o}=e;D({start:t,end:o,len:30})||await P({params:e,...x,isAdmin:!1,name:"\u7ADE\u4EF7\u53CD\u9988\u8868.xlsx",fileType:"aplication/x-msexecl",url:"/purchease/purchase/consultInfoBidsSumExport"})}return(e,t)=>{const o=r("el-button"),n=r("page-container"),c=r("page-auth");return _(),h(c,{"page-name":u},{default:i(()=>[A(n,{hooks:v,"page-name":u,"get-content-ref":S=>m.value=S,"content-config":a(N),"search-config":a(l)},{content_header:i(()=>[a(g)("9")?(_(),h(o,{key:0,onClick:C,size:"small",icon:a(R)("arrow-up-line"),type:"primary"},{default:i(()=>[E("\u5BFC\u51FA")]),_:1},8,["icon"])):F("v-if",!0)]),_:1},8,["get-content-ref","content-config","search-config"])]),_:1})}}});var K=k(V,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/time/consultInfoBidsSum/components/all.vue"]]);export{K as default};
|
|
|