tangjie 2026-07-13 16:09:45 +08:00
parent 4af76a4bc2
commit 7b86d6e620
2 changed files with 19 additions and 15 deletions

View File

@ -70,6 +70,7 @@ function Register(props) {
}
if (res.data?.syncGbs === 2) {
handleLogin();
return;
}
message.success("操作成功");
form.resetFields();

View File

@ -185,7 +185,7 @@ const RegisterMore = (props) => {
{ required: true, message: "请输入生产经营单位名称" },
]}
>
<Input placeholder="请输入生产经营单位名称" allowClear />
<Input placeholder="请输入生产经营单位名称" allowClear maxLength={200} />
</Form.Item>
</Col>
<Col span={12}>
@ -194,7 +194,7 @@ const RegisterMore = (props) => {
label="统一社会信用代码"
rules={[creditCodeRule(true)]}
>
<Input placeholder="请输入统一社会信用代码" allowClear />
<Input placeholder="请输入统一社会信用代码" allowClear maxLength={18} />
</Form.Item>
</Col>
<Col span={12}>
@ -208,6 +208,7 @@ const RegisterMore = (props) => {
<Input
placeholder="请输入安全生产监管行业类别"
allowClear
maxLength={100}
/>
</Form.Item>
</Col>
@ -234,12 +235,12 @@ const RegisterMore = (props) => {
label="所属镇、街道"
rules={[{ required: true, message: "请输入所属镇街道" }]}
>
<Input placeholder="请输入所属镇街道" allowClear />
<Input placeholder="请输入所属镇街道" allowClear maxLength={100} />
</Form.Item>
</Col>
<Col span={12}>
<Form.Item name="villageCommunity" label="属村(社区)">
<Input placeholder="请输入属村(社区)" allowClear />
<Input placeholder="请输入属村(社区)" allowClear maxLength={100} />
</Form.Item>
</Col>
<Col span={12}>
@ -318,7 +319,7 @@ const RegisterMore = (props) => {
label="注册地址"
rules={[{ required: true, message: "请输入注册地址" }]}
>
<Input.TextArea rows={3} placeholder="请输入注册地址" />
<Input.TextArea rows={3} placeholder="请输入注册地址" maxLength={200} />
</Form.Item>
</Col>
<Col span={12}>
@ -327,12 +328,12 @@ const RegisterMore = (props) => {
label="经营地址"
rules={[{ required: true, message: "请输入经营地址" }]}
>
<Input.TextArea rows={3} placeholder="请输入经营地址" />
<Input.TextArea rows={3} placeholder="请输入经营地址" maxLength={200} />
</Form.Item>
</Col>
<Col span={12}>
<Form.Item name="ownershipTypeName" label="归属类型">
<Input placeholder="请输入归属类型" allowClear />
<Input placeholder="请输入归属类型" allowClear maxLength={50} />
</Form.Item>
</Col>
<Col span={12}>
@ -340,7 +341,7 @@ const RegisterMore = (props) => {
name="economyIndustryCode"
label="国民经济行业分类(GB/T4754-2017)"
>
<Input placeholder="请输入国民经济行业分类" allowClear />
<Input placeholder="请输入国民经济行业分类" allowClear maxLength={50} />
</Form.Item>
</Col>
<Col span={12}>
@ -349,7 +350,7 @@ const RegisterMore = (props) => {
label="法定代表人"
rules={[{ required: true, message: "请输入法定代表人" }]}
>
<Input placeholder="请输入法定代表人" allowClear />
<Input placeholder="请输入法定代表人" allowClear maxLength={50} />
</Form.Item>
</Col>
<Col span={12}>
@ -358,7 +359,7 @@ const RegisterMore = (props) => {
label="法定代表人联系电话"
rules={[phoneRule("法定代表人联系电话", false)]}
>
<Input placeholder="请输入法定代表人联系电话" allowClear />
<Input placeholder="请输入法定代表人联系电话" allowClear maxLength={11} />
</Form.Item>
</Col>
<Col span={12}>
@ -367,7 +368,7 @@ const RegisterMore = (props) => {
label="主要负责人"
rules={[{ required: true, message: "请输入主要负责人" }]}
>
<Input placeholder="请输入主要负责人" allowClear />
<Input placeholder="请输入主要负责人" allowClear maxLength={50} />
</Form.Item>
</Col>
<Col span={12}>
@ -376,7 +377,7 @@ const RegisterMore = (props) => {
label="主要负责人联系电话"
rules={[phoneRule("主要负责人联系电话", true)]}
>
<Input placeholder="请输入主要负责人联系电话" allowClear />
<Input placeholder="请输入主要负责人联系电话" allowClear maxLength={11} />
</Form.Item>
</Col>
<Col span={12}>
@ -384,7 +385,7 @@ const RegisterMore = (props) => {
name="safetyDeptManager"
label="安全管理部门负责人"
>
<Input placeholder="请输入安全管理部门负责人" allowClear />
<Input placeholder="请输入安全管理部门负责人" allowClear maxLength={50} />
</Form.Item>
</Col>
<Col span={12}>
@ -396,6 +397,7 @@ const RegisterMore = (props) => {
<Input
placeholder="请输入安全管理部门负责人联系电话"
allowClear
maxLength={11}
/>
</Form.Item>
</Col>
@ -409,6 +411,7 @@ const RegisterMore = (props) => {
<Input
placeholder="请输入主管安全副总联系电话"
allowClear
maxLength={11}
/>
</Form.Item>
</Col>
@ -422,7 +425,7 @@ const RegisterMore = (props) => {
</Col>
<Col span={12}>
<Form.Item name="businessStatusName" label="企业经营状态">
<Input placeholder="请输入企业经营状态" allowClear />
<Input placeholder="请输入企业经营状态" allowClear maxLength={50} />
</Form.Item>
</Col>
<Col span={12}>
@ -431,7 +434,7 @@ const RegisterMore = (props) => {
label="信息公开网址"
rules={[urlRule("信息公开网址", false)]}
>
<Input placeholder="请输入信息公开网址" allowClear />
<Input placeholder="请输入信息公开网址" allowClear maxLength={200} />
</Form.Item>
</Col>
<Col span={12}>