1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 15:01:23 +08:00

Update employee attendance pop-up on homepage

This commit is contained in:
ggb
2023-06-08 01:25:32 +08:00
parent e7d7faba67
commit 09fb08412e

View File

@@ -13,10 +13,15 @@
</template>
<el-calendar ref="calendar" />
</el-card>
<el-dialog v-model="attendanceVisible"> </el-dialog>
<el-dialog v-model="attendanceVisible" title="打卡" style="width: 25%">
<edit-one-attendance @setDialogVisible="closeAttendance" />
</el-dialog>
</template>
<script lang="ts">
import EditOneAttendance from '@/components/attendance/EditOneAttendance.vue'
export default {
components: { EditOneAttendance },
data() {
return {
attendanceVisible: false
@@ -26,6 +31,9 @@ export default {
showAttendance() {
this.attendanceVisible = true
},
closeAttendance() {
this.attendanceVisible = false
},
pushTodo() {
this.$router.push('/attendance/user')
}