联调流程定义 流程图

This commit is contained in:
GGJ
2024-04-17 09:44:50 +08:00
parent ecb649dc47
commit 38e88f0ff5
11 changed files with 314 additions and 263 deletions

View File

@@ -0,0 +1,26 @@
<template>
<el-dialog v-model="dialogVisible" :title="title" width="500" :before-close="handleClose">
<span>111</span>
<template #footer>
<div class="dialog-footer">
<el-button type="primary">确定</el-button>
<el-button @click="handleClose">取消</el-button>
</div>
</template>
</el-dialog>
</template>
<script setup lang="ts">
import { ref, reactive } from 'vue'
const dialogVisible = ref(false)
const title = ref('')
const handleClose = (done: () => void) => {
dialogVisible.value = false
}
const open = (text: string) => {
title.value = text
dialogVisible.value = true
}
defineExpose({ open })
</script>
<style lang="scss" scoped></style>