"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = _default;
var _react = _interopRequireDefault(require("react"));
var _index = _interopRequireDefault(require("./index.less"));
var _tooltip = _interopRequireDefault(require("antd/lib/tooltip"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
/**
 *  时限渲染---待处置、待审核、待派发有撤回
 */

function _default(props) {
  var _props$details = props.details,
    details = _props$details === void 0 ? {} : _props$details,
    _props$statusList = props.statusList,
    statusList = _props$statusList === void 0 ? [4, 7] : _props$statusList;
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
    className: _index["default"].timeLimit
  }, /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
    title: details === null || details === void 0 ? void 0 : details.timeLimit
  }, details !== null && details !== void 0 && details.finishLimitTime && statusList.includes(details === null || details === void 0 ? void 0 : details.status) || (details === null || details === void 0 ? void 0 : details.status) === 3 && details.hasWithdraw === true ? /*#__PURE__*/_react["default"].createElement("img", {
    src: require("@/pages/WorkOrderSystem/assets/".concat((details === null || details === void 0 ? void 0 : details.remainingTimeStatus) || 0, ".png"))
  }) : '-')));
}
//# sourceMappingURL=index.js.map
