123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <div class="modal-header">
- <div class="modal-title fontcolor-two fontsizes-14">{{title}}<button type="button" class="close pull-right" ng-click="cancel()">×</button></div>
- </div>
- <div class="modal-body margin-top-15 margin-left-15 margin-bottom-15 margin-right-15 addrequster">
- <form role="form" class="row">
- <div class="margin-left-30 margin-right-30 margin-top-20">
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">班次*:</div>
- <div class="pull-right openaddinput">
- <input class="form-control" ng-model="worktimedata.name" placeholder="输入班次..." />
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14 margin-top-10">开始时间*:</div>
- <div class="pull-right openaddinput">
- <timepicker ng-model="worktimedata.startTime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14 margin-top-10">结束时间*:</div>
- <div class="pull-right openaddinput">
- <timepicker ng-model="worktimedata.endTime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">班次人数*:</div>
- <div class="pull-right openaddinput">
- <input class="form-control" ng-model="worktimedata.person" placeholder="输入班次人数..." />
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">季节:</div>
- <div class="pull-right openaddinput">
- <ui-select ng-model="worktimedata.dictionaryDTO" theme="bootstrap">
- <ui-select-match placeholder="选择所属季节...">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices repeat="item in dictionary | filter: $select.search">
- {{item.name}}
- </ui-select-choices>
- </ui-select>
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">班次描述:</div>
- <div class="pull-right openaddinput">
- <input class="form-control" ng-model="worktimedata.description" placeholder="输入班次描述..." />
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">是否为模版:</div>
- <div class="pull-right openaddinput">
- <div class="setting-box clearfix">
- <span class="setting-switch pull-left">
- <switch ng-model="worktimedata.isTemplate" class="green"></switch>
- </span>
- </div>
- </div>
- </div>
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">是否停用:</div>
- <div class="pull-right openaddinput">
- <div class="setting-box clearfix">
- <span class="setting-switch pull-left">
- <switch ng-model="worktimedata.deleteFlag" class="green"></switch>
- </span>
- </div>
- </div>
- </div>
- <!-- 是否值班提醒 -->
- <div class="margin-bottom-15 anline">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14" style="width: 100px;">是否值班提醒:</div>
- <div class="pull-right openaddinput">
- <div class="setting-box clearfix">
- <div class="setting-switch pull-left">
- <div class="radio clip-radio radio-primary radio-inline">
- <input type="radio" id="yes" ng-value="1" name="sendMsg" ng-model="worktimedata.sendMsg">
- <label for="yes">
- 是
- </label>
- </div>
- <div class="radio clip-radio radio-primary radio-inline">
- <input type="radio" id="no" ng-value="0" name="sendMsg" ng-model="worktimedata.sendMsg">
- <label for="no">
- 否
- </label>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- 值班提醒选择是的时候,需要选择时间 -->
- <div class="margin-bottom-15 anline" ng-if="worktimedata.sendMsg == 1">
- <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14 margin-top-10" style="width: 100px;">每日发送时间*:</div>
- <div class="pull-right openaddinput">
- <timepicker ng-model="worktimedata.sendTime" ng-change="changed()" hour-step="hstep" minute-step="mstep" show-meridian="ismeridian"></timepicker>
- </div>
- </div>
- </div>
- </form>
- </div>
- <div class="modal-footer">
- <button class="btn btn-primary" ng-click="savercode(worktimedata)" data-dismiss="modal" translate="modal.button.OK">OK</button>
- <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button>
- </div>
|