Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TOSTUMI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maple
TOSTUMI
Commits
23a3e560
Commit
23a3e560
authored
Mar 04, 2021
by
cellee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
账号样式更改,解决后台报错loading框不消失问题
Signed-off-by:
cellee
<
893264950@qq.com
>
parent
0cd0d8ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
67 deletions
+69
-67
AccountAdds.tsx
src/pages/AccountManagement/account/AccountAdds.tsx
+24
-22
AccountDetail.tsx
src/pages/AccountManagement/account/AccountDetail.tsx
+22
-23
AccountEdit.tsx
src/pages/AccountManagement/account/AccountEdit.tsx
+23
-22
No files found.
src/pages/AccountManagement/account/AccountAdds.tsx
View file @
23a3e560
...
@@ -99,6 +99,8 @@ const Account = (props: any) => {
...
@@ -99,6 +99,8 @@ const Account = (props: any) => {
dispatch
({
type
:
module
+
'/AccountClear'
});
dispatch
({
type
:
module
+
'/AccountClear'
});
setLoading
(
false
);
setLoading
(
false
);
history
.
go
(
-
1
);
history
.
go
(
-
1
);
}
else
{
setLoading
(
false
);
}
}
}
}
},
[
SubResult
]);
},
[
SubResult
]);
...
@@ -303,28 +305,28 @@ const Account = (props: any) => {
...
@@ -303,28 +305,28 @@ const Account = (props: any) => {
name=
"contract"
name=
"contract"
onFinish=
{
onFinishContract
}
onFinish=
{
onFinishContract
}
>
>
<
Descriptions
column=
{
{
xs
:
1
,
sm
:
1
,
md
:
2
,
xl
:
3
}
}
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'initial'
,
alignItems
:
'center'
}
}
>
<
Descriptions
.
Item
>
<
Form
.
Item
name=
"tosUserName"
label=
"Account ID"
rules=
{
AccountTip
[
0
]
as
any
}
>
<
Form
.
Item
name=
"tosUserName"
label=
"Account ID"
rules=
{
AccountTip
[
0
]
as
any
}
>
<
Input
placeholder=
"E-mail address"
className=
"input"
/
>
<
Input
placeholder=
"E-mail address"
className=
"input"
/
>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
</
Descriptions
.
Item
>
name=
"tosAccountName"
<
Descriptions
.
Item
>
label=
"Name"
<
Form
.
Item
name=
"tosAccountName"
label=
"Name"
rules=
{
AccountTip
[
1
]
as
any
}
>
rules=
{
AccountTip
[
1
]
as
any
}
<
Input
placeholder=
"Name Of Administrator"
className=
"input"
/>
style=
{
{
marginRight
:
20
}
}
</
Form
.
Item
>
>
</
Descriptions
.
Item
>
<
Input
placeholder=
"Name Of Administrator"
className=
"input"
/
>
<
Descriptions
.
Item
>
<
/
Form
.
Item
>
<
Form
.
Item
name=
"tosUserPhone"
label=
"Correct telephone"
rules=
{
AccountTip
[
2
]
as
any
}
>
<
Input
<
Form
.
Item
name=
"tosUserPhone"
label=
"Contact Number"
rules=
{
AccountTip
[
2
]
as
any
}
>
placeholder=
"Contact Information"
<
Input
className=
"input
"
placeholder=
"Contact Information
"
maxLength=
{
11
}
className=
"input"
onKeyUp=
{
keyup_communityManagerFee
}
maxLength=
{
11
}
/>
onKeyUp=
{
keyup_communityManagerFee
}
</
Form
.
Item
>
/
>
</
Descriptions
.
Item
>
</
Form
.
Item
>
</
Descriptions
>
</
div
>
<
div
className=
"diy"
style=
{
{
marginBottom
:
'14px'
}
}
>
<
div
className=
"diy"
style=
{
{
marginBottom
:
'14px'
}
}
>
<
div
className=
"label required"
>
<
div
className=
"label required"
>
...
...
src/pages/AccountManagement/account/AccountDetail.tsx
View file @
23a3e560
...
@@ -423,29 +423,28 @@ const Account = (props: any) => {
...
@@ -423,29 +423,28 @@ const Account = (props: any) => {
name=
"contract"
name=
"contract"
onFinish=
{
onFinishContract
}
onFinish=
{
onFinishContract
}
>
>
<
Descriptions
column=
{
{
xs
:
1
,
sm
:
1
,
md
:
2
,
xl
:
3
}
}
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'initial'
,
alignItems
:
'center'
}
}
>
<
Descriptions
.
Item
>
<
Form
.
Item
name=
"tosUserName"
label=
"Account ID"
rules=
{
AccountTip
[
0
]
as
any
}
>
<
Form
.
Item
name=
"tosUserName"
label=
"Account ID"
rules=
{
AccountTip
[
0
]
as
any
}
>
<
Input
placeholder=
"Login Account"
className=
"input"
disabled
/>
<
Input
placeholder=
"Login Account"
className=
"input"
disabled
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
</
Descriptions
.
Item
>
name=
"tosAccountName"
<
Descriptions
.
Item
>
label=
"Name"
<
Form
.
Item
name=
"tosAccountName"
label=
"Name"
rules=
{
AccountTip
[
1
]
as
any
}
>
rules=
{
AccountTip
[
1
]
as
any
}
<
Input
placeholder=
"Name Of Administrator"
className=
"input"
disabled
/>
style=
{
{
marginRight
:
20
}
}
</
Form
.
Item
>
>
</
Descriptions
.
Item
>
<
Input
placeholder=
"Name Of Administrator"
className=
"input"
disabled
/>
<
Descriptions
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
name=
"tosUserPhone"
label=
"Phone"
rules=
{
AccountTip
[
2
]
as
any
}
>
<
Form
.
Item
name=
"tosUserPhone"
label=
"Contact Number"
rules=
{
AccountTip
[
2
]
as
any
}
>
<
Input
<
Input
placeholder=
"Contact Information"
placeholder=
"Contact Information"
className=
"input"
className=
"input"
maxLength=
{
11
}
maxLength=
{
11
}
onKeyUp=
{
keyup_communityManagerFee
}
onKeyUp=
{
keyup_communityManagerFee
}
disabled
disabled
/>
/>
</
Form
.
Item
>
</
Form
.
Item
>
</
Descriptions
.
Item
>
</
div
>
</
Descriptions
>
<
div
className=
"diy"
style=
{
{
marginBottom
:
'14px'
}
}
>
<
div
className=
"diy"
style=
{
{
marginBottom
:
'14px'
}
}
>
<
div
className=
"label required"
>
<
div
className=
"label required"
>
...
...
src/pages/AccountManagement/account/AccountEdit.tsx
View file @
23a3e560
...
@@ -88,6 +88,8 @@ const Account = (props: any) => {
...
@@ -88,6 +88,8 @@ const Account = (props: any) => {
dispatch
({
type
:
module
+
'/AccountClear'
});
dispatch
({
type
:
module
+
'/AccountClear'
});
setLoading
(
true
);
setLoading
(
true
);
history
.
go
(
-
1
);
history
.
go
(
-
1
);
}
else
{
setLoading
(
false
);
}
}
}
}
},
[
SubResult
]);
},
[
SubResult
]);
...
@@ -572,28 +574,27 @@ const Account = (props: any) => {
...
@@ -572,28 +574,27 @@ const Account = (props: any) => {
name=
"contract"
name=
"contract"
onFinish=
{
onFinishContract
}
onFinish=
{
onFinishContract
}
>
>
<
Descriptions
column=
{
{
xs
:
1
,
sm
:
1
,
md
:
2
,
xl
:
3
}
}
>
<
div
style=
{
{
display
:
'flex'
,
justifyContent
:
'initial'
,
alignItems
:
'center'
}
}
>
<
Descriptions
.
Item
>
<
Form
.
Item
name=
"tosUserName"
label=
"Account ID"
rules=
{
AccountTip
[
0
]
as
any
}
>
<
Form
.
Item
name=
"tosUserName"
label=
"Account ID"
rules=
{
AccountTip
[
0
]
as
any
}
>
<
Input
placeholder=
"E-mail address"
className=
"input"
disabled
/>
<
Input
placeholder=
"E-mail address"
className=
"input"
disabled
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
</
Descriptions
.
Item
>
name=
"tosAccountName"
<
Descriptions
.
Item
>
label=
"Name"
<
Form
.
Item
name=
"tosAccountName"
label=
"Name"
rules=
{
AccountTip
[
1
]
as
any
}
>
rules=
{
AccountTip
[
1
]
as
any
}
<
Input
placeholder=
"Name Of Administrator"
className=
"input"
/>
style=
{
{
marginRight
:
20
}
}
</
Form
.
Item
>
>
</
Descriptions
.
Item
>
<
Input
placeholder=
"Name Of Administrator"
className=
"input"
/>
<
Descriptions
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
name=
"tosUserPhone"
label=
"Correct telephone"
rules=
{
AccountTip
[
2
]
as
any
}
>
<
Form
.
Item
name=
"tosUserPhone"
label=
"Contact Number"
rules=
{
AccountTip
[
2
]
as
any
}
>
<
Input
<
Input
placeholder=
"Contact Information"
placeholder=
"Contact Information"
className=
"input"
className=
"input"
maxLength=
{
11
}
maxLength=
{
11
}
onKeyUp=
{
keyup_communityManagerFee
}
onKeyUp=
{
keyup_communityManagerFee
}
/>
/>
</
Form
.
Item
>
</
Form
.
Item
>
</
Descriptions
.
Item
>
</
div
>
</
Descriptions
>
<
div
className=
"diy"
style=
{
{
marginBottom
:
'14px'
}
}
>
<
div
className=
"diy"
style=
{
{
marginBottom
:
'14px'
}
}
>
<
div
className=
"label required"
>
<
div
className=
"label required"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment