index.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Pragma" content="no-cache" />
  6. <meta http-equiv="Cache-Control" content="no-cache" />
  7. <meta http-equiv="Expires" content="0" />
  8. <title>节假日管理</title>
  9. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  11. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  12. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  13. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <script>document.write("<link href='css/index.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. </head>
  16. <body ng-controller="holidayCtrl as ctl">
  17. <div class="sp-page-mgn">
  18. <div class="sp-page-pad">
  19. <div class="sp-page">
  20. <div class="sp-page-col">
  21. <span class="sp-page-title">节假日管理</span>
  22. </div>
  23. <div class="sp-page-col sp-ml-30 sp-mt-5 sp-color-blue" ng-bind="ctl.yearAndMonth">
  24. </div>
  25. <div class="sp-page-col sp-pull-right">
  26. <span class="sp-btn-gray-outline sp-btn-radius" ng-click="ctl.btnPrevMonth()">上个月</span>
  27. <span class="sp-btn-gray-outline sp-btn-radius" ng-click="ctl.btnCurentMonth()">今天</span>
  28. <span class="sp-btn-gray-outline sp-btn-radius" ng-click="ctl.btnNextMonth()">下个月</span>
  29. </div>
  30. </div>
  31. <div class="sp-line-gray"></div>
  32. <div class="sp-page sp-mt-10">
  33. <table class="sp-holiday">
  34. <thead>
  35. <tr>
  36. <th>日</th>
  37. <th>一</th>
  38. <th>二</th>
  39. <th>三</th>
  40. <th>四</th>
  41. <th>五</th>
  42. <th>六</th>
  43. </tr>
  44. </thead>
  45. <tbody>
  46. <tr ng-repeat="item1 in ctl.workdayArray">
  47. <td ng-repeat="item2 in item1.data" ng-class="{'color-disabled': item2.isDisabled,'currentDay':ctl.currentDay==item2.DATES}" ng-click="ctl.btnUpdateDay(item2)">
  48. <span ng-if="item2.xiu" class="leftIcon sp-color-blue">休</span>
  49. <span ng-if="item2.ban" class="leftIcon sp-color-red">班</span>
  50. <span ng-bind="item2.DATES_set"></span>
  51. </td>
  52. </tr>
  53. </tbody>
  54. </table>
  55. <div class="sp-page ng-hide" ng-show="ctl.noDataTip == 0">
  56. <div class="sp-page sp-text-center" style="margin-top:80px;">
  57. <i class="fa fa-exclamation-circle sp-mr-10" style="color: #57C2ED;"></i>您好,暂无数据!
  58. </div>
  59. <div class="sp-page sp-text-center" style="margin-top:20px;">
  60. <span class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnInitMonth()">初始化当月数据</span>
  61. <span class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnInitYear()">初始化当年数据</span>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="sp-layer" id="layer_holiday" data-title="更新节假日状态" style="width:500px;">
  68. <div class="sp-layer-body">
  69. <div class="sp-page">
  70. <table class="sp-grid-job">
  71. <tbody>
  72. <tr>
  73. <td style="width:120px;">日期</td>
  74. <td class="sp-text-left sp-indent-10" ng-bind="ctl.info.DATES"></td>
  75. </tr>
  76. <tr>
  77. <td>节假日状态</td>
  78. <td>
  79. <select ng-model="ctl.info.ISWORKDAY">
  80. <option value="1">工作日</option>
  81. <option value="0">节假日</option>
  82. </select>
  83. </td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. </div>
  88. <div class="sp-page sp-text-center sp-pt-10 sp-pad-10">
  89. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnSubmit()">
  90. <i class="fa fa-check sp-mr-5"></i>提 交
  91. </button>
  92. <button class="sp-btn-default sp-btn-radius" onclick="sp.layerhide()">
  93. <i class="fa fa-close sp-mr-5"></i>关 闭
  94. </button>
  95. </div>
  96. </div>
  97. </div>
  98. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  99. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  100. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  101. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  102. <script src="../../AFrontEnd/js/angularjs/angular-sanitize.js"></script>
  103. <script src="../../js/sm4.js"></script>
  104. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
  105. <script src="../../apiurljs.js"></script>
  106. <script>document.write('<scri' + 'pt src="js/index.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');;</script>
  107. </body>
  108. </html>