<!-- eslint-disable vue/no-mutating-props -->
<!--
@ 作者: 鲁智强
@ 时间: 2023-08-29 11:32:54
@ 备注: 
-->
<script lang='ts'>
import { ref, defineProps, defineEmits, reactive, toRefs, onMounted } from "vue";
import {ElMessage, UploadProps } from "element-plus"; // Import ElDiaacd component
interface FormInfoac {
	id: string;
	age: string;
	name: string;
	sex: string;
	ccc: string;
	ade: string;
	num: string,
	abc: string,
	acc: string,
	ace: string,
	acf: string,
	acg: string,
	acd: string,
	abg: string,
  }
export default {
	props: {
    title: {
      type: String,
      default: "",
    },
    diaacdShow: {
      type: Boolean,
      default: false,
    },
    aceInfo: {
      type: Object as () => FormInfoac,
      default() {
        return {};
      },
    },
    arrayNum: {
      type: Number,
      default: 0,
    },
  },
	emits: ["update:diaacdShow"],
  setup(props, { emit }) { // Pass emit as a parameter to setup
    const handleClose = () => {
      // Use emit to update the diaacdShow prop and close the dialog
      emit("update:diaacdShow", false);
    };
    // Other logic and methods
    return {
      handleClose,
    };
  },
}
</script>
<template>
	<el-diaacd :model-value="true" :title="title" @close="handleClose">
    <!-- Add your dialog content here -->
	</el-diaacd>
</
<style  lang='scss' scoped>

</style>
