班級人數統計表 | ||||||
---|---|---|---|---|---|---|
{{item}}年級 | ||||||
男 | 女 | 全 | ||||
{{item.name}} |
{{ c.M + (reduce[c.name] && reduce[c.name].M ?
reduce[c.name].M.map(x => x.quantity).reduce((x, y) => x + y):
0) }}
|
{{ c.F + (reduce[c.name] && reduce[c.name].F ? reduce[c.name].F.map(x => x.quantity).reduce((x, y) => x + y): 0) }}
|
{{c.M + c.F + (reduce[c.name] && reduce[c.name].M ? reduce[c.name].M.map(x => x.quantity).reduce((x, y) => x + y): 0) + (reduce[c.name] && reduce[c.name].F ? reduce[c.name].F.map(x => x.quantity).reduce((x, y) => x + y): 0)}} | |||
總計 | {{item}}年級 | |||||
有{{data.map(x => x.classes[i]).filter(x => x !== null).length}}班 | ||||||
男 | 女 | 全 | ||||
{{gstds[(i+1)+"1"]}} | {{gstds[(i+1)+"2"]}} | {{gstds[(i+1)+"1"]+gstds[(i+1)+"2"]}} | ||||
全校有{{ data. map(x => x.classes). flat(). filter( x => x !==null ). length }}班 男生{{gstds["01"]}}人 女生{{gstds["02"]}}人 總共{{gstds["01"]+gstds["02"]}}人 |