1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <ion-view view-title="编辑子任务">
- <ion-content ng-init="init()">
- <div class="item item-divider"></div>
- <ion-item class="item item-icon-right over-flow-auto item-text-wrap" ng-click="openmodal('childcontent')">
- 任务详情
- <span class="label-right-text item-note">{{task.content}}</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <div class="item item-divider"></div>
- <ion-item class="item item-icon-right" type="item-text-wrap" ng-click="openmodal('selectadmin')">
- 负责人
- <label class="label-right-text item-note">{{task.leader.username}}</label>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <div class="item item-divider"></div>
- <ion-item class="item item-icon-right" type="item-text-wrap" ng-click="checkend_dd();">
- 截止日期
- <label class="label-right-text item-note">{{task.end_dd == null ? '选填' : task.end_dd | date:'yyyy-MM-dd'}}</label>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </ion-item>
- <div class="item item-divider"></div>
- <button class="button button-full button-light account-botton" ng-click="deletechildTask()">删除任务</button>
- </ion-content>
- <script id="templates/modal-childcontent.html" type="text/ng-template">
- <ion-modal-view>
- <ion-header-bar class="bar bar-header">
- <button class="button button-clear" ng-click="cancel('edit');">取消</button>
- <h1 class="title">编辑子任务详情</h1>
- <button class="button button-clear" ng-click="ok();">完成</button>
- </ion-header-bar>
- <ion-content>
- <div class="item item-divider"></div>
- <div class="task-create-content">
- <div class="item item-input">
- <textarea rows="6" ng-model="task.content" autofocus="autofocus" placeholder="输入子任务详情"></textarea>
- </div>
- </div>
- </ion-content>
- </ion-modal-view>
- </script>
- </ion-view>
|