import{a,r as f,q as _,aj as s,at as h,J as g,o as y,K as r,S as x,H as v,u as w,L as E,b as k,T as z}from"./vue.D1BjjNmv.js";import{k as B}from"./index.CL7yl-Wb.js";import{createCrudOptions as C}from"./crud.472Iejjj.js";import{e as b}from"./echarts.BCoidMgp.js";import"./commonCrud.BgclFrj_.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";const R={id:"myEcharts",style:{width:"100%",height:"300px"}},S=a({name:"loginLog"}),H=a({...S,setup(A){const t=f(!0),{crudBinding:i,crudRef:n,crudExpose:c}=B({createCrudOptions:C,isEcharts:t,initChart:o}),p=b;function o(){let e=p.init(document.getElementById("myEcharts"),"purple-passion");e.setOption({title:{text:"2021年各月份销售量（单位：件）",left:"center"},xAxis:{type:"category",data:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},tooltip:{trigger:"axis"},yAxis:{type:"value"},series:[{data:[606,542,985,687,501,787,339,706,383,684,669,737],type:"line",smooth:!0,itemStyle:{normal:{label:{show:!0,position:"top",formatter:"{c}"}}}}]}),window.onresize=function(){e.resize()}}function l(e){console.log(e)}return _(()=>{c.doRefresh(),o()}),(e,D)=>{const d=s("fs-crud"),u=s("fs-page"),m=h("resize-ob");return y(),g(u,null,{default:r(()=>[x(d,v({ref_key:"crudRef",ref:n},w(i)),{"header-top":r(()=>[E(k("div",R,null,512),[[z,t.value],[m,l]])]),_:1},16)]),_:1})}}});export{H as default};
