selectmember.html 1.9 KB

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