| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-07-05 16:31:54 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-11-19 11:21:31 |
| | | * @Last Modified time: 2021-11-24 09:54:16 |
| | | * menu-name 押运人员定位 |
| | | */ |
| | | <template> |
| | |
| | | }, |
| | | created () { |
| | | this.newAxios = axios.create({ |
| | | baseURL: 'http://47.104.104.46', |
| | | baseURL: 'http://s16s652780.51mypc.cn', |
| | | timeout: 600000 // request timeout |
| | | }) |
| | | |
| | |
| | | positionClick (val) { |
| | | getPosition({ type: 1, workerId: val.id }).then((result) => { |
| | | this.newAxios({ |
| | | url: '/api/client/getgis.php?acc=7731', |
| | | url: '/Escort/getgis.php?acc=7731', |
| | | method: 'get' |
| | | }).then(res => { |
| | | |
| | |
| | | }).then((result) => { |
| | | |
| | | this.newAxios({ |
| | | url: '/api/client/getgistrack.php?number=7730&acc=7731', |
| | | url: '/Escort/getgistrack.php?number=7730&acc=7731', |
| | | method: 'get' |
| | | }).then(res => { |
| | | |