edit.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <titlemenu></titlemenu>
  2. <div class="dj-card">
  3. <div class="dj-body" activate-input activate-select>
  4. <div class="card">
  5. <form class="form-horizontal" role="form" id="editForm"
  6. name="editForm" ng-submit="save(editForm.$valid)" novalidate>
  7. <div class="dj-formtable">
  8. <table class="dj-table dj-table3">
  9. <tr>
  10. <th>所属党组织<span style="color:red;">*</span></th>
  11. <td>
  12. <div class="input-group input-group-search"
  13. title="选择党组织" ng-click="selectParty()">
  14. <input name="partyname" type="text" ng-model="dataModel.partyname"
  15. class="form-control" ng-required="true"
  16. ng-disabled="true"/>
  17. <span class="input-group-addon"><i class="material-icons">search</i></span>
  18. </div>
  19. <span ng-show="this.editForm.partyname.$invalid && this.editForm.$submitted"
  20. class="error">必填.</span>
  21. </td>
  22. <th>会议名称<span style="color:red;">*</span></th>
  23. <td ng-class="{ 'has-error' : this.editForm.title.$invalid && this.editForm.$submitted}">
  24. <input type="text" class="form-control" name="title" autocomplete="off" autoclose="true"
  25. ng-model="dataModel.title" ng-required="true"/>
  26. <span ng-show="this.editForm.title.$invalid && this.editForm.$submitted"
  27. class="error">必填.</span>
  28. </td>
  29. <th>会议时间<span style="color:red;">*</span></th>
  30. <td ng-class="{ 'has-error' : this.editForm.meetingdate.$invalid && this.editForm.$submitted}">
  31. <input name="meetingdate" class="form-control"
  32. autocomplete="off" autoclose="true"
  33. data-date-format="yyyy-MM-dd" data-date-type="date"
  34. ng-model="dataModel.meetingdate"
  35. placeholder="" bs-datepicker ng-required="true"/>
  36. <span ng-show="this.editForm.meetingdate.$invalid && this.editForm.$submitted"
  37. class="error">必填.</span>
  38. </td>
  39. </tr>
  40. <tr>
  41. <th>主持人</th>
  42. <td ng-class="{ 'has-error' : this.editForm.compere.$invalid && this.editForm.$submitted}">
  43. <input type="text" class="form-control" name="compere"
  44. autocomplete="off" autoclose="true" ng-model="dataModel.compere"/>
  45. </td>
  46. <th>会议地址</th>
  47. <td colspan="3" ng-class="{ 'has-error' : this.editForm.address.$invalid && this.editForm.$submitted}">
  48. <div class="form-group" style="margin-bottom: 4px;margin-top: 5px;">
  49. <div class="form-line select-group" style="padding-bottom: 1px;">
  50. <select ng-model="dataModel.address"
  51. ng-options="type as type for type in addressList"
  52. class="form-control"
  53. name="addressSelect">
  54. </select>
  55. </div>
  56. <div class="form-line" style="width: 98%;margin-top: -29px;z-index: 9;"
  57. ng-class="{ 'focused error' : this.editForm.address.$invalid && this.editForm.$submitted}">
  58. <input type="text" name="address"
  59. ng-model="dataModel.address"
  60. maxlength="1000" autocomplete="off" autoclose="true"
  61. class="form-control"/>
  62. </div>
  63. <span ng-show="this.editForm.address.$invalid && this.editForm.$submitted"
  64. class="error">必填.</span>
  65. </div>
  66. </td>
  67. </tr>
  68. <tr>
  69. <th style="width: 5%;">“三重一大”类别</th>
  70. <td colspan="5">
  71. <div style="float: left;position: relative;display: inline-block;margin: 0px 0px 0px 5px;"
  72. ng-repeat="it in scydTypeList">
  73. <input type="checkbox" ng-model="it.checked"
  74. id="{{pageId}}_scydcheckbox_{{it.dickey}}"/>
  75. <label for="{{pageId}}_scydcheckbox_{{it.dickey}}">{{it.dicvalue}}</label>
  76. </div>
  77. </td>
  78. </tr>
  79. </table>
  80. </div>
  81. <div class="dj-formtable">
  82. <div class="table-responsive list-table-panel">
  83. <div class="list-table-title">
  84. <div class="table-title">
  85. 出席人员列表({{dataModel.personnellist.length}}人)
  86. </div>
  87. <div class="table-tool">
  88. <button type="button" class="btn btn-primary dropdown-toggle"
  89. data-dataoptions="selectUserlist" title="新增"
  90. ng-click="selectUser()"
  91. bsselectdata-pro>
  92. 新增
  93. </button>
  94. </div>
  95. </div>
  96. <div class="outoflow" style="max-height: 300px;">
  97. <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
  98. <thead>
  99. <tr>
  100. <th>序号</th>
  101. <th>姓名</th>
  102. <th>是否缺勤</th>
  103. <th>缺勤原因</th>
  104. <th>操作</th>
  105. </tr>
  106. </thead>
  107. <tbody>
  108. <tr ng-repeat="it in dataModel.personnellist">
  109. <td scope="row">{{$index+1}}</td>
  110. <td>{{it.xm}}</td>
  111. <td>
  112. <input type="checkbox" id="{{pageId}}_checkbox_{{$index+1}}"
  113. class="filled-in chk-col-red" ng-checked="it.isabsenteeism==1"
  114. ng-click="it.isabsenteeism==1?it.isabsenteeism=0:it.isabsenteeism=1"/>
  115. <label class="checkbox_lable" style="height: 10px;"
  116. for="{{pageId}}_checkbox_{{$index+1}}">{{it.isabsenteeism == 1 ? "是" : "否"}}</label>
  117. </td>
  118. <td>
  119. <textarea name="absenteeismcause" ng-model="it.absenteeismcause"
  120. class="form-control" rows="3"></textarea>
  121. </td>
  122. <td class="text-center">
  123. <button class="btn td-btn bg-pink waves-effect"
  124. ng-click="deleteUser($index)" title="删除">
  125. 删除
  126. </button>
  127. </td>
  128. </tr>
  129. <tr ng-if="userList.length<=0">
  130. <td colspan="7" style="text-align:center">暂无数据</td>
  131. </tr>
  132. </tbody>
  133. </table>
  134. </div>
  135. </div>
  136. </div>
  137. <div class="dj-formtable">
  138. <table class="dj-table">
  139. <tr>
  140. <th style="width: 5%;">列席人员</th>
  141. <td colspan="5">
  142. <input type="text" name="personnel" ng-model="dataModel.personnel"
  143. autocomplete="off" autoclose="true" class="form-control"/>
  144. </td>
  145. </tr>
  146. <tr>
  147. <th style="width: 5%;">会议主要议程及结果</th>
  148. <td colspan="5">
  149. <textarea name="result" ng-model="dataModel.result"
  150. class="form-control" rows="3"></textarea>
  151. </td>
  152. </tr>
  153. </table>
  154. </div>
  155. <bsfiles ng-model="reqFileModel"/>
  156. <div class="form_foot">
  157. <button type="button" class="btn btn-default" ng-click="pagechange()">取消</button>
  158. <button type="submit" class="btn btn-primary" form="editForm">保存</button>
  159. </div>
  160. </form>
  161. </div>
  162. </div>
  163. </div>