"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
var _react = _interopRequireDefault(require("react"));
var _vtxFormLayout = _interopRequireDefault(require("@vtx/components/lib/vtx-form-layout"));
var _vtxInput = _interopRequireDefault(require("@vtx/components/lib/vtx-input"));
var _vtxSelect = _interopRequireDefault(require("@vtx/components/lib/vtx-select"));
var _space = _interopRequireDefault(require("antd/lib/space"));
var _inputNumber = _interopRequireDefault(require("antd/lib/input-number"));
var _form = _interopRequireDefault(require("antd/lib/form"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
var Option = _vtxSelect["default"].Option;
var FilterForm = function FilterForm(_ref) {
  var form = _ref.form;
  return /*#__PURE__*/_react["default"].createElement(_form["default"], {
    form: form
  }, /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"], {
    cols: 1
  }, /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u7BA1\u7F51\u7C7B\u578B",
    name: "waterType"
  }, /*#__PURE__*/_react["default"].createElement(_vtxSelect["default"], null, /*#__PURE__*/_react["default"].createElement(Option, {
    key: 'WS'
  }, "\u6C61\u6C34\u7BA1\u7F51"), /*#__PURE__*/_react["default"].createElement(Option, {
    key: 'YS'
  }, "\u96E8\u6C34\u7BA1\u7F51"))), /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u7BA1\u7EBF\u7F16\u53F7",
    name: "lineNo"
  }, /*#__PURE__*/_react["default"].createElement(_vtxInput["default"], {
    placeholder: "\u8BF7\u8F93\u5165"
  })), /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u7BA1\u5F84\u533A\u95F4\uFF08mm\uFF09"
  }, /*#__PURE__*/_react["default"].createElement(_space["default"], null, /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "minDiameter"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u5F00\u59CB"
  })), /*#__PURE__*/_react["default"].createElement("span", null, "~"), /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "maxDiameter"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u7ED3\u675F"
  })))), /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u6DB2\u4F4D\u533A\u95F4\uFF08mm\uFF09"
  }, /*#__PURE__*/_react["default"].createElement(_space["default"], null, /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "minWaterLevel"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u5F00\u59CB"
  })), /*#__PURE__*/_react["default"].createElement("span", null, "~"), /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "maxWaterLevel"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u7ED3\u675F"
  })))), /*#__PURE__*/_react["default"].createElement(_vtxFormLayout["default"].FormItem, {
    label: "\u5145\u6EA2\u5EA6\u533A\u95F4\uFF08%\uFF09"
  }, /*#__PURE__*/_react["default"].createElement(_space["default"], null, /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "minDegree"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u5F00\u59CB"
  })), /*#__PURE__*/_react["default"].createElement("span", null, "~"), /*#__PURE__*/_react["default"].createElement(_form["default"].Item, {
    noStyle: true,
    name: "maxDegree"
  }, /*#__PURE__*/_react["default"].createElement(_inputNumber["default"], {
    style: {
      width: '100%'
    },
    placeholder: "\u7ED3\u675F"
  }))))));
};
FilterForm.propTypes = {
  form: _propTypes["default"].object
};
var _default = exports["default"] = FilterForm;
//# sourceMappingURL=FilterForm.js.map
