123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <ion-view view-title="设置">
- <ion-content>
- <div class="item item-divider" ng-if="Isheader"></div>
- <a class="item item-icon-right over-flow-auto item-text-wrap" ng-if="Isheader" ng-click="showModal('content')">任务详情
- <span class="item-note" ng-bind-html="task.content"></span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </a>
- <div class="item item-divider"></div>
- <div class="item task-create-member">
- <div class="center" ng-repeat="item in task.task_members">
- <i class="icon ion-ios-minus" ng-if="Isheader || task.leader.id != item.usr_id" ng-click="remove(item,$index)" ng-show="isremove"></i>
- <img ng-src="../../../img/cat.png"/>
- <p ng-class="{true:'task-create-member-p'}[item == task.task_members[0]]">{{item.username}}</p>
- </div>
- <div class="tabs-icon-top" ng-click="selectmember()">
- <a class="tab-item">
- <i class="icon ion-ios-plus-outline"></i>
- <span>任务成员</span>
- </a>
- </div>
- <div class="tabs-icon-top" ng-show="(task.task_members.length > 1 && Isheader) || (task.task_members.length > 1 && task.leader.id == user.id)" ng-click="changeRemove(isremove)">
- <a class="tab-item">
- <i class="icon ion-ios-minus-outline"></i>
- <span>移除</span>
- </a>
- </div>
- </div>
- <a class="item item-icon-right" ng-show="(task.task_members.length > 1 && Isheader) || (task.task_members.length > 1 && task.leader.id == user.id)" ng-click="showModal('select')">主要负责人
- <span class="item-note">{{task.task_members[0].username}}</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </a>
- <div class="item item-divider" ng-if="Isheader"></div>
- <a class="item item-icon-right" ng-if="Isheader" ng-click="chooseDate()">截止日期
- <span class="item-note">{{task.end_dd == null ? '选填' : task.end_dd | date:'yyyy-MM-dd'}}</span>
- <i class="icon ion-chevron-right icon-accessory"></i>
- </a>
- <div class="item item-divider"></div>
- <button class="button button-full button-light account-botton" ng-click="deleteTask()">{{ Isheader ? '删除任务' : '退出任务'}}</button>
- </ion-content>
- </ion-view>
|