"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _vmTable = _interopRequireDefault(require("../../../vm-table"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
/**
 * 考核信息-列表
 */

var List = function List(props) {
  var khData = props.khData;
  // const { khData, zgData } = BaseService.useAppraisal(id, startTime, endTime);
  var columns = [{
    title: '考核扣分',
    dataIndex: 'totalDeductPoints',
    key: 'totalDeductPoints'
  }, {
    title: '考核时间',
    dataIndex: 'checkDate',
    key: 'checkDate',
    width: 140
  }, {
    title: '考核单位',
    dataIndex: 'checkDepartName',
    key: 'checkDepartName',
    width: 160,
    ellipsis: true
  }, {
    title: '考核人',
    dataIndex: 'checkUserName',
    key: 'checkUserName'
  }, {
    title: '记录状态',
    dataIndex: 'statusName',
    key: 'statusName'
  }, {
    title: '操作',
    dataIndex: 'operation',
    key: 'operation',
    render: function render() {
      return /*#__PURE__*/_react["default"].createElement("a", {
        onClick: function onClick() {}
      }, "\u67E5\u770B\u56FE\u7247\u96C6");
    }
  }];
  var tableProps = {
    height: 440,
    pagination: {
      current: 1,
      pageSize: 10
    }
  };
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-list"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-list-table"
  }, /*#__PURE__*/_react["default"].createElement(_vmTable["default"], Object.assign({
    columns: columns,
    rowKey: "key"
  }, tableProps, {
    dataSource: khData
  }))));
};
var _default = List;
exports["default"] = _default;
//# sourceMappingURL=List.js.map
