1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <ion-view view-title="新建任务" hide-back-button="true">
- <ion-nav-buttons side="left">
- <button class="button button-clear" ng-click="goback()">取消</button>
- </ion-nav-buttons>
- <ion-nav-buttons side="right">
- <button class="button button-clear" ng-click="addTask()">完成</button>
- </ion-nav-buttons>
- <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" placeholder="输入任务详情"></textarea>
- </div>
- <div class="item">
- <div ng-repeat="image in image_list track by $index">
- <img data-ng-src={{image}} ng-click="shouBigImage(image)"/>
- </div>
- <div class="center" ng-click="addphoto()">
- <i class="icon ion-camera"></i>
- </div>
- </div>
- </div>
- <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-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 != 0" 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" ng-click="showModal()">主要负责人
- <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"></div>
- <a class="item item-icon-right" 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>
- </ion-content>
- <div id="rightDisplay" ng-show="commons.bigImage" class="popover-backdrop1">
- <img class="fullscreen-image" ng-click="hideBigImage()" ng-src="{{Url}}" ng-pinch-zoom/>
- <i class="ion-ios-trash-outline" ng-click="deleteimage()"></i>
- </div>
- </ion-view>
|