"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _react = _interopRequireDefault(require("react"));
var _WorkJxh = _interopRequireDefault(require("./WorkJxh"));
var _WorkLjsy = _interopRequireDefault(require("./WorkLjsy"));
require("./index.less");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
/**
 * 作业信息-机械化-垃圾收运
 */

var WorkInfo = function WorkInfo(props) {
  var id = props.id,
    actionType = props.actionType,
    service = props.service;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: "car-work"
  }, (actionType === null || actionType === void 0 ? void 0 : actionType.indexOf('ACTION_JXH')) > -1 ? (/*#__PURE__*/_react["default"].createElement(_WorkJxh["default"], {
    id: id,
    service: service
  })) : (/*#__PURE__*/_react["default"].createElement(_WorkLjsy["default"], {
    id: id
  })));
};
var _default = exports["default"] = WorkInfo;
//# sourceMappingURL=index.js.map
