schedule-details.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <ion-view view-title="日程详情">
  2. <ion-nav-buttons side="right">
  3. <button class="button button-icon ion-ios-more" ng-click="popover.show($event)"></button>
  4. </ion-nav-buttons>
  5. <ion-content>
  6. <ion-refresher pulling-text="下拉刷新" on-refresh="doRefresh()"></ion-refresher>
  7. <ion-spinner ng-if="loading" class="center init-load" icon="android"></ion-spinner>
  8. <ion-item ng-if="!loading" ng-class="{true:'item-icon-right schedule-details-header-disable',false:'item-icon-right schedule-details-header'}[isOver]">
  9. <!--<p>{{execute_dd_title}}</p>-->
  10. <!--<span>{{details.create_user_name}}安排的日程</span>-->
  11. <span>我的日程</span>
  12. <i class="icon icon-Expired1 schedule-icon-position1" ng-if="isOver"></i>
  13. </ion-item>
  14. <ion-item ng-if="!loading" class="item-icon-right">
  15. <p ng-bind-html="details.content | SwitchHtmlContent"></p>
  16. </ion-item>
  17. <!--<ion-item class="item-icon-left">
  18. <i class="icon ion-ios-person-outline"></i>
  19. <p>日程人员:{{scheduleMemberNames}}</p>
  20. </ion-item>-->
  21. <ion-item ng-if="!loading" class="item-icon-left item-text-wrap" ng-show="details.repeat_type != 0">
  22. <i class="icon ion-ios-infinite-outline"></i>
  23. <p>{{ details.repeat_type != "0" ? repeat_req_title + "重复" : ""}} {{ details.end_date == null ? "" : details.end_date | date:'yyyy-MM-dd' }}
  24. {{details.end_date == null ? "" : "结束" | date:'yyyy-MM-dd' }}</p>
  25. </ion-item>
  26. </ion-content>
  27. <div class="tabs tabs-icon-left schedule-details-footer" ng-show="isShowRemoveMember">
  28. <button class="button button-full button-light account-botton" ng-click="deleteMember(removeSchdulememberId)">退出日程
  29. </button>
  30. </div>
  31. <script id="templates/detailsmenu.html" type="text/ng-template">
  32. <ion-popover-view ng-class="{true:'details-popup',false:'details-popup-other'}[cssstyle]" style="width:100px;height:100px">
  33. <ion-content>
  34. <ion-list>
  35. <ion-item class="item item-button" ng-click="edit()" ng-show="!isOver">编辑</ion-item>
  36. <ion-item class="item item-button" ng-click="deleteSchedule()">删除</ion-item>
  37. </ion-list>
  38. </ion-content>
  39. </ion-popover-view>
  40. </script>
  41. </ion-view>