diff --git a/src/views/oa_apply/detail.vue b/src/views/oa_apply/detail.vue index e130ac9..99f5296 100644 --- a/src/views/oa_apply/detail.vue +++ b/src/views/oa_apply/detail.vue @@ -21,6 +21,9 @@ + @@ -127,6 +130,15 @@ const personnel = ref(null); const userStore = useUserStore().userInfo; const showBackDialog = ref(false) + + +defineProps({ + dictData: { + type: Object as PropType>, + default: () => ({}) + }, +}) + // 表单数据 const formData = reactive({ id: 0, @@ -141,7 +153,6 @@ const setFormData = async (data: Record) => { formData[key] = data[key] } } - console.log(formData) } diff --git a/src/views/oa_apply/index.vue b/src/views/oa_apply/index.vue index 7c92244..46ffff1 100644 --- a/src/views/oa_apply/index.vue +++ b/src/views/oa_apply/index.vue @@ -76,7 +76,7 @@ -