Commit 1eedb243 authored by Sixiang_Zzb's avatar Sixiang_Zzb

物业服务删除提示修复

parent d7f8c2e0
......@@ -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 })
}
},
};
......@@ -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);
}
......
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