zhouwx
2024-06-27 ae43feac8c6b2372f5a061ead68e71027e8877e1
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
<template>
  <el-dialog
    title="学时报告"
    :visible.sync="dialogVisible"
    :modal-append-to-body="false"
    :close-on-click-modal="false"
    width="600px"
    :before-close="handleClose"
    append-to-body
  >
    <div class="columnFlex" style="margin-top: 10px">
      <el-image
        style="width: 500px;height: 300px"
        :src="url"
        :preview-src-list="[url]">
      </el-image>
    </div>
  </el-dialog>
</template>
 
<script >
export default {
  name: 'addUser',
  components: {
  },
  data() {
    return {
      dialogVisible: false,
      dialogStatus: '',
      url: ''
    }
  },
  created() {
  },
  methods: {
    openDialog (data) {
      this.url = data;
      this.dialogVisible = true;
    },
 
    handleClose() {
      this.dialogVisible = false;
      this.$emit("getList");
    },
  }
}
 
</script>
<style scoped>
 
</style>