pdasection.vue 661 Bytes
<template>
  <div>
    <titlesection></titlesection>
    <totalsection :totalNum="totalVal"></totalsection>
    <div class="flexfm"></div>
  </div>
</template>

<script>
import titlesection from '../components/titlesection'
import totalsection from '../components/total'
import {fetchList} from '../api/api'

export default {
  name: 'pdasection',
  components: {
    titlesection,
    totalsection
  },
  data() {
    return {
      totalVal: '1000',
    }
  },
  created() {
    this.getList()
  },
  methods: {
    getList() {
      fetchList()
        .then(res => {
          console.log(res);

        });
    },
  }
}
</script>

<style scoped>

</style>