edit.html 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <div class="modal" tabindex="-1" role="dialog">
  2. <div class="modal-dialog" style="width: 850px;">
  3. <div class="card">
  4. <div class="header" dragable-header>
  5. <button type="button" class="close" ng-click="$hide()">&times;</button>
  6. <h4 class="modal-title">{{editParams.title}}</h4>
  7. </div>
  8. <div activate-input activate-select class="body">
  9. <form class="form-horizontal" role="form" id="editForm"
  10. name="editForm" ng-submit="save(editForm.$valid)" novalidate>
  11. <div class="dj-formtable">
  12. <table class="dj-table">
  13. <tr>
  14. <th>所属党组织<span style="color:red;">*</span></th>
  15. <td colspan="3">
  16. <div class="input-group input-group-search"
  17. title="选择党组织" ng-click="selectParty()">
  18. <input name="partyname" type="text" ng-model="dataModel.partyname"
  19. class="form-control" ng-required="true"
  20. ng-disabled="true"/>
  21. <span class="input-group-addon"><i class="material-icons">search</i></span>
  22. </div>
  23. <span ng-show="this.editForm.partyname.$invalid && this.editForm.$submitted"
  24. class="error">必填.</span>
  25. </td>
  26. </tr>
  27. <tr>
  28. <th>会议主题<span style="color:red;">*</span></th>
  29. <td colspan="3" ng-class="{ 'has-error' : this.editForm.title.$invalid && this.editForm.$submitted}">
  30. <input type="text" class="form-control" name="title"
  31. ng-model="dataModel.title" ng-required="true"/>
  32. </td>
  33. </tr>
  34. <tr>
  35. <th>会议时间<span style="color:red;">*</span></th>
  36. <td ng-class="{ 'has-error' : this.editForm.meetingdate.$invalid && this.editForm.$submitted}">
  37. <input name="meetingdate" class="form-control"
  38. autocomplete="off"
  39. autoclose="true"
  40. data-date-format="yyyy-MM-dd" data-date-type="date"
  41. ng-model="dataModel.meetingdate"
  42. placeholder="" bs-datepicker ng-required="true"/>
  43. </td>
  44. <th>会议参加人数<span style="color:red;">*</span></th>
  45. <td ng-class="{ 'has-error' : this.editForm.usercount.$invalid && this.editForm.$submitted}">
  46. <input type="number" class="form-control" name="usercount"
  47. ng-model="dataModel.usercount" min="0" ng-required="true"/>
  48. </td>
  49. </tr>
  50. <tr>
  51. <th>会议地址<span style="color:red;">*</span></th>
  52. <td colspan="3" ng-class="{ 'has-error' : this.editForm.address.$invalid && this.editForm.$submitted}">
  53. <input type="text" class="form-control" name="address"
  54. ng-model="dataModel.address" ng-required="true"/>
  55. </td>
  56. </tr>
  57. </table>
  58. </div>
  59. <bsfiles ng-model="reqFileModel"/>
  60. <div class="form_foot">
  61. <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
  62. <button type="submit" class="btn btn-primary" form="editForm">保存</button>
  63. </div>
  64. </form>
  65. </div>
  66. </div>
  67. </div>
  68. </div>