h5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
765 B

<template>
<!-- 考勤详情页 -->
<p-check-work-detail v-if="key === 'checkWork'" :clockParams="params"></p-check-work-detail>
<!-- 工资条详情页 -->
<p-salary-detail v-if="key === 'salary'"></p-salary-detail>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import pCheckWorkDetail from "@/plugins/p-check-work/detail";
import pSalaryDetail from "@/plugins/p-salary/detail";
let key = ref(null);
let params = ref({});
onMounted(() => {
key.value = uni.$storage.getStorageSync('pluginKey');
})
// 查看当前员工的打卡记录
function checkClock(data) {
params.value = data;
// uni.$storage.setStorageSync('pluginKey', 'checkWork');
key.value = 'checkWork';
}
</script>
<style>
</style>