Commit de2f5fc7 by 胡悦

添加

1 parent 5560970c
/*
* @Description:
* @Author: huyue
* @Date: 2023-07-07 11:23:06
* @LastEditors: huyue
* @LastEditTime: 2023-07-27 10:33:06
*/
export default {
watch: {
watchBoutiqueYear: {
immediate: true,
handler(newval) {
this && this.init && this.init(newval)
}
}
},
computed: {
watchBoutiqueYear() {
return this.$store.state.app.boutique.year
}
},
method: {
openMessage(msg) {
this.$message({
message: msg,
type: 'warning'
})
}
}
}
...@@ -3,9 +3,11 @@ ...@@ -3,9 +3,11 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-04 11:44:11 * @Date: 2023-07-04 11:44:11
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-07 11:22:53 * @LastEditTime: 2023-07-27 10:33:52
*/ */
import changeMixin from './changeMixin' import changeMixin from './changeMixin'
import boutiqueMixin from './boutiqueMixin'
export { export {
changeMixin changeMixin,
boutiqueMixin
} }
...@@ -17,13 +17,13 @@ ...@@ -17,13 +17,13 @@
<script> <script>
import BoutiqueDate from '../boutique/BoutiqueDate.vue' import BoutiqueDate from '../boutique/BoutiqueDate.vue'
import { changeMixin } from '@/mixins' import { boutiqueMixin } from '@/mixins'
export default { export default {
name: 'BoutiqueLeft', name: 'BoutiqueLeft',
components: { components: {
BoutiqueDate BoutiqueDate
}, },
mixins: [changeMixin], mixins: [boutiqueMixin],
computed: { computed: {
tabName() { tabName() {
let sname let sname
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-19 17:18:33 * @Date: 2023-07-19 17:18:33
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-26 18:02:36 * @LastEditTime: 2023-07-27 10:40:12
--> -->
<template> <template>
<div> <div>
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
<script> <script>
import BarChart from '../BarChart.vue' import BarChart from '../BarChart.vue'
import { changeMixin } from '@/mixins' import { boutiqueMixin } from '@/mixins'
export default { export default {
name: 'BarTrends', name: 'BarTrends',
components: { components: {
BarChart BarChart
}, },
mixins: [changeMixin], mixins: [boutiqueMixin],
data() { data() {
return { return {
tooltipFormatterObj: [ tooltipFormatterObj: [
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-07-19 17:18:33 * @Date: 2023-07-19 17:18:33
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-07-26 14:32:32 * @LastEditTime: 2023-07-27 10:40:19
--> -->
<template> <template>
<div class="trends-box"> <div class="trends-box">
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
<script> <script>
import BarLineChart from '../BarLineChart.vue' import BarLineChart from '../BarLineChart.vue'
import { changeMixin } from '@/mixins' import { boutiqueMixin } from '@/mixins'
export default { export default {
name: 'BusinessTrends', name: 'BusinessTrends',
components: { components: {
BarLineChart BarLineChart
}, },
mixins: [changeMixin], mixins: [boutiqueMixin],
data() { data() {
return { return {
tooltipFormatterObj: [ tooltipFormatterObj: [
......
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
</template> </template>
<script> <script>
import { changeMixin } from '@/mixins' import { boutiqueMixin } from '@/mixins'
export default { export default {
name: 'MerchantsRanking', name: 'MerchantsRanking',
mixins: [changeMixin], mixins: [boutiqueMixin],
data() { data() {
return { return {
// 门店产值排名数据 // 门店产值排名数据
......
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
</template> </template>
<script> <script>
import { changeMixin } from '@/mixins' import { boutiqueMixin } from '@/mixins'
export default { export default {
name: 'StaffRanking', name: 'StaffRanking',
mixins: [changeMixin], mixins: [boutiqueMixin],
data() { data() {
return { return {
// 员工产值排名数据 // 员工产值排名数据
......
...@@ -19,13 +19,13 @@ ...@@ -19,13 +19,13 @@
</template> </template>
<script> <script>
import Map from '../Map.vue' import Map from '../Map.vue'
import { changeMixin } from '@/mixins' import { boutiqueMixin } from '@/mixins'
export default { export default {
name: 'StoreMap', name: 'StoreMap',
components: { components: {
Map Map
}, },
mixins: [changeMixin], mixins: [boutiqueMixin],
data() { data() {
return { return {
storeDistrictList: [ storeDistrictList: [
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!