123456789101112131415161718192021222324 |
- <!---编辑部门-->
- <ion-view view-title="{{titleName}}" hide-back-button="true" cache-view="false">
- <ion-nav-buttons side="left">
- <button class="button button-clear" ng-click="cancel();">取消</button>
- </ion-nav-buttons>
- <ion-nav-buttons side="right">
- <button class="button button-clear" ng-click="save();" ng-disabled="isdisabled_ok" >完成</button>
- </ion-nav-buttons>
- <ion-content>
- <div class="item item-divider divider-font"><i class="icon ion-ios-star"></i>部门({{deptlst.length}})</div>
- <ion-list>
- <ion-item class="item item-icon-left item-icon-right" ng-repeat="dept in deptlst track by $index" type="item-text-wrap">
- <i class="icon ion-android-remove-circle" style="color:red;" ng-click="remove(dept,$index)"></i>
- <input type="text" ng-model="dept.depname" placeholder="请输入部门名称"/>
- <i class="icon ion-navicon-round icon-accessory"></i>
- </ion-item>
- </ion-list>
- <ion-item class="item item-icon-left item-icon-right" type="item-text-wrap" ng-click="add();">
- <i class="icon ion-plus-circled balanced"></i> 添加部门
- <i class="icon ion-navicon-round icon-accessory"></i>
- </ion-item>
- </ion-content>
- </ion-view>
- <!-- ng-click="deptlst.splice($index, 1) -->
|