editUserRoleModal.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <div class="modal" tabindex="-1" role="dialog" style="min-height:500px">
  2. <div class="modal-dialog" role="document">
  3. <div class="modal-content">
  4. <div class="panel-heading modal-header" dragable-header>
  5. <button type="button" class="close" ng-click="$hide()">&times;</button>
  6. <h3 class="modal-title">{{title}}</h3>
  7. </div>
  8. <form class="form-horizontal formtable1 panel-body modal-body"
  9. ng-submit="saveUserRole(editUserRoleForm.$valid)" role="form" id="editUserRoleForm"
  10. name="editUserRoleForm" style="padding: 10px; margin: 10px;" novalidate>
  11. <table class="table table-bordered tform">
  12. <tr>
  13. <th class="col-md-2"><span style="color:red;">*</span>角色名称:</th>
  14. <td>
  15. <input name="RoleName" type="text" ng-model="userRole.RoleName" class="form-control"
  16. disabled value={{userRole.RoleName}}/>
  17. </td>
  18. </tr>
  19. <tr>
  20. <th class="col-md-2"><span style="color:red;">*</span>人员名称:</th>
  21. <td ng-class="{ 'has-error' : editUserRoleForm.selectedName.$invalid && (editUserRoleForm.$submitted) }">
  22. <label class="input-group">
  23. <input name="selectedName" type="text" ng-model="selectUserParams.selectedLabeData" class="form-control"
  24. required value={{selectUserParams.selectedLabeData}} ng-readonly="true"/>
  25. <!--<input name="userRole.selectedGuids" ng-model="userRole.selectedGuids" style="display:none" />-->
  26. <span class="input-group-addon" data-dataoptions="selectUserParams" bsselectdata-pro>
  27. <i class="glyphicon glyphicon-zoom-in"></i>
  28. </span>
  29. </label>
  30. <span ng-show="editUserRoleForm.selectedName.$invalid && (editUserRoleForm.$submitted)"
  31. class="help-block">请选择人员</span>
  32. </td>
  33. </tr>
  34. </table>
  35. <div class="form_foot" id="buttons" style="text-align:center">
  36. <button id="submit" class="btn btn-default1" style="padding:4px 20px 4px 20px" type="submit"
  37. form="editUserRoleForm">提交
  38. </button>
  39. <button id="cancel" type="button" class="btn btn-default" style="padding:4px 20px 4px 20px"
  40. ng-click="$hide()">取消
  41. </button>
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </div>