selectsinglemember.html 1.4 KB

123456789101112131415161718192021222324
  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 ng-init="init();">
  6. <div ng-if="loading" class="center init-load action-sheet-backdrop">
  7. <ion-spinner icon="android"></ion-spinner>
  8. </div>
  9. <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>
  10. <ion-list ng-if="!loading">
  11. <item-dept ng-repeat="dept in deptlst"></item-dept>
  12. </ion-list>
  13. <!--员工-->
  14. <div ng-if="!loading" class="item item-divider divider-font"><i class="icon ion-ios-star"></i>联系人({{emplst.length}})</div>
  15. <ion-list ng-if="!loading">
  16. <ion-checkbox ng-repeat="emp in emplst" ng-disabled="emp.disabled" ng-change="change(emp)" ng-model="emp.selected" class="ion-checkbox-class">
  17. <img ng-src="../../../img/panda.png" />
  18. <label class="labelname">{{emp. username}}</label>
  19. <label class="labelrole">{{emp.degree}}</label>
  20. </ion-checkbox>
  21. <ion-list>
  22. <div class='obligate-item'></div>
  23. </ion-content>
  24. </ion-view>