selectsingledept.html 1.3 KB

1234567891011121314151617181920212223
  1. <ion-view view-title="{{titlename}}" hide-back-button="true" cache-view="false">
  2. <ion-nav-buttons side="left">
  3. <button class="button button-clear" ng-click="this[leftbtn[index].click]();">{{leftbtn[index].text}}</button>
  4. </ion-nav-buttons>
  5. <ion-content>
  6. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  7. <div ng-if="!loading" class="item item-divider divider-font"><i class="icon ion-ios-star"></i>部门({{deptlst.length}})</div>
  8. <ul ng-if="!loading" class="list">
  9. <li class="check-dept-li" ng-repeat="dept in deptlst track by $index">
  10. <label class="list item-checkbox">
  11. <div class="checkbox checkbox-input-hidden disable-pointer-events checkbox-circle">
  12. <input ng-model="dept.selected" ng-change="change(dept)" type="checkbox" class="ng-pristine ng-untouched ng-valid ng-not-empty">
  13. <i class="checkbox-icon"></i>
  14. </div>
  15. </label>
  16. <label ng-click="tochilddept(dept)">
  17. <span class="deptname">{{dept.depname}}</span>
  18. <i class="icon ion-chevron-right icon-accessory" ng-show="is_showright(dept)"></i>
  19. </label>
  20. </li>
  21. </ul>
  22. </ion-content>
  23. </ion-view>