OaOvertimeKit.vue 473 B

1234567891011121314151617181920212223
  1. <!-- 加班套件:仅组合容器;时长手动填写,无自动计算 -->
  2. <template>
  3. <div class="oa-overtime-kit" v-bind="$attrs">
  4. <slot />
  5. </div>
  6. </template>
  7. <script setup lang="ts">
  8. defineOptions({ name: 'OaOvertimeKit', inheritAttrs: false })
  9. defineProps<{
  10. personField?: string
  11. startField?: string
  12. endField?: string
  13. durationField?: string
  14. }>()
  15. </script>
  16. <style scoped lang="scss">
  17. .oa-overtime-kit {
  18. width: 100%;
  19. }
  20. </style>