update plot
This commit is contained in:
		| @@ -44,9 +44,9 @@ service.interceptors.response.use( | |||||||
|    */ |    */ | ||||||
|   response => { |   response => { | ||||||
|     const res = response.data |     const res = response.data | ||||||
|  |     var x = false | ||||||
|     // if the custom code is not 20000, it is judged as an error. |     // if the custom code is not 20000, it is judged as an error. | ||||||
|     if (res.code !== 20000) { |     if (x) { | ||||||
|       Message({ |       Message({ | ||||||
|         message: res.message || 'Error', |         message: res.message || 'Error', | ||||||
|         type: 'error', |         type: 'error', | ||||||
|   | |||||||
| @@ -532,12 +532,14 @@ export default { | |||||||
|         this.$router.push({ name: "analyze" }) |         this.$router.push({ name: "analyze" }) | ||||||
|         this.listLoading = true |         this.listLoading = true | ||||||
|         sendAnalyzeRequest().then(response => { |         sendAnalyzeRequest().then(response => { | ||||||
|         console.log("success!") |         // console.log("success!") | ||||||
|         this.list = response.data.items |         // this.list = response.data.items | ||||||
|         this.listLoading = false |         // this.listLoading = false | ||||||
|  |         var token = response['token'] | ||||||
|  |  | ||||||
|         // if the response from the server indicating that it's running the analysis, then redirect to a loading view |         // if the response from the server indicating that it's running the analysis, then redirect to a loading view | ||||||
|         if (this.list.indexOf('anylyzing') >= 0) { |         if (token == 'success') { | ||||||
|           // this.$router.push('@/views/Analyzing/analyzing') |           this.$router.push({ name: "plot" }) | ||||||
|  |  | ||||||
|           // sendAnalyzeRequest().then(response => { |           // sendAnalyzeRequest().then(response => { | ||||||
|           //   this.list = response.data.items |           //   this.list = response.data.items | ||||||
|   | |||||||
							
								
								
									
										9
									
								
								src/views/plot/plot.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								src/views/plot/plot.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | <template> | ||||||
|  |     <iframe src="http://localhost:808" width=1300 height=600></iframe> | ||||||
|  | </template> | ||||||
|  |  | ||||||
|  | <script> | ||||||
|  | export default { | ||||||
|  |   name: 'plot', | ||||||
|  | } | ||||||
|  | </script> | ||||||
		Reference in New Issue
	
	Block a user