import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
import n from "../BitzButton/index.mjs";
import c from "./index.module.less.mjs";
import o from "../../node_modules/antd/es/form/index.mjs";
import d from "../../node_modules/antd/es/input/index.mjs";
import m from "../../node_modules/antd/es/select/index.mjs";
import h from "../../node_modules/antd/es/space/index.mjs";
const { Option: s } = m, p = [
  {
    label: "male",
    value: "male"
  },
  {
    label: "female",
    value: "female"
  },
  {
    label: "other",
    value: "other"
  }
], x = ({ finish: r, cancel: a }) => {
  const i = (l) => {
    r == null || r();
  }, u = () => {
    a == null || a();
  };
  return /* @__PURE__ */ e.jsxs(
    o,
    {
      className: c.form,
      name: "basic",
      layout: "vertical",
      labelCol: { span: 24 },
      wrapperCol: { span: 24 },
      initialValues: { remember: !0 },
      onFinish: i,
      autoComplete: "off",
      children: [
        /* @__PURE__ */ e.jsx(o.Item, { label: "描述", name: "input1", children: /* @__PURE__ */ e.jsx(d, {}) }),
        /* @__PURE__ */ e.jsx(o.Item, { label: "关联案件", name: "select1", children: /* @__PURE__ */ e.jsx(m, { placeholder: "请选择", onChange: () => {
        }, allowClear: !0, children: p.map((l, t) => /* @__PURE__ */ e.jsx(s, { value: l.value, children: l.label }, t)) }) }),
        /* @__PURE__ */ e.jsx(o.Item, { label: "关联任务信息", name: "select2", children: /* @__PURE__ */ e.jsx(m, { placeholder: "请选择", onChange: () => {
        }, allowClear: !0, children: p.map((l, t) => /* @__PURE__ */ e.jsx(s, { value: l.value, children: l.label }, t)) }) }),
        /* @__PURE__ */ e.jsx(o.Item, { children: /* @__PURE__ */ e.jsxs(h, { children: [
          /* @__PURE__ */ e.jsx(n, { type: "primary", htmlType: "submit", children: "提交" }),
          /* @__PURE__ */ e.jsx(n, { type: "default", onClick: u, children: "取消" })
        ] }) })
      ]
    }
  );
}, F = x;
export {
  F as default
};
