studentInitialState.js
1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
'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;