Commit a328e23e by chenwq

折线图

1 parent cbdb395c
...@@ -44,12 +44,11 @@ export default { ...@@ -44,12 +44,11 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
// corporateGroupName: '广汇', corporateGroupName: this.corporateGroupName,
corporateGroupName: '集团1',
queryItem: 'valid', queryItem: 'valid',
querystartTime: +val.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +val.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
queryType: val.reportType || 0 queryType: this.watchReportParams.reportType || 0
} }
} }
var brandName = val.brand ? val.brand.name : '' var brandName = val.brand ? val.brand.name : ''
......
...@@ -46,12 +46,11 @@ export default { ...@@ -46,12 +46,11 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
// corporateGroupName: '广汇', corporateGroupName: this.corporateGroupName,
corporateGroupName: '集团1',
queryItem: 'file', queryItem: 'file',
querystartTime: +val.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +val.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
queryType: val.reportType || 0 queryType: this.watchReportParams.reportType
} }
} }
var brandName = val.brand ? val.brand.name : '' var brandName = val.brand ? val.brand.name : ''
......
...@@ -61,12 +61,11 @@ export default { ...@@ -61,12 +61,11 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
// corporateGroupName: '广汇', corporateGroupName: this.corporateGroupName,
corporateGroupName: '集团1',
queryItem: 'first', queryItem: 'first',
querystartTime: +val.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +val.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
queryType: val.reportType || 0 queryType: this.watchReportParams.reportType || 0
} }
} }
var brandName = val.brand ? val.brand.name : '' var brandName = val.brand ? val.brand.name : ''
......
...@@ -44,12 +44,11 @@ export default { ...@@ -44,12 +44,11 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
// corporateGroupName: '广汇', corporateGroupName: this.corporateGroupName,
corporateGroupName: '集团1',
queryItem: 'retain', queryItem: 'retain',
querystartTime: +val.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +val.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
queryType: val.reportType || 0 queryType: this.watchReportParams.reportType || 0
} }
} }
var brandName = val.brand ? val.brand.name : '' var brandName = val.brand ? val.brand.name : ''
......
...@@ -44,12 +44,11 @@ export default { ...@@ -44,12 +44,11 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
// corporateGroupName: '广汇', corporateGroupName: this.corporateGroupName,
corporateGroupName: '集团1',
queryItem: 'loss', queryItem: 'loss',
querystartTime: +val.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +val.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
queryType: val.reportType || 0 queryType: this.watchReportParams.reportType || 0
} }
} }
var brandName = val.brand ? val.brand.name : '' var brandName = val.brand ? val.brand.name : ''
......
...@@ -61,12 +61,11 @@ export default { ...@@ -61,12 +61,11 @@ export default {
this.isEmpty = true this.isEmpty = true
var params = { var params = {
req: { req: {
// corporateGroupName: '广汇', corporateGroupName: this.corporateGroupName,
corporateGroupName: '集团1',
queryItem: 'regular', queryItem: 'regular',
querystartTime: +val.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12), querystartTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-30) : this.getNMonth(-12),
queryendTime: +val.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1), queryendTime: +this.watchReportParams.reportType === 1 ? this.getNDate(-1) : this.getNMonth(-1),
queryType: val.reportType || 0 queryType: this.watchReportParams.reportType || 0
} }
} }
var brandName = val.brand ? val.brand.name : '' var brandName = val.brand ? val.brand.name : ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!