Files
zkxw/web-admin/src/components/oa-approval/OaLeaveKit.vue
T
2026-07-30 17:54:48 +08:00

30 lines
756 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- 请假套件:仅组合容器,不改变子字段标准展示样式;工时在 props -->
<template>
<div class="oa-leave-kit" v-bind="$attrs">
<slot />
</div>
</template>
<script setup lang="ts">
defineOptions({ name: 'OaLeaveKit', inheritAttrs: false })
/** 工时属性由 FormCreate 写入 props,供 schema / 运行时读取,本组件不展示 */
defineProps<{
morningStart?: string
morningEnd?: string
afternoonStart?: string
afternoonEnd?: string
startField?: string
endField?: string
durationField?: string
typeField?: string
}>()
</script>
<style scoped lang="scss">
/* 无边框/底色/标题:子字段视觉与标准组件一致 */
.oa-leave-kit {
width: 100%;
}
</style>