feat(oa): register confirmation kit (转正套件) in FormCreate designer
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b22777fa2d
commit
898a337f96
6 files changed
+305
No files matched your search
@@ -0,0 +1,37 @@
|
||||
<!-- 转正套件:仅组合容器;显隐在 props;运行时无边框标题 -->
|
||||
<template>
|
||||
<div class="oa-confirmation-kit" v-bind="$attrs">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineOptions({ name: 'OaConfirmationKit', inheritAttrs: false })
|
||||
|
||||
defineProps<{
|
||||
showHireDate?: boolean
|
||||
showProbationMonths?: boolean
|
||||
showConfirmationDate?: boolean
|
||||
showPost?: boolean
|
||||
showJobLevel?: boolean
|
||||
showName?: boolean
|
||||
showEmail?: boolean
|
||||
showDept?: boolean
|
||||
showPhone?: boolean
|
||||
hireDateField?: string
|
||||
probationMonthsField?: string
|
||||
confirmationDateField?: string
|
||||
postField?: string
|
||||
jobLevelField?: string
|
||||
nameField?: string
|
||||
emailField?: string
|
||||
deptField?: string
|
||||
phoneField?: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.oa-confirmation-kit {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user