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:
@@ -13,10 +13,15 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-calendar ref="calendar" />
|
<el-calendar ref="calendar" />
|
||||||
</el-card>
|
</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>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import EditOneAttendance from '@/components/attendance/EditOneAttendance.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
components: { EditOneAttendance },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
attendanceVisible: false
|
attendanceVisible: false
|
||||||
@@ -26,6 +31,9 @@ export default {
|
|||||||
showAttendance() {
|
showAttendance() {
|
||||||
this.attendanceVisible = true
|
this.attendanceVisible = true
|
||||||
},
|
},
|
||||||
|
closeAttendance() {
|
||||||
|
this.attendanceVisible = false
|
||||||
|
},
|
||||||
pushTodo() {
|
pushTodo() {
|
||||||
this.$router.push('/attendance/user')
|
this.$router.push('/attendance/user')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user