<ion-view view-title="日报统计">
    <ion-content>
        <div class="item-stable row daily-count-back">
            <span class="note col-34">{{year}}年{{month}}月
                <p>{{day}}日</p>
            </span>
            <span class="note col-66">
                <h4>共<span>&nbsp;{{toDayView.reported_count}}&nbsp;</span>人写了日报 </h4>
            </span>
        </div>
        <ion-list>
            <div class="item" ng-repeat="dept in toDayView.depts">
                <div class="row">
                    <span><b>{{dept.dept_name}}</b></span>
                </div>
                <div class="row">
                    <div class="col-40 div-active" ng-click="lookDeptCount(1, dept.reported, dept.dept_name,dept.reported_count)">
                        <span>提交&nbsp;:{{dept.reported_count}}人</span>
                        <i class="icon ion-chevron-right float-right" ng-class="{'disabled':dept.reported_count == 0}"></i>
                    </div>
                    <div class="col-10 border-right"></div>
                    <div class="col-10"></div>
                    <div class="col-40 div-active" ng-click="lookDeptCount(0, dept.unreported, dept.dept_name, dept.unreported_count)">
                        <span>未提交&nbsp;:{{dept.unreported_count}}人</span>
                        <i class="icon ion-chevron-right float-right" ng-class="{'disabled':dept.unreported_count == 0}"></i>
                    </div>
                </div>
            </div>
        </ion-list>
    </ion-content>
</ion-view>