editchildtask.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <ion-view view-title="编辑子任务">
  2. <ion-content ng-init="init()">
  3. <div class="item item-divider"></div>
  4. <ion-item class="item item-icon-right over-flow-auto item-text-wrap" ng-click="openmodal('childcontent')">
  5. 任务详情
  6. <span class="label-right-text item-note">{{task.content}}</span>
  7. <i class="icon ion-chevron-right icon-accessory"></i>
  8. </ion-item>
  9. <div class="item item-divider"></div>
  10. <ion-item class="item item-icon-right" type="item-text-wrap" ng-click="openmodal('selectadmin')">
  11. 负责人
  12. <label class="label-right-text item-note">{{task.leader.username}}</label>
  13. <i class="icon ion-chevron-right icon-accessory"></i>
  14. </ion-item>
  15. <div class="item item-divider"></div>
  16. <ion-item class="item item-icon-right" type="item-text-wrap" ng-click="checkend_dd();">
  17. 截止日期
  18. <label class="label-right-text item-note">{{task.end_dd == null ? '选填' : task.end_dd | date:'yyyy-MM-dd'}}</label>
  19. <i class="icon ion-chevron-right icon-accessory"></i>
  20. </ion-item>
  21. <div class="item item-divider"></div>
  22. <button class="button button-full button-light account-botton" ng-click="deletechildTask()">删除任务</button>
  23. </ion-content>
  24. <script id="templates/modal-childcontent.html" type="text/ng-template">
  25. <ion-modal-view>
  26. <ion-header-bar class="bar bar-header">
  27. <button class="button button-clear" ng-click="cancel('edit');">取消</button>
  28. <h1 class="title">编辑子任务详情</h1>
  29. <button class="button button-clear" ng-click="ok();">完成</button>
  30. </ion-header-bar>
  31. <ion-content>
  32. <div class="item item-divider"></div>
  33. <div class="task-create-content">
  34. <div class="item item-input">
  35. <textarea rows="6" ng-model="task.content" autofocus="autofocus" placeholder="输入子任务详情"></textarea>
  36. </div>
  37. </div>
  38. </ion-content>
  39. </ion-modal-view>
  40. </script>
  41. </ion-view>