index.vue 485 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div>
  3. <page-header :title="$t('dictionary.alertrecord')" />
  4. <page-body>
  5. <list listId="AlertrecordList" :resType="resType" />
  6. </page-body>
  7. </div>
  8. </template>
  9. <script>
  10. import List from './components/List'
  11. export default {
  12. name: 'AlertrecordIndex',
  13. components: {
  14. List,
  15. },
  16. data () {
  17. let resType = ''
  18. if (this.$route.query.res_type) {
  19. resType = this.$route.query.res_type
  20. }
  21. return {
  22. resType,
  23. }
  24. },
  25. }
  26. </script>