editAuthority.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <ion-view style="background-color: #f2f2f2;">
  2. <div class="bar bar-header" style="background-color: #fff;background-image: none;">
  3. <div class="button button-icon icon pus_blue" ng-click="goback()"></div>
  4. <button class="button button-icon icon goback" ng-click="goback()"></button>
  5. <h1 class="bar_title">编辑权限</h1>
  6. <span class="DockingTheme_button" ng-click="editAuthority()">保存</span>
  7. </div>
  8. <ion-content delegate-handle="calenderContent" class="has-header">
  9. <form style="height:45px;background-color: #fff;margin: 6px 0;width:100%;" ng-if="locknum==0">
  10. <span style="display: inline-block;height: 100%;line-height:45px;width: auto;color: #ccc;padding-left: 15px;float: left;">权限名称</span>
  11. <input placeholder="权限名称" style="height: 100%;border: none;width:auto;padding-left: 13px;float: left;" ng-model="authority.name" maxlength="20">
  12. </form>
  13. <form style="height:45px;background-color: #fff;margin: 6px 0;width:100%;" ng-if="locknum>0">
  14. <span style="display: inline-block;height: 100%;line-height:45px;width: auto;color: #ccc;padding-left: 15px;float: left;">权限名称</span>
  15. <input placeholder="权限名称" style="height: 100%;border: none;width:auto;padding-left: 13px;float: left;font-size: 15px;color: #ccc;background-color: rgb(255, 255, 255);" readonly="true" ng-model="authority.name" maxlength="20">
  16. </form>
  17. <div class="new_build_category" ng-click="addMember()" style="margin-bottom: 0;border-bottom: .5px solid #e6e6e7;">
  18. <i class="ion-plus" style=""></i>
  19. <h3>添加成员</h3>
  20. <small ng-bind="MemberList.length+'人'"></small>
  21. </div>
  22. <ion-list show-delete="data.showDelete" show-reorder="data.showReorder" style="background-color: #fff;display: block;">
  23. <ion-item style="height:53px;padding: 0;border: none;" ng-repeat="member in MemberList track by $index">
  24. <span style="display: inline-block;height:auto;position: relative;top:5px;left: 13px;float: left;clear: both;">
  25. <img ng-src="{{imgUrl+avaterPath+member.photo}}" onerror="javascript:this.src='./img/admin_picter.jpg';" width="40" height="40" style="border: 1px solid transparent;border-radius: 50%;">
  26. </span>
  27. <div class="authority_SetName">
  28. <h3 class="authorityName_h3" style="width: auto;border: none;position:relative;left: 5px; height:53px;line-height:53px;margin: 0;" ng-bind="member.userName"></h3>
  29. <span class="delectCloudMember" ng-if="$index>=locknum&&$index!=0" ng-click="delectCloudMember($index)"></span>
  30. </div>
  31. <h4 class="authorityName_h3" ng-if="member.iscreator==1&&$index==0" style="width: auto;font-size: 15px;color: #ccc;right: 4%;">创建者</h4>
  32. </ion-item>
  33. </ion-list>
  34. </ion-content>
  35. </ion-view>