This commit is contained in:
qsh
2024-06-25 19:31:55 +08:00
parent 93d7f2b43d
commit f63104591b
5 changed files with 273 additions and 24 deletions

View File

@@ -0,0 +1,23 @@
<template>
<el-dialog width="800px" :title="title" v-model="show" append-to-body>
<div v-dompurify-html="detail" class="mb-20px"></div>
</el-dialog>
</template>
<script setup name="DialogSchoolInfo">
const title = ref('')
const show = ref(false)
const detail = ref('')
function open(info) {
title.value = `${info.schoolName}】详细信息`
show.value = true
detail.value = info.schoolRemark || '该驾校暂未配置详细信息'
}
defineExpose({
open
})
</script>
<style lang="scss" scoped></style>