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
1eedb243
Commit
1eedb243
authored
Dec 10, 2020
by
Sixiang_Zzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物业服务删除提示修复
parent
d7f8c2e0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
14 deletions
+26
-14
User.ts
src/models/CommunityManagement/User.ts
+12
-7
UsersDetail.tsx
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
+14
-7
No files found.
src/models/CommunityManagement/User.ts
View file @
1eedb243
...
...
@@ -196,11 +196,11 @@ export default {
}
},
*
IA
({},
{
put
}:
any
)
{
*
IA
({
},
{
put
}:
any
)
{
var
Data3
=
null
;
yield
put
({
type
:
'returnPage3'
,
Data3
});
},
*
IA2
({},
{
put
}:
any
)
{
*
IA2
({
},
{
put
}:
any
)
{
var
Data3Error
=
null
;
yield
put
({
type
:
'returnData3Error'
,
Data3Error
});
},
...
...
@@ -220,7 +220,7 @@ export default {
yield
put
({
type
:
'returnCurString'
,
curString
});
},
*
ResultClear
({},
{
put
}:
any
)
{
*
ResultClear
({
},
{
put
}:
any
)
{
var
tmp
=
null
;
yield
put
({
type
:
'returnResult'
,
tmp
});
},
...
...
@@ -230,24 +230,29 @@ export default {
yield
put
({
type
:
'PageDate'
,
pageDate
});
},
*
DataClear
({},
{
put
}:
any
)
{
*
DataClear
({
},
{
put
}:
any
)
{
var
pageDate
=
null
;
yield
put
({
type
:
'returnPage'
,
pageDate
});
},
*
MemberResultClear
({},
{
put
}:
any
)
{
*
MemberResultClear
({
},
{
put
}:
any
)
{
let
memberResult
=
null
;
yield
put
({
type
:
'returnMemberResult'
,
memberResult
});
},
*
Data4ErrorClear
({},
{
put
}:
any
)
{
*
Data4ErrorClear
({
},
{
put
}:
any
)
{
let
Data4Error
=
null
;
yield
put
({
type
:
'returnData4Error'
,
Data4Error
});
},
*
ClearResult
({},
{
put
}:
any
)
{
*
ClearResult
({
},
{
put
}:
any
)
{
let
Result
=
null
;
yield
put
({
type
:
'returnResult'
,
Result
});
},
*
ClearReturnValue
({
},
{
put
}:
any
)
{
let
returnValue
=
null
;
yield
put
({
type
:
"ReturnValue"
,
returnValue
})
}
},
};
src/pages/UserManagement/LIFEUserManagement/UsersDetail.tsx
View file @
1eedb243
...
...
@@ -91,14 +91,21 @@ const UsersDetail = (props: any) => {
if
(
returnValue
!=
null
)
{
if
(
returnValue
.
error_code
!==
'0001'
)
{
message
.
success
(
'Delete Successfully!'
,
3
);
RA
(
13
,
{
id
:
DataSave
.
id
,
owerName
:
DataSave
.
owerName
,
enable
:
DataSave
.
enable
,
buildingNumber
:
DataSave
.
buildingNumber
,
floorNumber
:
DataSave
.
floorNumber
,
roomNumber
:
DataSave
.
roomNumber
,
// RA(13, {
// id: DataSave.id,
// owerName: DataSave.owerName,
// enable: DataSave.enable,
// buildingNumber: DataSave.buildingNumber,
// floorNumber: DataSave.floorNumber,
// roomNumber: DataSave.roomNumber,
// });
dispatch
({
type
:
'User/ClearReturnValue'
,
playload
:
{},
});
history
.
back
();
}
else
{
message
.
error
(
returnValue
.
error_msg
,
3
);
}
...
...
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