|
@@ -42,12 +42,16 @@ Page({
|
|
|
this.setData({
|
|
|
startDate: e.detail.value
|
|
|
})
|
|
|
+ this.getStatisticsInfo();
|
|
|
+ this.getUnInInfo();
|
|
|
},
|
|
|
|
|
|
bindendDateChange: function(e) {
|
|
|
this.setData({
|
|
|
endDate: e.detail.value
|
|
|
})
|
|
|
+ this.getStatisticsInfo();
|
|
|
+ this.getUnInInfo();
|
|
|
},
|
|
|
|
|
|
getCollegeInfo: function(e) {
|
|
@@ -142,7 +146,7 @@ Page({
|
|
|
fontSize: 15
|
|
|
},
|
|
|
subtitle: {
|
|
|
- name: that.data.totalInfo.attendance * 100 + '%',
|
|
|
+ name: that.data.totalInfo.attendance + '%',
|
|
|
color: '#6282f4',
|
|
|
fontSize: 18
|
|
|
},
|
|
@@ -205,7 +209,9 @@ Page({
|
|
|
page: 1,
|
|
|
rows: 20
|
|
|
}, 'post').then(res => {
|
|
|
- weiguiList: res.data.data.data
|
|
|
+ that.setData({
|
|
|
+ weiguiList: res.data.data.data
|
|
|
+ })
|
|
|
})
|
|
|
},
|
|
|
|