Commit 1c4fbeb7 by 胡悦

Merge branch 'dev_v1.0.0' of http://192.168.3.233:8090/gh/data-view into dev_v1.0.0

2 parents 964844ec eafca61f
......@@ -102,20 +102,6 @@ export default {
return txt
},
// autoMove() {
// clearInterval(this.timer)
// this.timer = setInterval(() => {
// this.moveAttr.dataIndex = this.moveAttr.dataIndex + 1
// if (this.moveAttr.dataIndex === this.dataList.length) {
// this.moveAttr.dataIndex = 0
// }
// this.chartAction()
// this.autoMove()
// this.getRankList(this.moveAttr.dataIndex, this.rankFlag + 'List')
// }, this.moveAttr.speed)
// },
chartBindEvent() {
// resize
window.addEventListener('resize', () => {
......
export default {
data() {
return {
corporateGroupName: '集团1'
}
},
watch: {
watchReportParams: {
immediate: true,
......
......@@ -18,11 +18,9 @@ export default {
let clientApi = !this.isBrand ? 'overalldistribution' : 'merchantOveralldistribution'
const params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: this.type,
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
// queryType: this.watchReportParams.reportType
}
}
if (this.isBrand) params.req.brandName = this.brandName
......
......@@ -18,7 +18,6 @@ export default {
let salesApi = !this.isBrand ? 'getSales' : 'getMerchantSales'
const params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: this.type,
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......
......@@ -134,7 +134,6 @@ export default {
let analyzeApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother'
const params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'valueanalyse',
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......
......@@ -44,7 +44,6 @@ export default {
this.isEmpty = true
var params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'valid',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
......@@ -46,7 +46,6 @@ export default {
this.isEmpty = true
var params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'file',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
......@@ -61,7 +61,6 @@ export default {
this.isEmpty = true
var params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'first',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
......@@ -44,7 +44,6 @@ export default {
this.isEmpty = true
var params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'retain',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
......@@ -44,7 +44,6 @@ export default {
this.isEmpty = true
var params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'loss',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
......@@ -62,7 +62,6 @@ export default {
let mileageApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother'
const params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'mileage',
// queryTime: this.getCurrentDate,
queryTime: '2022-06-23',
......
......@@ -61,7 +61,6 @@ export default {
this.isEmpty = true
var params = {
req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'regular',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!