selectmember.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. <div ng-if="loading" class="center init-load action-sheet-backdrop">
  7. <ion-spinner icon="android"></ion-spinner>
  8. </div>
  9. <ul ng-show="showall" ng-if="!loading">
  10. <li class="check-dept-li">
  11. <label class="list item-checkbox">
  12. <div class="checkbox checkbox-input-hidden disable-pointer-events checkbox-circle">
  13. <input ng-model="selecteditems.all" ng-click="selectAll()" type="checkbox" class="ng-pristine ng-untouched ng-valid ng-not-empty">
  14. <i class="checkbox-icon"></i>
  15. </div>
  16. </label>
  17. <label ng-click="selectAll();">
  18. <span class="deptname">全部成员</span>
  19. </label>
  20. </li>
  21. </ul>
  22. <!--<ion-item class="item item-icon-right item-text-wrap" ng-show="showgroup" ng-click="toselectgroup();">
  23. 选择一个小组
  24. <i class="icon ion-chevron-right icon-accessory"></i>
  25. </ion-item>-->
  26. <div ng-if="!loading" class="item item-divider divider-font" ng-show="deptlst.length>0"><i class="icon ion-ios-star"></i>部门({{deptlst.length}})</div>
  27. <ion-list ng-if="!loading">
  28. <item-dept ng-repeat="dept in deptlst"></item-dept>
  29. </ion-list>
  30. <ion-list ng-if="!loading" ng-show="emplst.length>0">
  31. <div class="item item-divider divder divider-font"><i class="icon ion-ios-star"></i>联系人({{emplst.length}})</div>
  32. <item-member ng-repeat="emp in emplst"></item-member>
  33. <div class='obligate-item'></div>
  34. </ion-list>
  35. </ion-content>
  36. <footer-member ng-if="!loading"></footer-member>
  37. </ion-view>