From 484940484ce1bb15bfe41c5d8b6884d828761429 Mon Sep 17 00:00:00 2001 From: weijianli Date: Wed, 16 Oct 2019 13:24:50 -0500 Subject: [PATCH] some changes --- mock/user.js | 2 +- src/views/VueUploader/index.vue | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/mock/user.js b/mock/user.js index 9810b161..a2f39b82 100644 --- a/mock/user.js +++ b/mock/user.js @@ -84,7 +84,7 @@ export default [ // plot prediction graph { - url: '/testpredict', + url: '/testppppredict', type: 'get', response: _ => { return { diff --git a/src/views/VueUploader/index.vue b/src/views/VueUploader/index.vue index 8b9551da..5722a3f2 100644 --- a/src/views/VueUploader/index.vue +++ b/src/views/VueUploader/index.vue @@ -537,26 +537,6 @@ export default { this.$router.push({ name: "analyze" }) this.listLoading = true sendAnalyzeRequest().then(response => { - this.$router.push({ name: "plotTest", params: { - past: { - 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'] , - label: 'Past', - colorPicked: '#999997', - twoLines: true, - yAxisData2: [30, 140, 150, 200, 150, 170, 165, 170,150,230], - label2: 'Prediction', - colorPicked2: '#999997' - }, - future: { - 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'] , - label: 'Future', - colorPicked: '#519e19' - } - }}) - - var token = response['token'] var para = response['future']