"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _vmSubTitle = _interopRequireDefault(require("../vm-sub-title"));
var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
var _ljkf = _interopRequireDefault(require("./imgs/ljkf.png"));
var _kfyz = _interopRequireDefault(require("./imgs/kfyz.png"));
var _khcs = _interopRequireDefault(require("./imgs/khcs.png"));
var _ljkf_light = _interopRequireDefault(require("./imgs/ljkf_light.png"));
var _kfyz_light = _interopRequireDefault(require("./imgs/kfyz_light.png"));
var _khcs_light = _interopRequireDefault(require("./imgs/khcs_light.png"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
/**
 * 考核信息汇总
 */

var AppraisalBase = function AppraisalBase(props) {
  var checkInfo = props.checkInfo;
  var _useSettings = (0, _useSettings2["default"])(),
    theme = _useSettings.theme;
  return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
    title: "\u8003\u6838\u4FE1\u606F\u6C47\u603B"
  }), /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-row"
  }, /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: theme === 'dark' ? _khcs["default"] : _khcs_light["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item--name"
  }, "\u8003\u6838\u6B21\u6570"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item--value"
  }, /*#__PURE__*/_react["default"].createElement("span", null, (checkInfo === null || checkInfo === void 0 ? void 0 : checkInfo.checkNum) || 0), "\u6B21"))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: theme === 'dark' ? _kfyz["default"] : _kfyz_light["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item--name"
  }, "\u6263\u5206\u56E0\u5B50"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item--value"
  }, /*#__PURE__*/_react["default"].createElement("span", null, (checkInfo === null || checkInfo === void 0 ? void 0 : checkInfo.standardNum) || 0), "\u4E2A"))), /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item"
  }, /*#__PURE__*/_react["default"].createElement("img", {
    src: theme === 'dark' ? _ljkf["default"] : _ljkf_light["default"]
  }), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item--name"
  }, "\u7D2F\u8BA1\u6263\u5206"), /*#__PURE__*/_react["default"].createElement("div", {
    className: "appraisal-content-kh-item--value"
  }, /*#__PURE__*/_react["default"].createElement("span", null, (checkInfo === null || checkInfo === void 0 ? void 0 : checkInfo.deductPoints) || 0), "\u5206")))));
};
var _default = exports["default"] = AppraisalBase;
//# sourceMappingURL=AppraisalBase.js.map
