import{Z as l,au as p,bh as a}from"./index.1d5f2f42.js";import{c as m}from"./createRequset.a71f3020.js";import{i as d}from"./isBeyondTime.8b05db81.js";const i=l(new Date),c=i.format("YYYY-MM-DD"),F=i.subtract(29,"days").format("YYYY-MM-DD"),h={formItems:[{field:"date",type:"date_picker",trigger:"change",defaultValue:[F,c],otherOptions:{type:"daterange",startPlaceholder:"\u53D1\u8D77\u5F00\u59CB\u65F6\u95F4",endPlaceholder:"\u53D1\u8D77\u7ED3\u675F\u65F6\u95F4",valueFormat:"YYYY-MM-DD",startProp:"start_date",endProp:"end_date"}}]},f=[{prop:"addtime",label:"\u7ADE\u4EF7\u65F6\u95F4",minWidth:"155px"},{prop:"name",label:"\u4E1A\u52A1\u90E8\u95E8",minWidth:"155px"},{prop:"total",label:"\u7ADE\u4EF7\u6570\u91CF",minWidth:"155px"}];function D(e,t){const u=Array.isArray(e)?e.length:0;if(u>0){let n=0,s=e[0][t];const o=[1];for(let r=1;r