import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-total',
  templateUrl: './total.component.html',
  styleUrls: ['./total.component.less'],
})
export class TotalComponent implements OnInit {
  data = [
    {
      title: '事务管理中心',
      expend: false,
      children: [
        {
          icon: '/assets/img/logo.svg',
          text: '我启动的流程',
        },
        {
          icon: '/assets/img/logo.svg',
          text: '我的代办流程',
        },
        {
          icon: '/assets/img/logo.svg',
          text: '我的已办流程',
        },
        {
          icon: '/assets/img/logo.svg',
          text: '流程监督',
        },
      ],
    },
    {
      title: '信息中心',
      expend: false,
      children: [
        {
          icon: '/assets/img/logo.svg',
          text: '消息通知',
        },
        {
          icon: '/assets/img/logo.svg',
          text: '预警中心',
        },
      ],
    },
  ];
  constructor() {}

  ngOnInit() {}
  click(event) {
    console.log(event);
  }
}
