contacts-deptlst.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <ion-view view-title="{{titleName}}" hide-nav-bar="false" hide-tabs="true">
  2. <ion-nav-buttons side="right">
  3. <button class="button button-clear" ng-click="editDep();">编辑</button>
  4. </ion-nav-buttons>
  5. <ion-content>
  6. <!--<div class="item item-divider">-->
  7. <!--<div>-->
  8. <!--<label class="item item-input search-label">-->
  9. <!--<i class="icon ion-ios-search placeholder-icon"></i>-->
  10. <!--<input type="text" ng-focus="search();" placeholder="搜索姓名/拼音/电话">-->
  11. <!--</label>-->
  12. <!--</div>-->
  13. <!--</div>-->
  14. <div ng-if="loading" class="center init-load action-sheet-backdrop">
  15. <ion-spinner icon="android"></ion-spinner>
  16. </div>
  17. <div class="item item-divider divider-font" ng-if="deptdisplay();"><i class="icon ion-ios-star"></i>部门({{deptlst.length}})</div>
  18. <ion-list ng-if="!loading">
  19. <!--部门列表-->
  20. <ion-item class="item item-icon-right" ng-repeat="dept in deptlst" type="item-text-wrap" ng-click="todept(dept)">
  21. {{dept.depname}}
  22. <i class="icon ion-chevron-right icon-accessory"></i>
  23. </ion-item>
  24. </ion-list>
  25. <!--联系人-->
  26. <div class="item item-divider divider-font" ng-if="empdisplay();"><i class="icon ion-ios-star"></i>联系人({{emplst.length}})</div>
  27. <ion-list class="audit-list" ng-if="!loading">
  28. <ion-item ng-repeat="emp in emplst" ng-click="lookMsg(emp.im_usrid,emp.username,emp.cellphone)" class="item-thumbnail-left over-flow-auto item-text-wrap">
  29. <img ng-src="../../../img/panda.png">
  30. <h2>{{emp.username}}</h2>
  31. <p>{{titleName}} {{emp.degree}}</p>
  32. <ion-delete-button class="ion-minus-circled" ng-click="onItemDelete(item)">
  33. </ion-delete-button>
  34. </ion-item>
  35. <ion-item class="item-border">
  36. </ion-item>
  37. <ion-list>
  38. </ion-content>
  39. </ion-view>