import { defineComponent, ref, reactive, resolveComponent, mergeProps, unref, withCtx, createVNode, createTextVNode, withDirectives, vShow, createBlock, createCommentVNode, openBlock, useSSRContext } from 'vue'; import { ssrRenderAttrs, ssrRenderComponent, ssrRenderStyle } from 'vue/server-renderer'; import { message } from 'ant-design-vue'; import { UploadOutlined, CheckCircleOutlined } from '@ant-design/icons-vue'; import { a as _export_sfc, c as useHead, n as navigateTo } from './server.mjs'; import '../nitro/nitro.mjs'; import 'node:http'; import 'node:https'; import 'node:events'; import 'node:buffer'; import 'node:fs'; import 'node:path'; import 'node:crypto'; import 'node:url'; import 'better-sqlite3'; import 'vue-router'; import '@babel/runtime/helpers/esm/extends'; import 'stylis'; import 'dayjs'; import '../routes/renderer.mjs'; import 'vue-bundle-renderer/runtime'; import 'unhead/server'; import 'devalue'; import 'unhead/plugins'; import 'unhead/utils'; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "enterprise", __ssrInlineRender: true, setup(__props) { useHead({ title: "企业会员申请 - 决策咨询网" }); const currentStep = ref(0); const submitting = ref(false); const formData = reactive({ name: "", creditCode: "", contact: "", phone: "", email: "", address: "", bio: "", license: "", idCard: "", intro: "" }); function beforeUpload(file) { const isLt10M = file.size / 1024 / 1024 < 10; if (!isLt10M) { message.error("文件大小不能超过 10MB"); return false; } return true; } function handleUpload(type) { return async (option) => { try { option.onSuccess(); message.success("上传成功"); } catch { option.onError(); message.error("上传失败"); } }; } function handleNext() { if (currentStep.value === 0) { if (!formData.name || !formData.contact || !formData.phone) { message.warning("请填写必填项"); return; } } currentStep.value++; } async function handleSubmit() { submitting.value = true; try { message.success("提交成功,请等待审核"); navigateTo("/about/join"); } catch (e) { message.error(e?.message || "提交失败"); } finally { submitting.value = false; } } return (_ctx, _push, _parent, _attrs) => { const _component_a_steps = resolveComponent("a-steps"); const _component_a_step = resolveComponent("a-step"); const _component_a_form = resolveComponent("a-form"); const _component_a_row = resolveComponent("a-row"); const _component_a_col = resolveComponent("a-col"); const _component_a_form_item = resolveComponent("a-form-item"); const _component_a_input = resolveComponent("a-input"); const _component_a_textarea = resolveComponent("a-textarea"); const _component_a_upload = resolveComponent("a-upload"); const _component_a_button = resolveComponent("a-button"); const _component_a_result = resolveComponent("a-result"); _push(`
`); _push(ssrRenderComponent(_component_a_steps, { current: unref(currentStep), class: "steps-wrap" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(ssrRenderComponent(_component_a_step, { title: "填写信息" }, null, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_step, { title: "上传资料" }, null, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_step, { title: "提交审核" }, null, _parent2, _scopeId)); } else { return [ createVNode(_component_a_step, { title: "填写信息" }), createVNode(_component_a_step, { title: "上传资料" }), createVNode(_component_a_step, { title: "提交审核" }) ]; } }), _: 1 }, _parent)); _push(ssrRenderComponent(_component_a_form, { model: unref(formData), layout: "vertical", class: "join-form" }, { default: withCtx((_, _push2, _parent2, _scopeId) => { if (_push2) { _push2(`

企业基本信息

`); _push2(ssrRenderComponent(_component_a_row, { gutter: 24 }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_col, { span: 12 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_form_item, { label: "企业名称", name: "name", required: "" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_a_input, { value: unref(formData).name, "onUpdate:value": ($event) => unref(formData).name = $event, placeholder: "请输入企业名称" }, null, _parent5, _scopeId4)); } else { return [ createVNode(_component_a_input, { value: unref(formData).name, "onUpdate:value": ($event) => unref(formData).name = $event, placeholder: "请输入企业名称" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_form_item, { label: "企业名称", name: "name", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).name, "onUpdate:value": ($event) => unref(formData).name = $event, placeholder: "请输入企业名称" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(ssrRenderComponent(_component_a_col, { span: 12 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_form_item, { label: "统一社会信用代码", name: "creditCode" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_a_input, { value: unref(formData).creditCode, "onUpdate:value": ($event) => unref(formData).creditCode = $event, placeholder: "请输入信用代码" }, null, _parent5, _scopeId4)); } else { return [ createVNode(_component_a_input, { value: unref(formData).creditCode, "onUpdate:value": ($event) => unref(formData).creditCode = $event, placeholder: "请输入信用代码" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_form_item, { label: "统一社会信用代码", name: "creditCode" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).creditCode, "onUpdate:value": ($event) => unref(formData).creditCode = $event, placeholder: "请输入信用代码" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "企业名称", name: "name", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).name, "onUpdate:value": ($event) => unref(formData).name = $event, placeholder: "请输入企业名称" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "统一社会信用代码", name: "creditCode" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).creditCode, "onUpdate:value": ($event) => unref(formData).creditCode = $event, placeholder: "请输入信用代码" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_row, { gutter: 24 }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_col, { span: 12 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_form_item, { label: "联系人", name: "contact", required: "" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_a_input, { value: unref(formData).contact, "onUpdate:value": ($event) => unref(formData).contact = $event, placeholder: "请输入联系人姓名" }, null, _parent5, _scopeId4)); } else { return [ createVNode(_component_a_input, { value: unref(formData).contact, "onUpdate:value": ($event) => unref(formData).contact = $event, placeholder: "请输入联系人姓名" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_form_item, { label: "联系人", name: "contact", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).contact, "onUpdate:value": ($event) => unref(formData).contact = $event, placeholder: "请输入联系人姓名" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(ssrRenderComponent(_component_a_col, { span: 12 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_form_item, { label: "联系电话", name: "phone", required: "" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_a_input, { value: unref(formData).phone, "onUpdate:value": ($event) => unref(formData).phone = $event, placeholder: "请输入联系电话" }, null, _parent5, _scopeId4)); } else { return [ createVNode(_component_a_input, { value: unref(formData).phone, "onUpdate:value": ($event) => unref(formData).phone = $event, placeholder: "请输入联系电话" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_form_item, { label: "联系电话", name: "phone", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).phone, "onUpdate:value": ($event) => unref(formData).phone = $event, placeholder: "请输入联系电话" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "联系人", name: "contact", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).contact, "onUpdate:value": ($event) => unref(formData).contact = $event, placeholder: "请输入联系人姓名" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "联系电话", name: "phone", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).phone, "onUpdate:value": ($event) => unref(formData).phone = $event, placeholder: "请输入联系电话" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_row, { gutter: 24 }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_col, { span: 12 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_form_item, { label: "邮箱", name: "email" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_a_input, { value: unref(formData).email, "onUpdate:value": ($event) => unref(formData).email = $event, placeholder: "请输入邮箱" }, null, _parent5, _scopeId4)); } else { return [ createVNode(_component_a_input, { value: unref(formData).email, "onUpdate:value": ($event) => unref(formData).email = $event, placeholder: "请输入邮箱" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_form_item, { label: "邮箱", name: "email" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).email, "onUpdate:value": ($event) => unref(formData).email = $event, placeholder: "请输入邮箱" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(ssrRenderComponent(_component_a_col, { span: 12 }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_form_item, { label: "企业地址", name: "address" }, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(_component_a_input, { value: unref(formData).address, "onUpdate:value": ($event) => unref(formData).address = $event, placeholder: "请输入企业地址" }, null, _parent5, _scopeId4)); } else { return [ createVNode(_component_a_input, { value: unref(formData).address, "onUpdate:value": ($event) => unref(formData).address = $event, placeholder: "请输入企业地址" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_form_item, { label: "企业地址", name: "address" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).address, "onUpdate:value": ($event) => unref(formData).address = $event, placeholder: "请输入企业地址" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "邮箱", name: "email" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).email, "onUpdate:value": ($event) => unref(formData).email = $event, placeholder: "请输入邮箱" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "企业地址", name: "address" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).address, "onUpdate:value": ($event) => unref(formData).address = $event, placeholder: "请输入企业地址" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_form_item, { label: "企业简介", name: "bio" }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_textarea, { value: unref(formData).bio, "onUpdate:value": ($event) => unref(formData).bio = $event, rows: 4, placeholder: "请简要介绍企业情况" }, null, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_textarea, { value: unref(formData).bio, "onUpdate:value": ($event) => unref(formData).bio = $event, rows: 4, placeholder: "请简要介绍企业情况" }, null, 8, ["value", "onUpdate:value"]) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(`

资质证明材料

请上传以下材料,以便我们审核您的入会资格

`); _push2(ssrRenderComponent(_component_a_form_item, { label: "营业执照" }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_button, null, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(unref(UploadOutlined), null, null, _parent5, _scopeId4)); _push5(` 上传营业执照`); } else { return [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传营业执照") ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传营业执照") ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx(() => [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传营业执照") ]), _: 1 }) ]), _: 1 }, 8, ["custom-request"]) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_form_item, { label: "法人身份证" }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_button, null, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(unref(UploadOutlined), null, null, _parent5, _scopeId4)); _push5(` 上传法人身份证`); } else { return [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传法人身份证") ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传法人身份证") ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx(() => [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传法人身份证") ]), _: 1 }) ]), _: 1 }, 8, ["custom-request"]) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(ssrRenderComponent(_component_a_form_item, { label: "企业简介" }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(ssrRenderComponent(_component_a_button, null, { default: withCtx((_4, _push5, _parent5, _scopeId4) => { if (_push5) { _push5(ssrRenderComponent(unref(UploadOutlined), null, null, _parent5, _scopeId4)); _push5(` 上传企业简介`); } else { return [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传企业简介") ]; } }), _: 1 }, _parent4, _scopeId3)); } else { return [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传企业简介") ]), _: 1 }) ]; } }), _: 1 }, _parent3, _scopeId2)); _push3(`
支持 PDF、Word 格式
`); } else { return [ createVNode(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx(() => [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传企业简介") ]), _: 1 }) ]), _: 1 }, 8, ["custom-request"]), createVNode("div", { class: "upload-hint" }, "支持 PDF、Word 格式") ]; } }), _: 1 }, _parent2, _scopeId)); _push2(`
`); _push2(ssrRenderComponent(_component_a_result, { title: "确认提交申请", "sub-title": "请确认您填写的信息和上传的材料准确无误" }, { icon: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(unref(CheckCircleOutlined), { style: { "font-size": "80px", "color": "#52c41a" } }, null, _parent3, _scopeId2)); } else { return [ createVNode(unref(CheckCircleOutlined), { style: { "font-size": "80px", "color": "#52c41a" } }) ]; } }), extra: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(ssrRenderComponent(_component_a_button, { type: "primary", size: "large", onClick: handleSubmit, loading: unref(submitting) }, { default: withCtx((_3, _push4, _parent4, _scopeId3) => { if (_push4) { _push4(` 确认提交 `); } else { return [ createTextVNode(" 确认提交 ") ]; } }), _: 1 }, _parent3, _scopeId2)); } else { return [ createVNode(_component_a_button, { type: "primary", size: "large", onClick: handleSubmit, loading: unref(submitting) }, { default: withCtx(() => [ createTextVNode(" 确认提交 ") ]), _: 1 }, 8, ["loading"]) ]; } }), _: 1 }, _parent2, _scopeId)); _push2(`
`); if (unref(currentStep) > 0) { _push2(ssrRenderComponent(_component_a_button, { onClick: ($event) => currentStep.value-- }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`上一步`); } else { return [ createTextVNode("上一步") ]; } }), _: 1 }, _parent2, _scopeId)); } else { _push2(``); } if (unref(currentStep) < 2) { _push2(ssrRenderComponent(_component_a_button, { type: "primary", onClick: handleNext }, { default: withCtx((_2, _push3, _parent3, _scopeId2) => { if (_push3) { _push3(`下一步`); } else { return [ createTextVNode("下一步") ]; } }), _: 1 }, _parent2, _scopeId)); } else { _push2(``); } _push2(`
`); } else { return [ withDirectives(createVNode("div", null, [ createVNode("h3", { class: "section-title" }, "企业基本信息"), createVNode(_component_a_row, { gutter: 24 }, { default: withCtx(() => [ createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "企业名称", name: "name", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).name, "onUpdate:value": ($event) => unref(formData).name = $event, placeholder: "请输入企业名称" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "统一社会信用代码", name: "creditCode" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).creditCode, "onUpdate:value": ($event) => unref(formData).creditCode = $event, placeholder: "请输入信用代码" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_row, { gutter: 24 }, { default: withCtx(() => [ createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "联系人", name: "contact", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).contact, "onUpdate:value": ($event) => unref(formData).contact = $event, placeholder: "请输入联系人姓名" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "联系电话", name: "phone", required: "" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).phone, "onUpdate:value": ($event) => unref(formData).phone = $event, placeholder: "请输入联系电话" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_row, { gutter: 24 }, { default: withCtx(() => [ createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "邮箱", name: "email" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).email, "onUpdate:value": ($event) => unref(formData).email = $event, placeholder: "请输入邮箱" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_col, { span: 12 }, { default: withCtx(() => [ createVNode(_component_a_form_item, { label: "企业地址", name: "address" }, { default: withCtx(() => [ createVNode(_component_a_input, { value: unref(formData).address, "onUpdate:value": ($event) => unref(formData).address = $event, placeholder: "请输入企业地址" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ]), _: 1 }) ]), _: 1 }), createVNode(_component_a_form_item, { label: "企业简介", name: "bio" }, { default: withCtx(() => [ createVNode(_component_a_textarea, { value: unref(formData).bio, "onUpdate:value": ($event) => unref(formData).bio = $event, rows: 4, placeholder: "请简要介绍企业情况" }, null, 8, ["value", "onUpdate:value"]) ]), _: 1 }) ], 512), [ [vShow, unref(currentStep) === 0] ]), withDirectives(createVNode("div", null, [ createVNode("h3", { class: "section-title" }, "资质证明材料"), createVNode("p", { class: "section-desc" }, "请上传以下材料,以便我们审核您的入会资格"), createVNode(_component_a_form_item, { label: "营业执照" }, { default: withCtx(() => [ createVNode(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx(() => [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传营业执照") ]), _: 1 }) ]), _: 1 }, 8, ["custom-request"]) ]), _: 1 }), createVNode(_component_a_form_item, { label: "法人身份证" }, { default: withCtx(() => [ createVNode(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx(() => [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传法人身份证") ]), _: 1 }) ]), _: 1 }, 8, ["custom-request"]) ]), _: 1 }), createVNode(_component_a_form_item, { label: "企业简介" }, { default: withCtx(() => [ createVNode(_component_a_upload, { "before-upload": beforeUpload, "custom-request": handleUpload() }, { default: withCtx(() => [ createVNode(_component_a_button, null, { default: withCtx(() => [ createVNode(unref(UploadOutlined)), createTextVNode(" 上传企业简介") ]), _: 1 }) ]), _: 1 }, 8, ["custom-request"]), createVNode("div", { class: "upload-hint" }, "支持 PDF、Word 格式") ]), _: 1 }) ], 512), [ [vShow, unref(currentStep) === 1] ]), withDirectives(createVNode("div", { class: "confirm-section" }, [ createVNode(_component_a_result, { title: "确认提交申请", "sub-title": "请确认您填写的信息和上传的材料准确无误" }, { icon: withCtx(() => [ createVNode(unref(CheckCircleOutlined), { style: { "font-size": "80px", "color": "#52c41a" } }) ]), extra: withCtx(() => [ createVNode(_component_a_button, { type: "primary", size: "large", onClick: handleSubmit, loading: unref(submitting) }, { default: withCtx(() => [ createTextVNode(" 确认提交 ") ]), _: 1 }, 8, ["loading"]) ]), _: 1 }) ], 512), [ [vShow, unref(currentStep) === 2] ]), createVNode("div", { class: "step-actions" }, [ unref(currentStep) > 0 ? (openBlock(), createBlock(_component_a_button, { key: 0, onClick: ($event) => currentStep.value-- }, { default: withCtx(() => [ createTextVNode("上一步") ]), _: 1 }, 8, ["onClick"])) : createCommentVNode("", true), unref(currentStep) < 2 ? (openBlock(), createBlock(_component_a_button, { key: 1, type: "primary", onClick: handleNext }, { default: withCtx(() => [ createTextVNode("下一步") ]), _: 1 })) : createCommentVNode("", true) ]) ]; } }), _: 1 }, _parent)); _push(`
`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/about/join/enterprise.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; const enterprise = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7547eac4"]]); export { enterprise as default }; //# sourceMappingURL=enterprise-BjfXTXvE.mjs.map