联调承载能力评估 技术监督ui绘制
This commit is contained in:
26
src/views/pqs/supervise/terminal/components/add.vue
Normal file
26
src/views/pqs/supervise/terminal/components/add.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<el-dialog v-model="dialogVisible" :title="title" style="width: 1040px">
|
||||
<template #footer>
|
||||
<span class="dialog-footer">
|
||||
<el-button @click="dialogVisible = false">取消</el-button>
|
||||
<el-button type="primary" @click="submit">确认</el-button>
|
||||
</span>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, reactive } from 'vue'
|
||||
const dialogVisible = ref(false)
|
||||
const title = ref('')
|
||||
|
||||
const submit = () => {}
|
||||
|
||||
const open = (row: any) => {
|
||||
console.log(row)
|
||||
title.value = row.title
|
||||
dialogVisible.value = true
|
||||
}
|
||||
|
||||
defineExpose({ open })
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
Reference in New Issue
Block a user