| | |
| | | v-model="dialogVisible" |
| | | :title="computedTitle" |
| | | :operation-type="operationType" |
| | | :inspectType="inspectType" |
| | | width="520px" |
| | | @close="emit('close')" |
| | | @cancel="handleCancel" |
| | |
| | | const props = defineProps({ |
| | | modelValue: { type: Boolean, default: false }, |
| | | operationType: { type: String, default: 'add' }, // add | edit |
| | | form: { type: Object, required: true } |
| | | form: { type: Object, required: true }, |
| | | inspectType: { type: String, default: null }, |
| | | }) |
| | | |
| | | const emit = defineEmits(['update:modelValue', 'close', 'cancel', 'confirm']) |