selectsinglemember.html 1.3 KB

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