From 267a84c7f79fe739214d2ab12df65335581ec281 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 27 May 2022 09:51:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/saas/AppCountryAlbum/Attendance.vue | 6 ++++-- src/saas/AppCountryAlbum/components/Home.vue | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) 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])