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