2 lines
4.2 KiB
JavaScript
2 lines
4.2 KiB
JavaScript
import{C as y}from"./element-plus.83b6d1e4.js";import{i as b}from"./echarts.b30ab882.js";import{c as x}from"./statistics.e2fdfec5.js";import{a0 as v,o as t,c as n,V as d,M as r,W as o,n as g,a,a8 as c,U as p}from"./@vue.ab566ce7.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.8497a500.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./index.1676748b.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";const w=a("div",{class:"card-header"},[a("span",null,"\u8FD9\u662F\u4E2A\u5565\u8D77\u7801\u5B50\u6807\u9898")],-1),C=a("div",{id:"ProjectPayment",class:"chart"},null,-1),S=a("div",{class:"card-header"},[a("span",null,"\u5546\u52A1\u5DE5\u4F5C\u7EDF\u8BA1")],-1),k={style:{display:"flex","justify-content":"space-between"}},j={class:"cont"},P=a("div",{class:"card-header"},[a("span",null,"\u5408\u540C\u7EDF\u8BA1")],-1),B={style:{display:"flex","justify-content":"space-between"}},E={class:"cont"},pe={__name:"Statistics",setup(L){const _=v([[{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3}],[{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3}],[{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3}]]),h=v([[{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3}],[{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3}],[{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3},{name:"\u9879\u76EE",value:1e3}]]),m={show:!0,rich:{name:{}}},f=(e,u)=>{var i=document.getElementById(e),s=b(i);s.setOption(u)};return(async()=>{let e=await x();await g();var u={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:[e.invoice_series.name,e.refund_plan_series.name,e.refund_series.name,e.not_refund_series.name]},toolbox:{show:!0,orient:"vertical",left:"right",top:"center"},xAxis:[{type:"category",axisTick:{show:!1},data:e.column}],yAxis:[{type:"value"}],series:[{name:e.invoice_series.name,type:"bar",barGap:0,label:m,emphasis:{focus:"series"},data:e.invoice_series.data,itemStyle:{normal:{label:{}}}},{name:e.refund_plan_series.name,type:"bar",label:m,emphasis:{focus:"series"},data:e.refund_plan_series.data,itemStyle:{normal:{label:{}}}},{name:e.refund_series.name,type:"bar",label:m,emphasis:{focus:"series"},data:e.refund_series.data,itemStyle:{normal:{label:{}}}},{name:e.not_refund_series.name,type:"bar",label:m,emphasis:{focus:"series"},data:e.not_refund_series.data,itemStyle:{normal:{label:{}}}}]};f("ProjectPayment",u)})(),(e,u)=>{const i=y;return t(),n(o,null,[d(i,null,{header:r(()=>[w]),default:r(()=>[C]),_:1}),d(i,null,{header:r(()=>[S]),default:r(()=>[a("div",k,[(t(!0),n(o,null,c(_,s=>(t(),n("div",{class:"box",key:s},[(t(!0),n(o,null,c(s,l=>(t(),n("div",j,[a("div",null,p(l.name),1),a("div",null,p(l.value),1)]))),256))]))),128))])]),_:1}),d(i,null,{header:r(()=>[P]),default:r(()=>[a("div",B,[(t(!0),n(o,null,c(h,s=>(t(),n("div",{class:"box",key:s},[(t(!0),n(o,null,c(s,l=>(t(),n("div",E,[a("div",null,p(l.name),1),a("div",null,p(l.value),1)]))),256))]))),128))])]),_:1})],64)}}};export{pe as default};
|