diff --git a/src/saas/AppCountryAlbum/Attendance.vue b/src/saas/AppCountryAlbum/Attendance.vue index 1f657204..7802df09 100644 --- a/src/saas/AppCountryAlbum/Attendance.vue +++ b/src/saas/AppCountryAlbum/Attendance.vue @@ -24,7 +24,7 @@ 已出勤 {{ attendanceCount.hasIn || 0 }} 未出勤 {{ attendanceCount.hasOut || 0 }} -
考勤设置
+
考勤设置
@@ -61,7 +61,8 @@ attendanceCount: {}, all: '1', hasIn: '', - hasOut: '' + hasOut: '', + isAdmin: false } }, @@ -84,6 +85,7 @@ }, created () { + this.isAdmin = !!this.$store.state.user.adminAuthType this.date = this.$dayjs(new Date).format('YYYY年MM月DD') this.getList() this.getTotal() diff --git a/src/saas/AppCountryAlbum/components/Home.vue b/src/saas/AppCountryAlbum/components/Home.vue index de56ed1e..4e3ec199 100644 --- a/src/saas/AppCountryAlbum/components/Home.vue +++ b/src/saas/AppCountryAlbum/components/Home.vue @@ -155,6 +155,7 @@ uni.chooseImage({ count: 1, sizeType: ['compressed'], + sourceType: ['camera'], success: res => { let formData = new FormData() formData.append('file', res.tempFiles[0])