-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata(1).js
169 lines (161 loc) · 9.7 KB
/
data(1).js
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
var NowDates =
[
{spaceNum: 1, year: 2018, month: 5, day: 20, monthNum: 31},
//今天20号~~~
//spaceNum关系到日历布局问题,spaceNum = 本月一号的星期数 - 1, 你要算一下
//year 年份
//month 月份,此时为5月
//day 如果用户查看的是1,2,3,4,6,7,8,9,10,11,12,不是5月就这样//day: 32\\
//monthNum 5月的天数
{theDayBool:[//theDayBool 按顺序来比如下面有20个布尔值,依次表示第一天老师没有发起签到,。。。。第四天发起了签到,第五天发起了签到。。。。。如果是5月(当前月)现在肯定只有只有20个布尔值(今天二十号)
true,true,true,false,false,false,false,true,true,false,false,true,false,false,false,
false,true,false,false,false
]},
{theDayRecords: [//theDayRecords 签到记录详情⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇
[{ className: "此月一号的专业班级1名称", studentsNum: "此月一号1班的应到人数", Result: "此月一号1班实到人数", absentStudents: [{ theName: "缺席学生1的姓名", theNumber: "缺席学生1的学号", theMajor: "缺席学生1的专业" }, { theName: "缺席学生2的姓名", theNumber: "缺席学生2的学号", theMajor: "缺席学生2的专业" }] }, { className: "此月一号的专业班级2名称", studentsNum: "此月一号2班的应到人数", Result: "此月一号2班实到人数", absentStudents: [{ theName: "缺席学生1的姓名", theNumber: "缺席学生1的学号", theMajor: "缺席学生1的专业" }, { theName: "缺席学生2的姓名", theNumber: "缺席学生2的学号", theMajor: "缺席学生2的专业" }]}],
[{ className: "此月二号的专业班级1名称", studentsNum: "此月二号1班的应到人数", Result: "此月二号1班实到人数" }],
[{ className: "此月三号的专业班级1名称", studentsNum: "此月三号1班的应到人数", Result: "此月三号1班实到人数" }],
[],//哪一天没有就留空
]}
];
var NowDates =
[
{spaceNum: 6, year: 2018, month: 5, day: 22, monthNum: 31},
{theDayBool:[
true,true,true,false,false,false,false,true,true,false,false,true,false,false,false,
false,true,false,false,false,true,true
]},
{theDayRecords: [
{ time: '8:20:00', majorNames: "安工一班,环科一班,农资三班", signedNum: 80, studentsNum: 82}, {time: '19:40:00', majorNames: "园艺三班,园艺四班", signedNum: 82, studentsNum: 82}
]}
];
var arrActional = {"isSigning": true, "Shibboleth": "1234", signList: [{proFileUrl: "http://......", uName: "小华", distance: "100米以内", uNumber: "2017404888", uSuccess: true}, {}, {}]}
//uSuccess: 根据定位距离判断是否在教室、isSigning: 此发起的签到是否已过期、Shibboleth: 口令
//distance: GPS定位提示信息
data: {
SignedRecord: [
{
YEARTITLE: 2018,
MONTHCONTENT: [
{
MONTHTITLE: "1月",
DAYCONTENT: [
{
DAYTITLE: "1日",
TIMECONTENT: [
{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true },
{ TIMETITLE: "10:20", className: "近代历史纲要", uSuccess: true },
]
},
{
DAYTITLE: "2日",
TIMECONTENT: [
{ TIMETITLE: "10:05", className: "高数", uSuccess: false }
]
},
{
DAYTITLE: "3日",
TIMECONTENT: [
{ TIMETITLE: "14:50", className: "英语", uSuccess: true }
]
}
]
},
{ MONTHTITLE: "2月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "3月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "4月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "5月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }]
},
{
YEARTITLE: 2018,
MONTHCONTENT: [
{
MONTHTITLE: "1月",
DAYCONTENT: [
{
DAYTITLE: "1日",
TIMECONTENT: [
{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true },
{ TIMETITLE: "10:20", className: "近代历史纲要", uSuccess: true },
]
},
{
DAYTITLE: "2日",
TIMECONTENT: [
{ TIMETITLE: "10:05", className: "高数", uSuccess: false }
]
},
{
DAYTITLE: "3日",
TIMECONTENT: [
{ TIMETITLE: "14:50", className: "英语", uSuccess: true }
]
}
]
},
{ MONTHTITLE: "2月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "3月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "4月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "5月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }]
},
{
YEARTITLE: 2018,
MONTHCONTENT: [
{
MONTHTITLE: "1月",
DAYCONTENT: [
{
DAYTITLE: "1日",
TIMECONTENT: [
{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true },
{ TIMETITLE: "10:20", className: "近代历史纲要", uSuccess: true },
]
},
{
DAYTITLE: "2日",
TIMECONTENT: [
{ TIMETITLE: "10:05", className: "高数", uSuccess: false }
]
},
{
DAYTITLE: "3日",
TIMECONTENT: [
{ TIMETITLE: "14:50", className: "英语", uSuccess: true }
]
}
]
},
{ MONTHTITLE: "2月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "3月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "4月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "5月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }]
},
{
YEARTITLE: 2018,
MONTHCONTENT: [
{
MONTHTITLE: "1月",
DAYCONTENT: [
{
DAYTITLE: "1日",
TIMECONTENT: [
{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true },
{ TIMETITLE: "10:20", className: "近代历史纲要", uSuccess: true },
]
},
{
DAYTITLE: "2日",
TIMECONTENT: [
{ TIMETITLE: "10:05", className: "高数", uSuccess: false }
]
},
{
DAYTITLE: "3日",
TIMECONTENT: [
{ TIMETITLE: "14:50", className: "英语", uSuccess: true }
]
}
]
},
{ MONTHTITLE: "2月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "3月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "4月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }, { MONTHTITLE: "5月", DAYCONTENT: [{ DAYTITLE: "1日", TIMECONTENT: [{ TIMETITLE: "08:00", className: "线性代数", uSuccess: true }] }] }]
},
]
}
module.exports = {
NowDates: NowDates
}
//下面不要管⬇⬇⬇⬇⬇⬇⬇
module.exports = {
NowDates: NowDates
}