<ion-header>
    <ion-navbar>
        <ion-buttons start>
            <button ion-button icon-only>
                <img class="toolbar-img" src="./assets/imgs/logo.png">
            </button>
        </ion-buttons>
        <ion-buttons end class="mine-button">
            <button (click)="goToPersonInfo()" class="mine-home">
                <span>{{mineInfo?.name.slice(-2)}}</span>
            </button>
        </ion-buttons>
    </ion-navbar>

</ion-header>

<ion-content>
    <div class="banner">
        <img src="./assets/imgs/home_banner.png">
    </div>
    <div class="new-module">
        <div class="card" (click)="goToContact()">
            <img src="./assets/imgs/txl.png">
            <p>通讯录</p>
        </div>
        <div class="card" (click)="goToVerity()">
            <img src="./assets/imgs/spsh.png">
            <p>审核审批</p>
        </div>
        <div class="card" (click)="goToSupervise()">
            <img src="./assets/imgs/db.png">
            <p>办理督办</p>
        </div>
        <div class="card" (click)="goToReport()">
            <img src="./assets/imgs/sjbb.png">
            <p>数据报表</p>
        </div>
    </div>
    <div class="echart-data">
        <div class="echart-title">
            <span>事业单位总览信息</span>
        </div>
        <div class="echart">
            <echart-data [data]="echartData"></echart-data>
        </div>
        <div class="data">
            <div>
                <p>单位数</p>
                <p>{{unitsInfo?.hj.unitcount}}</p>
            </div>
            <div>
                <p>编制数</p>
                <p>{{unitsInfo?.hj.bianzhicount}}</p>
            </div>
            <div>
                <p>实有数</p>
                <p>{{unitsInfo?.hj.shiyoucount}}</p>
            </div>
        </div>
    </div>
</ion-content>
