details.vue 621 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <el-dialog title="详情" :visible.sync="visible" :before-close="handleClose" :close-on-click-modal="false"
  3. :close-on-press-escape="false" append-to-body width="60vw">
  4. </el-dialog>
  5. </template>
  6. <script>
  7. export default {
  8. components: {
  9. },
  10. data() {
  11. return {
  12. visible: false,
  13. }
  14. },
  15. watch: {
  16. },
  17. methods: {
  18. open() {
  19. this.visible = true
  20. },
  21. handleClose() {
  22. this.visible = false
  23. },
  24. }
  25. }
  26. </script>
  27. <style lang="scss" scoped>
  28. </style>