b353996ff73b3f877e532ecb62c627e6-js.php 888 B

12345678910111213141516171819202122232425262728
  1. <?php /*a:2:{s:68:"D:\phpEnv\www\Gong-Ying-Lian-API\app\admin\view\dashboard\index.html";i:1751886234;s:63:"D:\phpEnv\www\Gong-Ying-Lian-API\app\admin\view\layout\vue.html";i:1751866917;}*/ ?>
  2. export default{
  3. data:{
  4. echarts:'',
  5. panel:[],
  6. list:[],
  7. box:[],
  8. material:[]
  9. },
  10. onLoad:function (){
  11. Yunqi.use('/assets/js/echarts.min.js').then(res=>{
  12. this.echarts=res;
  13. this.parseData();
  14. });
  15. },
  16. methods:{
  17. parseData:function (){
  18. Yunqi.ajax.get('dashboard/index',{}).then(res=>{
  19. this.panel=res.panel;
  20. this.list=res.variety;
  21. this.box=res.box;
  22. this.material=res.material;
  23. });
  24. },
  25. }
  26. }