OaConfirmationKit.vue 873 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <!-- 转正套件:仅组合容器;显隐在 props;运行时无边框标题 -->
  2. <template>
  3. <div class="oa-confirmation-kit" v-bind="$attrs">
  4. <slot />
  5. </div>
  6. </template>
  7. <script setup lang="ts">
  8. defineOptions({ name: 'OaConfirmationKit', inheritAttrs: false })
  9. defineProps<{
  10. showHireDate?: boolean
  11. showProbationMonths?: boolean
  12. showConfirmationDate?: boolean
  13. showPost?: boolean
  14. showJobLevel?: boolean
  15. showName?: boolean
  16. showEmail?: boolean
  17. showDept?: boolean
  18. showPhone?: boolean
  19. hireDateField?: string
  20. probationMonthsField?: string
  21. confirmationDateField?: string
  22. postField?: string
  23. jobLevelField?: string
  24. nameField?: string
  25. emailField?: string
  26. deptField?: string
  27. phoneField?: string
  28. }>()
  29. </script>
  30. <style scoped lang="scss">
  31. .oa-confirmation-kit {
  32. width: 100%;
  33. }
  34. </style>