123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <%@include file="/commons/include/html_doctype.html"%>
- <html>
- <head>
- <title>排班向导</title>
- <%@include file="/commons/include/ats.jsp" %>
- <f:link href="web.css"></f:link>
- <link rel="stylesheet" type="text/css" href="${ctx}/styles/common/css/wizard/fuelux.wizard.css"></link>
- <script type="text/javascript" src="${ctx}/js/bootstrap/fuelux.wizard.min.js"></script>
- <script type="text/javascript" src="${ctx}/js/hotent/platform/ats/jquery.wizard.js"></script>
- <script type="text/javascript" src="${ctx}/js/hotent/platform/ats/AtsTurnShiftWizard.js"></script>
- <style type="text/css">
- .user-list{
- width: 100%;
- height: 600px;
- overflow:scroll;
- overflow-y:scroll;
- overflow-x:hidden;
- border: 1px solid #aaaaaa;
- }
- .text-tag {
- width:100%;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- text-align: left;
- cursor: pointer;
- }
- .text-tag {
- display: inline-block;
- position: relative;
- background: #D9EDF7;
- padding: 0px 20px 0px 10px;
- margin-right: 5px;
- vertical-align: text-bottom;
- border-bottom:2px solid #FFFFFF;
- top: 2px;
- }
- .text-label {
- color: #666;
- }
- .text-remove {
- position: absolute;
- top: 3px;
- right: 3px;
- color: #8786B7;
- text-align: center;
- cursor: pointer;
- text-shadow: 0 1px 1px white;
- line-height: 16px;
- width: 12px;
- }
- .calendar-info{
- width: 100%;
- height: 600px;
- border: 1px solid #aaaaaa;
- }
-
- thead tr{
- color: #83A3B4;
- }
- .fc-event {
- border: 0px !important;
- }
- .fc-grid .fc-day-number {
- float: left !important;
- padding-left: 2px;
- }
- thead tr.fc-first{
- background: #E8EDEE;
- }
- .fc-day-number{
- color: #797979;
- font-size: 14px;
- font-weight: 800;
- opacity: 0.2
- }
- .fc-state-highlight{
- background-color: white !important;
- }
- .gray-color{
- background-color:rgba(119, 119, 119, 0.43) !important;
- }
- .litterGreen-color{
- background-color: rgba(0, 197, 167, 1) !important;
- }
- .buttom_margin{
- margin-top: -12px !important;
- margin-bottom: 10px !important;
- }
- th.ui-th-column div{
- white-space:normal !important;
- height:auto !important;
- padding:0px;
- text-align:center;
- }
- .list-gridcell{
- background-color:#337ab7 ;color: #fff;cursor:pointer;
- }
-
- </style>
- </head>
- <body>
- <div id="fuelux-wizard" data-target="#step-container">
- <!-- #section:plugins/fuelux.wizard.steps -->
- <ul class="wizard-steps">
- <li data-target="#step1" class="active">
- <span class="step">1</span>
- <span class="title">选择排班方式</span>
- </li>
- <li data-target="#step2">
- <span class="step">2</span>
- <span class="title">设置时间</span>
- </li>
- <li data-target="#step3">
- <span class="step">3</span>
- <span class="title">选择人员</span>
- </li>
- <li data-target="#step4">
- <span class="step">4</span>
- <span class="title">排班设置</span>
- </li>
- <li data-target="#step5">
- <span class="step">5</span>
- <span class="title">完成</span>
- </li>
- </ul>
- </div>
- <div class="wizard-actions">
- <button class="btn btn-prev">
- <i class="ht-icon fa fa-arrow-left"></i>
- 上一步
- </button>
- <button class="btn btn-success btn-next" data-last="完 成">
- 下一步
- <i class="ht-icon fa fa-arrow-right icon-on-right"></i>
- </button>
- </div>
- <hr />
- <div class="step-content pos-rel" id="step-container">
-
- <div class="step-pane active" id="step1">
- <div style="width:auto;text-align:left;margin-left:37.5%;">
- <div>
- <label><input type="radio" id="shiftType1" name="shiftType" value="1" checked="checked"> 日历式排班 </label>
- <span class="help-block" var="shiftType1">适合的排班场景为所选员工使用相同轮班或排班规则。</span>
- </div>
- <div>
- <label><input type="radio" id="shiftType2" name="shiftType" value="2"> 列表式排班 </label>
- <span class="help-block" var="shiftType2">
- <ul>
- <li>适用的排班场景为所选员工使用相同或不同的轮班或排班规则。 </li>
- <li>可支持所选人员使用相同的轮班或排班规则。</li>
- <li>可支持不同人员使用相同的轮班规则但不同的起始点。 </li>
- <li>可支持不同人员使用不同的轮班或排班规则。</li>
- </ul>
- </span>
- </div>
- </div>
-
- </div>
- <!-- 第2步 -->
- <div class="step-pane" id="step2">
- <div style="width:auto;text-align:left;margin-left:30%;">
- <label>开始时间:</label>
- <input type="text" class="inputText datePicker" dateType="1" id="startTime" value="${startTime }">
- <label>结束时间:</label>
- <input type="text" class="inputText datePicker" dateType="2" id="endTime" value="${endTime }">
- </div>
- </div>
- <!-- 第2步 -->
- <div class="step-pane" id="step3">
- <div class="panel-query" style="text-align:center;">
- <span>考勤制度:</span>
- <input type="hidden" id="attencePolicy" value="${atsAttencePolicy.id }"/>
- <input type="text" id="attencePolicyName" class="inputText" value="${atsAttencePolicy.name }" readonly="readonly"/>
- <a href="javascript:;" onclick="selectAttencePolicy()" class="button"><span>选 择</span></a>
- <span>考勤组:</span>
- <input type="hidden" id="attenceGroup" />
- <input type="text" id="attenceGroupName" class="inputText" readonly="readonly"/>
- <a href="javascript:;" onclick="selectAttenceGroup()" class="button"><span>选 择</span></a>
- <span>姓名:</span>
- <input type="text" id="userName" class="inputText" />
- <span>所属组织:</span>
- <input type="hidden" id="orgId" />
- <input type="text" id="orgName" class="inputText" readonly="readonly"/>
- <a href="javascript:;" onclick="selectOrg()" class="button"><span>选 择</span></a>
- <a href="javascript:void(0);" id="btn_query" class='btn btn-primary'><span>查询</span></a>
- </div>
- <hr />
- <table id="userGrid" ></table>
- <div id="gridPager"></div>
-
- </div>
- <!-- 第4步 -->
- <div class="step-pane" id="step4">
- <div class="col-md-12">
- <a href="javascript:addShiftRule();" class='btn btn-sm btn-primary fa fa-plus'><span>新增轮班规则</span></a>
- </div>
- <!-- 日历式排班 -->
- <div id="scheduleCalendar">
- <div class="col-md-3">
- <div id="userlist" class="user-list"> </div>
- </div>
- <div class="col-md-9">
- <div id ="calendarScheduleInfo" class="calendar-info">
- <div id="calendar_info" ></div>
- </div>
- </div>
- </div>
- <!-- 列表式排班 -->
- <div id="scheduleList" class="col-md-12">
- <table id="list_info" > </table>
- </div>
- </div>
- <!-- 第5步 -->
- <div class="step-pane" id="step5">
- <table id="scheduleShiftGrid" ></table>
- <div id="scheduleShiftGridPager"></div>
-
- </div>
-
- </div>
-
- </body>
- </html>
|