联调流程定义 流程图
This commit is contained in:
26
src/views/pqs/supervise/retire/components/equipment.vue
Normal file
26
src/views/pqs/supervise/retire/components/equipment.vue
Normal 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>
|
||||
Reference in New Issue
Block a user