Commit ff0bb772 authored by Sixiang_Zzb's avatar Sixiang_Zzb

测试问题修复

parent 353e5877
...@@ -403,7 +403,7 @@ class SelectOptions extends React.PureComponent { ...@@ -403,7 +403,7 @@ class SelectOptions extends React.PureComponent {
options={this.state.checkedListOptions} // 所有数组 options={this.state.checkedListOptions} // 所有数组
value={this.state.checkedList} // 选中的数组 value={this.state.checkedList} // 选中的数组
onChange={this.onChangeValue} onChange={this.onChangeValue}
style={{ marginLeft: 10 }} style={{ marginLeft: 10, marginTop: 16 }}
/> />
<div> <div>
<h1> </h1> <h1> </h1>
......
...@@ -28,49 +28,49 @@ export default { ...@@ -28,49 +28,49 @@ export default {
}, },
reducers: { reducers: {
returnPage(state, { Data, DataPage, DataSave }) { returnPage(state: any, { Data, DataPage, DataSave }: any) {
return { ...state, Data, DataPage, DataSave }; return { ...state, Data, DataPage, DataSave };
}, },
returnData3Error(state, { Data3Error }) { returnData3Error(state: any, { Data3Error }: any) {
return { ...state, Data3Error }; return { ...state, Data3Error };
}, },
returnDataSave(state, { DataSave }) { returnDataSave(state: any, { DataSave }: any) {
return { ...state, DataSave }; return { ...state, DataSave };
}, },
DataSaveDetail(state, { DataSaveDetail, returnValue }) { DataSaveDetail(state: any, { DataSaveDetail, returnValue }: any) {
return { ...state, DataSaveDetail, returnValue }; return { ...state, DataSaveDetail, returnValue };
}, },
returnSource(state, { sourceData }) { returnSource(state: any, { sourceData }: any) {
return { ...state, sourceData }; return { ...state, sourceData };
}, },
returnCurString(state, { curString }) { returnCurString(state: any, { curString }: any) {
return { ...state, curString }; return { ...state, curString };
}, },
returnResult(state, { Result }) { returnResult(state: any, { Result }: any) {
return { ...state, Result }; return { ...state, Result };
}, },
returnCommunityInfo(state, { communityInfo }) { returnCommunityInfo(state: any, { communityInfo }: any) {
return { ...state, communityInfo }; return { ...state, communityInfo };
}, },
PageDate(state, { pageDate }) { PageDate(state: any, { pageDate }: any) {
return { ...state, pageDate }; return { ...state, pageDate };
}, },
ReturnValue(state, { returnValue }) { ReturnValue(state: any, { returnValue }: any) {
return { ...state, returnValue }; return { ...state, returnValue };
}, },
returnMemberResult(state, { memberResult }) { returnMemberResult(state: any, { memberResult }: any) {
return { ...state, memberResult }; return { ...state, memberResult };
}, },
returnDataServices(state, { DataServices }) { returnDataServices(state: any, { DataServices }: any) {
return { ...state, DataServices }; return { ...state, DataServices };
}, },
returnData4Error(state, { Data4Error }) { returnData4Error(state: any, { Data4Error }: any) {
return { ...state, Data4Error }; return { ...state, Data4Error };
}, },
}, },
effects: { effects: {
*RA({ playload }, { call, put }) { *RA({ playload }: { playload: { index: number } }, { call, put }: any) {
switch (playload.index) { switch (playload.index) {
case 12: case 12:
{ {
...@@ -116,7 +116,6 @@ export default { ...@@ -116,7 +116,6 @@ export default {
break; break;
case 13: case 13:
{ {
//
history.push('/UserManagement/LIFEUserManagement'); history.push('/UserManagement/LIFEUserManagement');
} }
break; break;
...@@ -196,56 +195,56 @@ export default { ...@@ -196,56 +195,56 @@ export default {
} }
}, },
*IA({ playload }, { call, put }) { *IA({}, { put }: any) {
var Data3 = null; var Data3 = null;
yield put({ type: 'returnPage3', Data3 }); yield put({ type: 'returnPage3', Data3 });
}, },
*IA2({ playload }, { call, put }) { *IA2({}, { put }: any) {
var Data3Error = null; var Data3Error = null;
yield put({ type: 'returnData3Error', Data3Error }); yield put({ type: 'returnData3Error', Data3Error });
}, },
*SA({ playload }, { call, put }) { *SA({ playload }: any, { put }: any) {
var DataSave = playload; var DataSave = playload;
yield put({ type: 'returnDataSave', DataSave }); yield put({ type: 'returnDataSave', DataSave });
}, },
*CA({ playload }, { call, put }) { *CA({ playload }: any, { put }: any) {
var sourceData = playload; var sourceData = playload;
yield put({ type: 'returnSource', sourceData }); yield put({ type: 'returnSource', sourceData });
}, },
*QA({ playload }, { call, put }) { *QA({ playload }: any, { put }: any) {
var curString = playload; var curString = playload;
yield put({ type: 'returnCurString', curString }); yield put({ type: 'returnCurString', curString });
}, },
*ResultClear({}, { put }) { *ResultClear({}, { put }: any) {
var tmp = null; var tmp = null;
yield put({ type: 'returnResult', tmp }); yield put({ type: 'returnResult', tmp });
}, },
*PAGE({ playload }, { put }) { *PAGE({ playload }: any, { put }: any) {
var pageDate = playload; var pageDate = playload;
yield put({ type: 'PageDate', pageDate }); yield put({ type: 'PageDate', pageDate });
}, },
*DataClear({}, { put }) { *DataClear({}, { put }: any) {
var pageDate = null; var pageDate = null;
yield put({ type: 'returnPage', pageDate }); yield put({ type: 'returnPage', pageDate });
}, },
*MemberResultClear({}, { put }) { *MemberResultClear({}, { put }: any) {
let memberResult = null; let memberResult = null;
yield put({ type: 'returnMemberResult', memberResult }); yield put({ type: 'returnMemberResult', memberResult });
}, },
*Data4ErrorClear({}, { put }) { *Data4ErrorClear({}, { put }: any) {
let Data4Error = null; let Data4Error = null;
yield put({ type: 'returnData4Error', Data4Error }); yield put({ type: 'returnData4Error', Data4Error });
}, },
*ClearResult({}, { put }) { *ClearResult({}, { put }: any) {
let Result = null; let Result = null;
yield put({ type: 'returnResult', Result }); yield put({ type: 'returnResult', Result });
}, },
......
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