Commit 23a3e560 authored by cellee's avatar cellee

账号样式更改,解决后台报错loading框不消失问题

Signed-off-by: cellee's avatarcellee <893264950@qq.com>
parent 0cd0d8ac
......@@ -99,6 +99,8 @@ const Account = (props: any) => {
dispatch({ type: module + '/AccountClear' });
setLoading(false);
history.go(-1);
} else {
setLoading(false);
}
}
}, [SubResult]);
......@@ -303,28 +305,28 @@ const Account = (props: any) => {
name="contract"
onFinish={onFinishContract}
>
<Descriptions column={{ xs: 1, sm: 1, md: 2, xl: 3 }}>
<Descriptions.Item>
<Form.Item name="tosUserName" label="Account ID" rules={AccountTip[0] as any}>
<Input placeholder="E-mail address" className="input" />
</Form.Item>
</Descriptions.Item>
<Descriptions.Item>
<Form.Item name="tosAccountName" label="Name" rules={AccountTip[1] as any}>
<Input placeholder="Name Of Administrator" className="input" />
</Form.Item>
</Descriptions.Item>
<Descriptions.Item>
<Form.Item name="tosUserPhone" label="Correct telephone" rules={AccountTip[2] as any}>
<Input
placeholder="Contact Information"
className="input"
maxLength={11}
onKeyUp={keyup_communityManagerFee}
/>
</Form.Item>
</Descriptions.Item>
</Descriptions>
<div style={{ display: 'flex', justifyContent: 'initial', alignItems: 'center' }}>
<Form.Item name="tosUserName" label="Account ID" rules={AccountTip[0] as any}>
<Input placeholder="E-mail address" className="input" />
</Form.Item>
<Form.Item
name="tosAccountName"
label="Name"
rules={AccountTip[1] as any}
style={{ marginRight: 20 }}
>
<Input placeholder="Name Of Administrator" className="input" />
</Form.Item>
<Form.Item name="tosUserPhone" label="Contact Number" rules={AccountTip[2] as any}>
<Input
placeholder="Contact Information"
className="input"
maxLength={11}
onKeyUp={keyup_communityManagerFee}
/>
</Form.Item>
</div>
<div className="diy" style={{ marginBottom: '14px' }}>
<div className="label required">
......
......@@ -423,29 +423,28 @@ const Account = (props: any) => {
name="contract"
onFinish={onFinishContract}
>
<Descriptions column={{ xs: 1, sm: 1, md: 2, xl: 3 }}>
<Descriptions.Item>
<Form.Item name="tosUserName" label="Account ID" rules={AccountTip[0] as any}>
<Input placeholder="Login Account" className="input" disabled />
</Form.Item>
</Descriptions.Item>
<Descriptions.Item>
<Form.Item name="tosAccountName" label="Name" rules={AccountTip[1] as any}>
<Input placeholder="Name Of Administrator" className="input" disabled />
</Form.Item>
</Descriptions.Item>
<Descriptions.Item>
<Form.Item name="tosUserPhone" label="Phone" rules={AccountTip[2] as any}>
<Input
placeholder="Contact Information"
className="input"
maxLength={11}
onKeyUp={keyup_communityManagerFee}
disabled
/>
</Form.Item>
</Descriptions.Item>
</Descriptions>
<div style={{ display: 'flex', justifyContent: 'initial', alignItems: 'center' }}>
<Form.Item name="tosUserName" label="Account ID" rules={AccountTip[0] as any}>
<Input placeholder="Login Account" className="input" disabled />
</Form.Item>
<Form.Item
name="tosAccountName"
label="Name"
rules={AccountTip[1] as any}
style={{ marginRight: 20 }}
>
<Input placeholder="Name Of Administrator" className="input" disabled />
</Form.Item>
<Form.Item name="tosUserPhone" label="Contact Number" rules={AccountTip[2] as any}>
<Input
placeholder="Contact Information"
className="input"
maxLength={11}
onKeyUp={keyup_communityManagerFee}
disabled
/>
</Form.Item>
</div>
<div className="diy" style={{ marginBottom: '14px' }}>
<div className="label required">
......
......@@ -88,6 +88,8 @@ const Account = (props: any) => {
dispatch({ type: module + '/AccountClear' });
setLoading(true);
history.go(-1);
} else {
setLoading(false);
}
}
}, [SubResult]);
......@@ -572,28 +574,27 @@ const Account = (props: any) => {
name="contract"
onFinish={onFinishContract}
>
<Descriptions column={{ xs: 1, sm: 1, md: 2, xl: 3 }}>
<Descriptions.Item>
<Form.Item name="tosUserName" label="Account ID" rules={AccountTip[0] as any}>
<Input placeholder="E-mail address" className="input" disabled />
</Form.Item>
</Descriptions.Item>
<Descriptions.Item>
<Form.Item name="tosAccountName" label="Name" rules={AccountTip[1] as any}>
<Input placeholder="Name Of Administrator" className="input" />
</Form.Item>
</Descriptions.Item>
<Descriptions.Item>
<Form.Item name="tosUserPhone" label="Correct telephone" rules={AccountTip[2] as any}>
<Input
placeholder="Contact Information"
className="input"
maxLength={11}
onKeyUp={keyup_communityManagerFee}
/>
</Form.Item>
</Descriptions.Item>
</Descriptions>
<div style={{ display: 'flex', justifyContent: 'initial', alignItems: 'center' }}>
<Form.Item name="tosUserName" label="Account ID" rules={AccountTip[0] as any}>
<Input placeholder="E-mail address" className="input" disabled />
</Form.Item>
<Form.Item
name="tosAccountName"
label="Name"
rules={AccountTip[1] as any}
style={{ marginRight: 20 }}
>
<Input placeholder="Name Of Administrator" className="input" />
</Form.Item>
<Form.Item name="tosUserPhone" label="Contact Number" rules={AccountTip[2] as any}>
<Input
placeholder="Contact Information"
className="input"
maxLength={11}
onKeyUp={keyup_communityManagerFee}
/>
</Form.Item>
</div>
<div className="diy" style={{ marginBottom: '14px' }}>
<div className="label required">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment