<ion-modal-view class="model-screen">
  <ion-header-bar class="">
    <h1 class="title title-color">全部筛选</h1>
    <button class="button button-icon icon ion-android-close blue-color"
      ng-click="serviceRecordMain.screenModal.hide()">
    </button>
  </ion-header-bar>
  <ion-content class="screenStyle">
    <div class="screenContentStyle">
      <div class="classification">
        <div class="ificationTitle">分类</div>
        <div class="classificationColumn">
          <div class="ificationItem" ng-click="serviceRecordMain.changeIficationItem(item, $index, $event)"
            ng-model="item.flag" ng-repeat="item in serviceRecordMain.ificationItemList track by $index">
            {{item.name}}
          </div>
        </div>
      </div>
      <div class="serviceTime">
        <div>服务时间</div>
        <div class="serviceTimeColumn">
          <span ng-click="serviceRecordMain.changeWorkOrders('recent', $event)">近期工单</span>
          <span ng-click="serviceRecordMain.changeWorkOrders('historical', $event)">历史工单</span>
        </div>
      </div>
      <div class="list-datepicker" ng-show="serviceRecordMain.timeControl">
        <div class="datepicker-item">
          <label class="timeFontSize">起始时间</label>
          <div class="datepicker-item-select">
            <ionic-datepicker input-obj="datepickerFormObject">
              <button class="button button-block datepicker-item-btn">
                <i class="icon ion-calendar datepicker-item-icon"></i>
                {{dateFrom | date:'yyyy/MM/dd'}}
              </button>
            </ionic-datepicker>
          </div>
        </div>
        <div class="datepicker-item-extra"><i class="icon ion-minus"></i></div>
        <div class="datepicker-item">
          <label class="timeFontSize">终止时间</label>
          <div class="datepicker-item-select">
            <ionic-datepicker input-obj="datepickerToObject">
              <button class="button button-block datepicker-item-btn">
                <i class="icon ion-calendar datepicker-item-icon"></i>
                {{dateTo | date:'yyyy/MM/dd'}}
              </button>
            </ionic-datepicker>
          </div>
        </div>
      </div>
      <div class="condition conditionAdd">
        <span ng-click="serviceRecordMain.reset()">重置</span>
        <span ng-click="serviceRecordMain.query()">确认</span>
      </div>
    </div>
  </ion-content>
</ion-modal-view>
