Blame view

src/views/pdasection.vue 581 Bytes
eb6d1150   liuqimichale   title 总计 简单封装
1
  <template>
cb40959e   liuqimichale   添加mock 数据
2
3
4
5
6
    <div>
      <titlesection></titlesection>
      <totalsection></totalsection>
      <div class="flexfm"></div>
    </div>
eb6d1150   liuqimichale   title 总计 简单封装
7
8
9
10
11
  </template>
  
  <script>
  import titlesection from '../components/titlesection'
  import totalsection from '../components/total'
cb40959e   liuqimichale   添加mock 数据
12
13
  import {fetchList} from '../api/api'
  
eb6d1150   liuqimichale   title 总计 简单封装
14
  export default {
cb40959e   liuqimichale   添加mock 数据
15
    name: 'pdasection',
eb6d1150   liuqimichale   title 总计 简单封装
16
17
18
    components: {
      titlesection,
      totalsection
cb40959e   liuqimichale   添加mock 数据
19
20
21
22
23
24
25
26
27
28
29
30
    },
    created() {
      this.getList()
    },
    methods: {
      getList() {
        fetchList()
          .then(res => {
            console.log(res);
  
          });
      },
eb6d1150   liuqimichale   title 总计 简单封装
31
32
33
34
35
36
37
    }
  }
  </script>
  
  <style scoped>
  
  </style>