contacts-deptlst.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  15. <div class="item item-divider divider-font" ng-if="deptdisplay();"><i class="icon ion-ios-star"></i>部门({{deptlst.length}})</div>
  16. <ion-list ng-if="!loading">
  17. <!--部门列表-->
  18. <ion-item class="item item-icon-right" ng-repeat="dept in deptlst" type="item-text-wrap" ng-click="todept(dept)">
  19. {{dept.depname}}
  20. <i class="icon ion-chevron-right icon-accessory"></i>
  21. </ion-item>
  22. </ion-list>
  23. <!--联系人-->
  24. <div class="item item-divider divider-font" ng-if="empdisplay();"><i class="icon ion-ios-star"></i>联系人({{emplst.length}})</div>
  25. <ion-list class="audit-list" ng-if="!loading">
  26. <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">
  27. <img ng-src="../../../img/panda.png">
  28. <h2>{{emp.username}}</h2>
  29. <p>{{titleName}} {{emp.degree}}</p>
  30. <ion-delete-button class="ion-minus-circled" ng-click="onItemDelete(item)">
  31. </ion-delete-button>
  32. </ion-item>
  33. <ion-item class="item-border">
  34. </ion-item>
  35. <ion-list>
  36. </ion-content>
  37. </ion-view>