diff --git a/src/saas/AppCountryAlbum/components/Organize.vue b/src/saas/AppCountryAlbum/components/Organize.vue index ceac8d05..ec0c8992 100644 --- a/src/saas/AppCountryAlbum/components/Organize.vue +++ b/src/saas/AppCountryAlbum/components/Organize.vue @@ -44,25 +44,6 @@ -
-
-

考勤统计

- -
-
-
-
-

{{ attendanceCount.hasIn || 0 }}

- 人已打卡 - 共{{ attendanceCount.all || 0 }}人 -
- {{ rate }}% -
-
-
-
-
-

成员拍照排名

@@ -103,18 +84,7 @@ isMore: false, isShow: false, yyyyMM: '', - DD: '', - attendanceCount: {} - } - }, - - computed: { - rate () { - if (!this.attendanceCount.all) { - return '0' - } - - return (this.attendanceCount.hasIn / this.attendanceCount.all * 100).toFixed(2) + DD: '' } }, @@ -133,12 +103,6 @@ } }) - this.$http.post(`/api/appattendancerecord/attendanceCount?queryTime=${this.date.replace(/年|月/g, '-')}`).then(res => { - if (res.code === 0) { - this.attendanceCount = res.data - } - }) - this.$http.post(`/api/appattendancerecord/userphotosort?queryTime=${this.date.replace(/年|月/g, '-')}`).then(res => { if (res.code === 0) { this.list = Object.keys(res.data).map(v => {