Commit d7fe6ac8 authored by Sixiang_Zzb's avatar Sixiang_Zzb

服务商问题注销问题修复,业主新建页面布局修改

parent 3414cb65
......@@ -166,7 +166,6 @@ export default {
case 16:
{
console.log('等待删除完成');
message.success('Success Operation!');
var returnValue = resp;
yield put({ type: 'ReturnValue', returnValue });
}
......
......@@ -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();
}
......
......@@ -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]);
......
......@@ -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]);
......
......@@ -53,11 +53,12 @@
}
.box1item3 {
position: absolute;
left: 529px;
top: 50px;
}
.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: 28px;
margin-top: 70px;
margin-bottom: 28px;
}
......
......@@ -132,7 +132,7 @@ const Edit = (props: any) => {
},
]}
>
<Input style={{ width: 200 }} placeholder="Single Line Input" />
<Input style={{ width: 260 }} placeholder="Single Line Input" />
</Form.Item>
</div>
</div>
......
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