Commit ff0bb772 authored by Sixiang_Zzb's avatar Sixiang_Zzb

测试问题修复

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