systemworktime.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <div class="modal-header">
  2. <div class="modal-title fontcolor-two fontsizes-14">{{title}}<button type="button" class="close pull-right" ng-click="cancel()">×</button></div>
  3. </div>
  4. <div class="modal-body margin-top-15 margin-left-15 margin-bottom-15 margin-right-15 addrequster">
  5. <form role="form" class="row">
  6. <div class="margin-left-30 margin-right-30 margin-top-20">
  7. <div class="margin-bottom-15 anline">
  8. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">班次*:</div>
  9. <div class="pull-right openaddinput">
  10. <input class="form-control" ng-model="worktimedata.name" placeholder="输入班次..." />
  11. </div>
  12. </div>
  13. <div class="margin-bottom-15 anline">
  14. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14 margin-top-10">开始时间*:</div>
  15. <div class="pull-right openaddinput">
  16. <timepicker ng-model="worktimedata.startTime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
  17. </div>
  18. </div>
  19. <div class="margin-bottom-15 anline">
  20. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14 margin-top-10">结束时间*:</div>
  21. <div class="pull-right openaddinput">
  22. <timepicker ng-model="worktimedata.endTime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
  23. </div>
  24. </div>
  25. <div class="margin-bottom-15 anline">
  26. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">班次人数*:</div>
  27. <div class="pull-right openaddinput">
  28. <input class="form-control" ng-model="worktimedata.person" placeholder="输入班次人数..." />
  29. </div>
  30. </div>
  31. <div class="margin-bottom-15 anline">
  32. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">季节:</div>
  33. <div class="pull-right openaddinput">
  34. <ui-select ng-model="worktimedata.dictionaryDTO" theme="bootstrap">
  35. <ui-select-match placeholder="选择所属季节...">
  36. {{$select.selected.name}}
  37. </ui-select-match>
  38. <ui-select-choices repeat="item in dictionary | filter: $select.search">
  39. {{item.name}}
  40. </ui-select-choices>
  41. </ui-select>
  42. </div>
  43. </div>
  44. <div class="margin-bottom-15 anline">
  45. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">班次描述:</div>
  46. <div class="pull-right openaddinput">
  47. <input class="form-control" ng-model="worktimedata.description" placeholder="输入班次描述..." />
  48. </div>
  49. </div>
  50. <div class="margin-bottom-15 anline">
  51. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">是否为模版:</div>
  52. <div class="pull-right openaddinput">
  53. <div class="setting-box clearfix">
  54. <span class="setting-switch pull-left">
  55. <switch ng-model="worktimedata.isTemplate" class="green"></switch>
  56. </span>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="margin-bottom-15 anline">
  61. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">是否停用:</div>
  62. <div class="pull-right openaddinput">
  63. <div class="setting-box clearfix">
  64. <span class="setting-switch pull-left">
  65. <switch ng-model="worktimedata.deleteFlag" class="green"></switch>
  66. </span>
  67. </div>
  68. </div>
  69. </div>
  70. <!-- 是否值班提醒 -->
  71. <div class="margin-bottom-15 anline">
  72. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14" style="width: 100px;">是否值班提醒:</div>
  73. <div class="pull-right openaddinput">
  74. <div class="setting-box clearfix">
  75. <div class="setting-switch pull-left">
  76. <div class="radio clip-radio radio-primary radio-inline">
  77. <input type="radio" id="yes" ng-value="1" name="sendMsg" ng-model="worktimedata.sendMsg">
  78. <label for="yes">
  79. </label>
  80. </div>
  81. <div class="radio clip-radio radio-primary radio-inline">
  82. <input type="radio" id="no" ng-value="0" name="sendMsg" ng-model="worktimedata.sendMsg">
  83. <label for="no">
  84. </label>
  85. </div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <!-- 值班提醒选择是的时候,需要选择时间 -->
  91. <div class="margin-bottom-15 anline" ng-if="worktimedata.sendMsg == 1">
  92. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14 margin-top-10" style="width: 100px;">每日发送时间*:</div>
  93. <div class="pull-right openaddinput">
  94. <timepicker ng-model="worktimedata.sendTime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
  95. </div>
  96. </div>
  97. </div>
  98. </form>
  99. </div>
  100. <div class="modal-footer">
  101. <button class="btn btn-primary" ng-click="savercode(worktimedata)" data-dismiss="modal" translate="modal.button.OK">OK</button>
  102. <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button>
  103. </div>