28 lines
599 B
Vue
28 lines
599 B
Vue
<!-- 加班套件:组合容器;时长可按起止自动计算,支持手改 -->
|
||
<template>
|
||
<div class="oa-overtime-kit" v-bind="$attrs">
|
||
<slot />
|
||
</div>
|
||
</template>
|
||
|
||
<script setup lang="ts">
|
||
defineOptions({ name: 'OaOvertimeKit', inheritAttrs: false })
|
||
|
||
defineProps<{
|
||
personField?: string
|
||
startField?: string
|
||
endField?: string
|
||
durationField?: string
|
||
workdayOvertimeStart?: string
|
||
workdayOvertimeEnd?: string
|
||
restBreakStart?: string
|
||
restBreakEnd?: string
|
||
}>()
|
||
</script>
|
||
|
||
<style scoped lang="scss">
|
||
.oa-overtime-kit {
|
||
width: 100%;
|
||
}
|
||
</style>
|