zzw
10 小时以前 145fd1abd1e77e142982da48064b98f1e436dc6c
emergency-repair-web/src/views/report/ReportPage.vue
@@ -38,11 +38,13 @@
export default {
  name: 'ReportPage',
  props: {
    type: { type: String, required: true }
  },
  data() {
    return { stats: {}, rows: [], chart: null }
  },
  computed: {
    type() { return this.$route.params.type },
    title() {
      return {
        overview: '装备故障总体分析',
@@ -93,7 +95,7 @@
    }
  },
  watch: {
    '$route.params.type': 'load'
    type: 'load'
  },
  mounted() {
    this.load()