enterCategory.vue
787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!--
* @Description: 进店类型
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-23 17:13:03
-->
<template>
<div>
<div class="title title-icon">
<span class="icon"></span>
<span>进店类型</span>
</div>
<div class="container flex">
<pie-chart :id="chart.id" :list="salesData" @pieAction="pieAction"></pie-chart>
<ran-king :list="brandList"></ran-king>
</div>
</div>
</template>
<script>
import { salesMixin } from '../../mixins/index'
export default {
name: 'EnterCategory',
mixins: [salesMixin],
data() {
return {
type: 'entertype',
brandList: [],
chart: {
id: 'enterCategory-pie'
}
}
},
methods: {
pieAction(data) {}
}
}
</script>