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
d7fe6ac8
Commit
d7fe6ac8
authored
Dec 01, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务商问题注销问题修复,业主新建页面布局修改
parent
3414cb65
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
14 deletions
+18
-14
User.ts
src/models/CommunityManagement/User.ts
+0
-1
UsersDetail.tsx
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
+6
-0
AccoutingContent.tsx
...Management/ServiceProviderManagement/AccoutingContent.tsx
+4
-6
Detail.tsx
...pages/UserManagement/ServiceProviderManagement/Detail.tsx
+3
-3
Edit.less
src/pages/UserManagement/ServiceProviderManagement/Edit.less
+4
-3
Edit.tsx
src/pages/UserManagement/ServiceProviderManagement/Edit.tsx
+1
-1
No files found.
src/models/CommunityManagement/User.ts
View file @
d7fe6ac8
...
...
@@ -166,7 +166,6 @@ export default {
case
16
:
{
console
.
log
(
'等待删除完成'
);
message
.
success
(
'Success Operation!'
);
var
returnValue
=
resp
;
yield
put
({
type
:
'ReturnValue'
,
returnValue
});
}
...
...
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
View file @
d7fe6ac8
...
...
@@ -91,6 +91,9 @@ const UsersDetail = (props: any) => {
id
:
DataSave
.
id
,
owerName
:
DataSave
.
owerName
,
enable
:
DataSave
.
enable
,
buildingNumber
:
DataSave
.
buildingNumber
,
floorNumber
:
DataSave
.
floorNumber
,
roomNumber
:
DataSave
.
roomNumber
,
});
}
else
{
message
.
error
(
returnValue
.
error_msg
,
3
);
...
...
@@ -201,6 +204,9 @@ const UsersDetail = (props: any) => {
id
:
DataSave
.
id
,
owerName
:
DataSave
.
owerName
,
enable
:
DataSave
.
enable
,
buildingNumber
:
DataSave
.
buildingNumber
,
floorNumber
:
DataSave
.
floorNumber
,
roomNumber
:
DataSave
.
roomNumber
,
});
MemberResultClear
();
}
...
...
src/pages/UserManagement/ServiceProviderManagement/AccoutingContent.tsx
View file @
d7fe6ac8
...
...
@@ -53,15 +53,13 @@ const AccoutingContent = (props: {
useEffect
(()
=>
{
console
.
log
(
Result
);
if
(
Result
!==
null
)
{
dispatch
({
type
:
'ServiceProvider/ResultClear'
});
setLoading
(
false
);
if
(
Result
)
{
dispatch
({
type
:
'ServiceProvider/ResultClear'
});
message
.
success
(
'Logout successful!'
,
3
,
()
=>
{
history
.
goBack
();
});
message
.
success
(
'Logout successful!'
);
history
.
goBack
();
}
else
{
message
.
error
(
'Logout failed. Please try again!'
,
3
);
dispatch
({
type
:
'ServiceProvider/ResultClear'
,
playload
:
''
});
message
.
error
(
'Logout failed. Please try again!'
);
}
}
},
[
Result
]);
...
...
src/pages/UserManagement/ServiceProviderManagement/Detail.tsx
View file @
d7fe6ac8
...
...
@@ -100,14 +100,14 @@ const Detail = (props: any) => {
useEffect
(()
=>
{
console
.
log
(
Result
);
if
(
Result
!==
null
)
{
dispatch
({
type
:
'ServiceProvider/ResultClear'
});
setLoding
(
false
);
if
(
Result
)
{
dispatch
({
type
:
'ServiceProvider/ResultClear'
}
);
message
.
success
(
'Logout successful!'
,
2
);
message
.
success
(
'Logout successful!'
);
console
.
log
(
'跳转页面'
);
history
.
goBack
();
}
else
{
message
.
error
(
'Logout failed. Please try again!'
,
3
);
dispatch
({
type
:
'ServiceProvider/ResultClear'
,
playload
:
''
});
}
}
},
[
Result
]);
...
...
src/pages/UserManagement/ServiceProviderManagement/Edit.less
View file @
d7fe6ac8
...
...
@@ -53,11 +53,12 @@
}
.box1item3 {
position: absolute;
left: 529
px;
top: 50
px;
}
.box1item4 {
position: absolute;
left: 650px;
left: 154px;
top: 50px;
}
// 线栏
...
...
@@ -65,7 +66,7 @@
width: 100%;
height: 1px;
border-top: 1px solid rgba(217, 217, 217, 1);
margin-top:
28
px;
margin-top:
70
px;
margin-bottom: 28px;
}
...
...
src/pages/UserManagement/ServiceProviderManagement/Edit.tsx
View file @
d7fe6ac8
...
...
@@ -132,7 +132,7 @@ const Edit = (props: any) => {
},
]
}
>
<
Input
style=
{
{
width
:
2
0
0
}
}
placeholder=
"Single Line Input"
/>
<
Input
style=
{
{
width
:
2
6
0
}
}
placeholder=
"Single Line Input"
/>
</
Form
.
Item
>
</
div
>
</
div
>
...
...
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