|
@@ -52,16 +52,15 @@ export default {
|
|
months: '',
|
|
months: '',
|
|
list: [],
|
|
list: [],
|
|
showDz: false,
|
|
showDz: false,
|
|
- dateStr: ''
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- computed: {
|
|
|
|
- cloumns () {
|
|
|
|
- const m = this.month.split('-')
|
|
|
|
- return ['项目', '品类经理', m[1] + '月业绩目标', m[1] + '月销售额截止达成', '达成率']
|
|
|
|
|
|
+ dateStr: '',
|
|
|
|
+ cloumns: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ getcloumns () {
|
|
|
|
+ const m = this.month.split('-')
|
|
|
|
+ this.cloumns = ['项目', '品类经理', m[1] + '月业绩目标', m[1] + '月销售额截止达成', '达成率']
|
|
|
|
+ },
|
|
getmonths () {
|
|
getmonths () {
|
|
this.months = this.month.split('-')[1]
|
|
this.months = this.month.split('-')[1]
|
|
this.dateStr = this.month.replace('-', '年') + '月'
|
|
this.dateStr = this.month.replace('-', '年') + '月'
|
|
@@ -78,6 +77,7 @@ export default {
|
|
},
|
|
},
|
|
pageInit () {
|
|
pageInit () {
|
|
this.getmonths()
|
|
this.getmonths()
|
|
|
|
+ this.getcloumns()
|
|
this.getshowDz()
|
|
this.getshowDz()
|
|
this.getlist()
|
|
this.getlist()
|
|
}
|
|
}
|