auditstepset.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <ion-view view-title="审批步骤设置" hide-tabs="true">
  2. <ion-nav-buttons style="border:none" side="right">
  3. <button class="button button-icon ion-ios-more" ng-if="is_show_delete!=true" ng-click="popover.show($event)"></button>
  4. <button class="button button-clear" ng-if="is_show_delete" ng-click="ok();">完成</button>
  5. </ion-nav-buttons>
  6. <ion-content>
  7. <div class="item item-divider dividercolor">可以设置每个人的审批步骤</div>
  8. <ion-refresher pulling-text="下拉刷新" pulling-icon="ion-ios-arrow-thin-down" on-refresh="doRefresh()"></ion-refresher>
  9. <ion-list class="audit-list" show-delete="is_show_delete">
  10. <div ng-repeat="result in resultdata track by $index">
  11. <div class="rj-contacts-index-bar item-remove-animate" id="index_{{result.sortchar}}">{{result.sortchar}}</div>
  12. <ion-item ng-repeat="person in result.persons track by $index" ng-click="toedit(person.emp.id)" class="item-thumbnail-left item-icon-right over-flow-auto item-text-wrap">
  13. <img ng-src="../../../img/panda.png">
  14. <h2>{{person.emp.username}}</h2>
  15. <p ng-style="">{{person.emp.degree}}</p>
  16. <ion-delete-button class="ion-minus-circled" ng-click="removeItem(person.emp,result.sortchar)">
  17. </ion-delete-button>
  18. <p class="label-right-text">{{person.checknames}}</p>
  19. <i class="icon ion-chevron-right icon-accessory"></i>
  20. </ion-item>
  21. </div>
  22. <ion-item class="item-border">
  23. </ion-item>
  24. </ion-list>
  25. </ion-content>
  26. <div class="rj-contacts-right-bar" rj-position-middle on-drag="contacts_right_bar_swipe($event)">
  27. <div>&uarr;</div>
  28. <div>☆</div>
  29. <div ng-repeat="char in sortchars" ng-click="sortByChar(char,'index_{{char}}')">{{char}}</div>
  30. </div>
  31. <div class="rj-contacts-middle-bar" ng-show="is_show_middle">
  32. {{sortchar}}
  33. </div>
  34. <script id="templates/add.html" type="text/ng-template">
  35. <ion-popover-view class="popver_view">
  36. <ion-content>
  37. <ion-list>
  38. <ion-item class="item item-button" type="item-text-wrap" ng-click="toadd();">添加成员</ion-item>
  39. <ion-item class="item item-button" type="item-text-wrap" ng-click="displayremove();">移除成员</ion-item>
  40. </ion-list>
  41. </ion-content>
  42. </ion-popover-view>
  43. </script>
  44. </ion-view>