studentInitialState.js 1.05 KB
'use strict';

import {Record, List, Map} from 'immutable';

let InitialState = Record({
	registerPageInfo: new (Record({
		isFetching: false,
		verifiedStudentTotal: 0,
		educationLevelList: List(),
		schoolYearList: List(),
		registerPageCells: Map(),
		error: null,
		pickerList: List(),
		provinceWithLatterList: List(),
		provinceLatterList: List(),
		curProvinceItem: Map(),
		schoolCodeValueInfo: Map(),
		curSchoolListInfo:new (Record({
			isFetching: false,
			curSchoolWithLatterList: List(),
			curSchoolLatterList: List(),
		})),
		cueSchoolItem: Map(),
		provinceSchoolPageInfo: new (Record({
			show: false,
			type: '', //provice or school
			leftList: List(),
			rightList: List(),
		})),
		searchResultPageInfo: new (Record({
			show: false,
			type: '', //provice or school
			leftList: List(),
			rightList: List(),
		})),
		pickerInfo: Map(),//当前页面选中的cell的信息
	})),

	productPageInfo: new (Record({
		isFetching: false,
		studentProducts: Map(),
		error: null,
	})),
	tipMessage: '',
	zimaRegisterUrl: '',
});

export default InitialState;