wujingjing
2024-11-08 e186de0d012a1fcc1318342758dd3e2f73fe9e88
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!-- 表单对话框 -->
<template>
    <YWDialog
        :is-show="isShow"
        :header-icon="headerIcon"
        :title="title"
        :width="width"
        @closed="handleClosedClick"
        @close="handleCloseClick"
        @submit="handleSubmitClick"
    >
        <YWForm :inline="inline">
        
        </YWForm>
    </YWDialog>
</template>
 
<script setup lang="ts">
import { formDialogEmits, formDialogProps } from '/@/components/dialog/formDialog/formDialog';
import { useFormDialog } from '/@/components/dialog/formDialog/useFormDialog';
import YWDialog from '/@/components/dialog/yw-dialog.vue';
import YWForm from '/@/components/form/yw-form.vue';
const props = defineProps(formDialogProps);
const emits = defineEmits(formDialogEmits);
const { handleCloseClick, handleClosedClick, handleSubmitClick } = useFormDialog(props, emits);
</script>
<style scoped lang="scss">
 
</style>