123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Cache-Control" content="no-cache" />
- <meta http-equiv="Expires" content="0" />
- <title>节假日管理</title>
- <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <script>document.write("<link href='css/index.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- </head>
- <body ng-controller="holidayCtrl as ctl">
- <div class="sp-page-mgn">
- <div class="sp-page-pad">
- <div class="sp-page">
- <div class="sp-page-col">
- <span class="sp-page-title">节假日管理</span>
- </div>
- <div class="sp-page-col sp-ml-30 sp-mt-5 sp-color-blue" ng-bind="ctl.yearAndMonth">
- </div>
- <div class="sp-page-col sp-pull-right">
- <span class="sp-btn-gray-outline sp-btn-radius" ng-click="ctl.btnPrevMonth()">上个月</span>
- <span class="sp-btn-gray-outline sp-btn-radius" ng-click="ctl.btnCurentMonth()">今天</span>
- <span class="sp-btn-gray-outline sp-btn-radius" ng-click="ctl.btnNextMonth()">下个月</span>
- </div>
- </div>
- <div class="sp-line-gray"></div>
-
- <div class="sp-page sp-mt-10">
- <table class="sp-holiday">
- <thead>
- <tr>
- <th>日</th>
- <th>一</th>
- <th>二</th>
- <th>三</th>
- <th>四</th>
- <th>五</th>
- <th>六</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item1 in ctl.workdayArray">
- <td ng-repeat="item2 in item1.data" ng-class="{'color-disabled': item2.isDisabled,'currentDay':ctl.currentDay==item2.DATES}" ng-click="ctl.btnUpdateDay(item2)">
- <span ng-if="item2.xiu" class="leftIcon sp-color-blue">休</span>
- <span ng-if="item2.ban" class="leftIcon sp-color-red">班</span>
- <span ng-bind="item2.DATES_set"></span>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page ng-hide" ng-show="ctl.noDataTip == 0">
- <div class="sp-page sp-text-center" style="margin-top:80px;">
- <i class="fa fa-exclamation-circle sp-mr-10" style="color: #57C2ED;"></i>您好,暂无数据!
- </div>
- <div class="sp-page sp-text-center" style="margin-top:20px;">
- <span class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnInitMonth()">初始化当月数据</span>
- <span class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnInitYear()">初始化当年数据</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="layer_holiday" data-title="更新节假日状态" style="width:500px;">
- <div class="sp-layer-body">
- <div class="sp-page">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td style="width:120px;">日期</td>
- <td class="sp-text-left sp-indent-10" ng-bind="ctl.info.DATES"></td>
- </tr>
- <tr>
- <td>节假日状态</td>
- <td>
- <select ng-model="ctl.info.ISWORKDAY">
- <option value="1">工作日</option>
- <option value="0">节假日</option>
- </select>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10 sp-pad-10">
- <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSubmit()">
- <i class="fa fa-check sp-mr-5"></i>提 交
- </button>
- <button class="sp-btn-default sp-btn-radius" onclick="sp.layerhide()">
- <i class="fa fa-close sp-mr-5"></i>关 闭
- </button>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
- <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
- <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular-sanitize.js"></script>
- <script src="../../js/sm4.js"></script>
- <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
- <script src="../../apiurljs.js"></script>
- <script>document.write('<scri' + 'pt src="js/index.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
- </body>
- </html>
|