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 { ...@@ -102,20 +102,6 @@ export default {
return txt 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() { chartBindEvent() {
// resize // resize
window.addEventListener('resize', () => { window.addEventListener('resize', () => {
......
export default { export default {
data() {
return {
corporateGroupName: '集团1'
}
},
watch: { watch: {
watchReportParams: { watchReportParams: {
immediate: true, immediate: true,
......
...@@ -18,11 +18,9 @@ export default { ...@@ -18,11 +18,9 @@ export default {
let clientApi = !this.isBrand ? 'overalldistribution' : 'merchantOveralldistribution' let clientApi = !this.isBrand ? 'overalldistribution' : 'merchantOveralldistribution'
const params = { const params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: this.type, queryItem: this.type,
// queryTime: this.getCurrentDate, // queryTime: this.getCurrentDate,
queryTime: '2022-06-23', queryTime: '2022-06-23',
// queryType: this.watchReportParams.reportType
} }
} }
if (this.isBrand) params.req.brandName = this.brandName if (this.isBrand) params.req.brandName = this.brandName
......
...@@ -18,7 +18,6 @@ export default { ...@@ -18,7 +18,6 @@ export default {
let salesApi = !this.isBrand ? 'getSales' : 'getMerchantSales' let salesApi = !this.isBrand ? 'getSales' : 'getMerchantSales'
const params = { const params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: this.type, queryItem: this.type,
// queryTime: this.getCurrentDate, // queryTime: this.getCurrentDate,
queryTime: '2022-06-23', queryTime: '2022-06-23',
......
...@@ -134,7 +134,6 @@ export default { ...@@ -134,7 +134,6 @@ export default {
let analyzeApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother' let analyzeApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother'
const params = { const params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'valueanalyse', queryItem: 'valueanalyse',
// queryTime: this.getCurrentDate, // queryTime: this.getCurrentDate,
queryTime: '2022-06-23', queryTime: '2022-06-23',
......
...@@ -44,7 +44,6 @@ export default { ...@@ -44,7 +44,6 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'valid', queryItem: 'valid',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
...@@ -46,7 +46,6 @@ export default { ...@@ -46,7 +46,6 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'file', queryItem: 'file',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
...@@ -61,7 +61,6 @@ export default { ...@@ -61,7 +61,6 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'first', queryItem: 'first',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
...@@ -44,7 +44,6 @@ export default { ...@@ -44,7 +44,6 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'retain', queryItem: 'retain',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
...@@ -44,7 +44,6 @@ export default { ...@@ -44,7 +44,6 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'loss', queryItem: 'loss',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
......
...@@ -62,7 +62,6 @@ export default { ...@@ -62,7 +62,6 @@ export default {
let mileageApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother' let mileageApi = !this.isBrand ? 'aftersaleother' : 'afterMerchantSaleother'
const params = { const params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'mileage', queryItem: 'mileage',
// queryTime: this.getCurrentDate, // queryTime: this.getCurrentDate,
queryTime: '2022-06-23', queryTime: '2022-06-23',
......
...@@ -61,7 +61,6 @@ export default { ...@@ -61,7 +61,6 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
corporateGroupName: this.corporateGroupName,
queryItem: 'regular', queryItem: 'regular',
querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), 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!