| | |
| | | // 获取行政区域 |
| | | // 获取token |
| | | getToken() { |
| | | console.log('666666666666') |
| | | const token = sessionStorage.getItem('token'); |
| | | const tokenHead = sessionStorage.getItem('tokenHead'); |
| | | this.handleSuccess() |
| | | if (token && tokenHead) { |
| | | return { Authorization: tokenHead + token }; |
| | | } |
| | | |
| | | }, |
| | | handleSuccess(res, file, filelist) { |
| | | <<<<<<< HEAD |
| | | console.log(res); |
| | | ======= |
| | | console.log(res) |
| | | >>>>>>> 948cca39e334dde8a3ef04c030f8d691edf30bf8 |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | this.ill.positive = baseUrl + res.data.url1; |
| | | |
| | |
| | | flex: 1; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |
| | |
| | | } |
| | | }, |
| | | handleSuccess(res, file, filelist) { |
| | | console.log(res) |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | this.ill.positive = baseUrl + res.data.url1; |
| | | // this.ill.positive = baseUrl + res.data.url1; |
| | | this.ill.positive = res.data |
| | | |
| | | }, |
| | | handleSuccess2(res, file, filelist) { |
| | | const baseUrl = 'http://140.143.152.226:8410/'; |
| | | this.ill.negative = baseUrl + res.data.url1; |
| | | // this.ill.negative = baseUrl + res.data.url1; |
| | | this.ill.negative = res.data |
| | | }, |
| | | // 查询社区 |
| | | getCommityList() { |
| | |
| | | proxy: { |
| | | // 跨域配置 |
| | | "/sccg": { |
| | | // target: `http://42.193.1.25/`, |
| | | target: `http://127.0.0.1:8082/`, |
| | | target: `http://42.193.1.25/`, //测试环境 |
| | | // target: `http://192.168.3.220:8082/`, |
| | | changeOrigin: true |
| | | } |
| | | }, |