modal-addchildtask.html 1.4 KB

123456789101112131415161718192021222324252627
  1. <ion-modal-view>
  2. <ion-header-bar class="bar bar-header">
  3. <button class="button button-clear" ng-click="closeModal();">取消</button>
  4. <h1 class="title">添加子任务</h1>
  5. <button class="button button-clear" ng-click="addchildtask();">完成</button>
  6. </ion-header-bar>
  7. <ion-content>
  8. <div class="item item-divider"></div>
  9. <div class="task-create-content">
  10. <div class="item item-input">
  11. <textarea rows="6" ng-model="childtask.content" autofocus="autofocus" placeholder="输入子任务详情"></textarea>
  12. </div>
  13. </div>
  14. <div class="item item-divider"></div>
  15. <ion-item class="item item-icon-right" type="item-text-wrap" ng-click="checkheader();">
  16. 负责人
  17. <label class="label-right-text item-note">{{childtask.leader==null ? '选填':childtask.leader.username}}</label>
  18. <i class="icon ion-chevron-right icon-accessory"></i>
  19. </ion-item>
  20. <div class="item item-divider"></div>
  21. <ion-item class="item item-icon-right" type="item-text-wrap" ng-click="checkend_dd();">
  22. 截止日期
  23. <label class="label-right-text item-note">{{childtask.end_dd == null ? '选填' : childtask.end_dd | date:'yyyy-MM-dd'}}</label>
  24. <i class="icon ion-chevron-right icon-accessory"></i>
  25. </ion-item>
  26. </ion-content>
  27. </ion-modal-view>