1 |
- import{_ as v,d as x,m as i,cl as y,cp as B,cs as k,r as u,o as l,A as m,x as p,u as e,D as S,H as N,a as b}from"./index.56449854.js";import{s as F,c as R,a as P}from"./content.config.3d8b64c2.js";import{h as w}from"./export.a2ce61c0.js";import{i as A}from"./isBeyondTime.b16fe52f.js";import{u as T}from"./use-page-search.59eb5443.js";import{u as E,a as I}from"./useBusinessQuery.7bd11851.js";import"./createRequset.56e9fc42.js";import"./xlsx.ed122d16.js";import"./lodash.0da4bba2.js";const D="consultInfoBidsSumNot",q=x({__name:"business",setup(H){const a=i(null),o=y(!1),{hasPermissionWithCode:f}=B(D);k();const{searchConfig:s}=E({sourceConfig:F,queryField:"companyNo"});i(s);const{contentConfig:C}=I({sourceConfig:R,apis:{httpList:P.list}}),d={pageSearchHook:()=>T(void 0,void 0,s)},g={onSuccess:()=>o.value=!1,onStart:()=>o.value=!0,onFail:()=>o.value=!1};async function _(){const n=a.value.getBasicParams()||{},{start:c,end:t}=n;A({start:c,end:t,len:30})||await w({isAdmin:!1,name:"\u672A\u91C7\u53CD\u4FE1\u606F\u8868.xlsx",fileType:"aplication/x-msexecl",url:"/purchease/purchase/consultInfoBidsSumNotExport",...g,params:n})}return(n,c)=>{const t=u("el-button"),r=u("PageContainer");return l(),m(r,{hooks:d,getContentRef:h=>a.value=h,"content-config":e(C),"search-config":e(s),lockKey:"companyNo"},{content_header:p(()=>[e(f)("18")?(l(),m(t,{key:0,icon:e(S)("arrow-up-line"),onClick:_,size:"small",type:"primary"},{default:p(()=>[N("\u5BFC\u51FA")]),_:1},8,["icon"])):b("v-if",!0)]),_:1},8,["getContentRef","content-config","search-config"])}}});var J=v(q,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/time/consultInfoBidsSumNot/components/business.vue"]]);export{J as default};
|