dialog.vue
1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<template>
<el-dialog
class="entryDialog classCUploadDialog"
title="运抵单申报"
:visible.sync="visible"
top="8vh"
width="720px"
:destroy-on-close="true"
@close="close()"
>
<div class="modelItem">
<el-descriptions class="margin-top" title="" :column="3" border>
<el-descriptions-item>
<template slot="label"> 用户名 </template>
kooriookami
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 手机号 </template>
18100000000
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 居住地 </template>
苏州市
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 备注 </template>
<el-tag size="small">学校</el-tag>
</el-descriptions-item>
<el-descriptions-item>
<template slot="label"> 联系地址 </template>
江苏省苏州市吴中区吴中大道 1188 号
</el-descriptions-item>
</el-descriptions>
</div>
</el-dialog>
</template>
<script>
export default {
props: {
outerVisible: {
type: Boolean,
default: false,
},
selected: {
type: Array,
default: () => {
return [];
},
},
},
data() {
return {
visible: false,
};
},
watch: {
outerVisible(val) {
if (val) {
this.visible = val;
}
},
},
methods: {
close() {
this.visible = false;
this.$emit("close", false);
},
},
};
</script>
<style lang="scss" scoped>
@import "@/assets/styles/variables.scss";
</style>