"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _moment = _interopRequireDefault(require("moment"));
var _antd = require("antd");
var _Exeception = _interopRequireDefault(require("./Exeception"));
var _WorkingHours = _interopRequireDefault(require("./WorkingHours"));
var _Record = _interopRequireDefault(require("./Record"));
require("./index.less");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
/**
 * 人员-考勤
 */

var Attendance = function Attendance(props) {
  var id = props.id;
  var date = (0, _moment["default"])().format('YYYY-MM-DD');
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "staff-attend"
  }, /*#__PURE__*/_react["default"].createElement(_antd.Row, {
    gutter: [10, 10]
  }, /*#__PURE__*/_react["default"].createElement(_antd.Col, {
    xxl: 12,
    xl: 12,
    lg: 24,
    md: 24
  }, /*#__PURE__*/_react["default"].createElement(_Exeception["default"], {
    id: id,
    date: date
  })), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
    xxl: 12,
    xl: 12,
    lg: 24,
    md: 24
  }, /*#__PURE__*/_react["default"].createElement(_WorkingHours["default"], {
    id: id,
    date: date
  })), /*#__PURE__*/_react["default"].createElement(_antd.Col, {
    span: 24
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "staff-attend-record"
  }, /*#__PURE__*/_react["default"].createElement(_Record["default"], {
    id: id
  })))));
};
var _default = exports["default"] = Attendance;
//# sourceMappingURL=index.js.map
