2 lines
5.4 KiB
JavaScript
2 lines
5.4 KiB
JavaScript
|
import{a0 as V,Z as L,V as N,J as P,O as Y}from"./element-plus.ab0703f2.js";import{c as j}from"./statistics.183bcfd1.js";import{B as M}from"./vue-echarts.eaf50cf8.js";import{a as O}from"./vue-router.9ddb0e92.js";import{d as A,r as h,$ as v,i as R,o,c as r,W as l,Q as n,F as f,a9 as D,a as t,V as p,P as x,U as T,T as U,R as z,u as J}from"./@vue.340249d8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./index.806598d1.js";import"./lodash.3d784a58.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./resize-detector.4e96b72b.js";const Q=t("span",{class:"text-2xl"},"\u4ECA\u65E5",-1),W={class:"mr-2"},Z=["src"],$={class:"text-info"},q={class:"text-6xl"},G={class:"flex justify-between mb-4"},H=t("span",{class:"text-2xl"},"\u7D2F\u8BA1",-1),I={class:"mr-2"},K=["src"],X={class:"text-info"},tt={class:"text-6xl"},et=t("span",{class:"text-2xl"},"\u8425\u4E1A\u8D8B\u52BF",-1),st=A({name:"manageProjectLists"}),Tt=A({...st,setup(at){const C=O(),d=h(),g=h(!0),e=h({today:{},all:{},time:{}}),k=v([{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701552002039.png",title:"\u4ECA\u65E5\u95E8\u5E97\u8425\u4E1A\u989D",value:()=>String(e.value.today.turnover_today||0)},{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/2024060417170150a511510.png",title:"\u4ECA\u65E5\u95E8\u5E97\u76C8\u5229\u989D",value:()=>String(e.value.today.profit_today||0)},{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701594ff8897.png",title:"\u73B0\u91D1\u6536\u94F6\u8425\u4E1A\u989D",value:()=>String(e.value.today.cash_today||0)},{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/202406041717018a22e1161.png",title:"\u4ECA\u65E5\u8865\u7F34\u4FDD\u8BC1\u91D1",value:()=>String(e.value.today.deposit_today||0)}]),B=v([{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701552002039.png",title:"\u95E8\u5E97\u7D2F\u8BA1\u8425\u4E1A\u989D",value:()=>String(e.value.all.turnover_all||0)},{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/2024060417170150a511510.png",title:"\u95E8\u5E97\u7D2F\u8BA1\u76C8\u5229\u989D",value:()=>String(e.value.all.profit_all||0)},{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/20240604171701fbb680115.png",title:"\u95E8\u5E97\u7D2F\u8BA1\u73B0\u91D1\u6536\u6B3E\u8425\u4E1A\u989D",value:()=>String(e.value.all.cash_all||0)},{src:"https://ceshi-engineering.lihaink.cn/uploads/files/20240604/202406041717018a22e1161.png",title:"\u95E8\u5E97\u7D2F\u8BA1\u5DF2\u4EA4\u4FDD\u8BC1\u91D1",value:()=>String(e.value.all.deposit_all||0)}]),u=v({tooltip:{trigger:"axis"},xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[{data:[],type:"line",smooth:!0,name:"\u4ECA\u65E5\u95E8\u5E97\u8425\u4E1A\u989D"},{data:[],type:"line",smooth:!0,name:"\u4ECA\u65E5\u95E8\u5E97\u76C8\u5229\u989D"},{data:[],type:"line",smooth:!0,name:"\u6210\u672C"},{data:[],type:"line",smooth:!0,name:"\u4ECA\u65E5\u8865\u7F34\u4FDD\u8BC1\u91D1"},{data:[],type:"line",smooth:!0,name:"\u73B0\u91D1"}]}),E=async()=>{let c=await j({month:d.value});e.value.all=c.all,e.value.today=c.today;let s=c.time;u.xAxis.data=Object.keys(s).reverse();for(let i in s)u.series[0].data.push(s[i].turnover_today),u.series[1].data.push(s[i].profit_today
|