| | |
| | | // 获取行政区域 |
| | | // 获取token |
| | | getToken() { |
| | | console.log('666666666666') |
| | | const token = sessionStorage.getItem('token'); |
| | | const tokenHead = sessionStorage.getItem('tokenHead'); |
| | | this.handleSuccess() |
| | | if (token && tokenHead) { |
| | | return { Authorization: tokenHead + token }; |
| | | } |
| | | console.log'(666666666666)' |
| | | |
| | | }, |
| | | handleSuccess(res, file, filelist) { |
| | | console.log(res) |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | const baseUrl = ''; |
| | | this.ill.positive = baseUrl + res.data.url1; |
| | | |
| | | }, |
| | | handleSuccess2(res, file, filelist) { |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | const baseUrl = ''; |
| | | this.ill.negative = baseUrl + res.data.url1; |
| | | } |
| | | }, |