<template>
  <div class="AppIntegralAudit">
    <component
        :is="component"
        @change="onChange"
        :params="params">
    </component>
  </div>
</template>

<script>
import Detail from './detail'

export default {
  name: 'AppIntegralAudit',
  appName: '积分审核',

  data() {
    return {
      component: 'Detail',
      params: {},
    }
  },

  onShow() {
    document.title = '积分审核'
  },

  components: {Detail},

  methods: {
    onChange(e) {
      this.params = e.params
      this.component = e.type
    },
    onShow() {
      document.title = "特殊人群"
    //   this.refresh = false
    //   this.$nextTick(() => {
    //     this.refresh = true
    //   })
    // }
  },
}
}
</script>

<style lang="scss" scoped>
uni-page-body {
  height: 100%;
}

.AppIntegralAudit {
  height: 100%;
}
</style>
