This commit is contained in:
Z 2019-10-15 18:44:52 -05:00
parent e1c79ff76b
commit 9859e590f9
1 changed files with 18 additions and 18 deletions

View File

@ -537,24 +537,24 @@ export default {
this.$router.push({ name: "analyze" }) this.$router.push({ name: "analyze" })
this.listLoading = true this.listLoading = true
sendAnalyzeRequest().then(response => { sendAnalyzeRequest().then(response => {
this.$router.push({ name: "plotTest", params: { // this.$router.push({ name: "plotTest", params: {
past: { // past: {
yAxisData: [100, 120, 161, 134, 105, 160, 165, 190,200,250], // yAxisData: [100, 120, 161, 134, 105, 160, 165, 190,200,250],
xAxisData: ['2019-7-13', '2019-7-14', '2019-7-15', '2019-7-16', '2019-7-17', '2019-7-18', '2019-7-19', '2019-7-20','2019-7-21','2019-7-22'] , // xAxisData: ['2019-7-13', '2019-7-14', '2019-7-15', '2019-7-16', '2019-7-17', '2019-7-18', '2019-7-19', '2019-7-20','2019-7-21','2019-7-22'] ,
label: 'Past', // label: 'Past',
colorPicked: '#999997', // colorPicked: '#999997',
twoLines: true, // twoLines: true,
yAxisData2: [30, 140, 150, 200, 150, 170, 165, 170,150,230], // yAxisData2: [30, 140, 150, 200, 150, 170, 165, 170,150,230],
label2: 'Prediction', // label2: 'Prediction',
colorPicked2: '#999997' // colorPicked2: '#999997'
}, // },
future: { // future: {
yAxisData: [260, 230, 270, 285, 295, 300, 310,330], // yAxisData: [260, 230, 270, 285, 295, 300, 310,330],
xAxisData: ['2019-8-13', '2019-8-14', '2019-8-15', '2019-8-16', '2019-8-17', '2019-8-18', '2019-8-19', '2019-8-20'] , // xAxisData: ['2019-8-13', '2019-8-14', '2019-8-15', '2019-8-16', '2019-8-17', '2019-8-18', '2019-8-19', '2019-8-20'] ,
label: 'Future', // label: 'Future',
colorPicked: '#519e19' // colorPicked: '#519e19'
} // }
}}) // }})
var token = response['token'] var token = response['token']