| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-11-15 15:10:41 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-01-06 17:13:07 |
| | | * @LastEditTime: 2023-01-07 11:57:46 |
| | | * @FilePath: \srs-police-affairs\src\api\police\index.js |
| | | * @Description: |
| | | * |
| | |
| | | */ |
| | | export const getHistoricalTrack = (params, requestBaseUrl = 'outside') => { |
| | | return request({ |
| | | url: `/position/history/${params.channelId}`, |
| | | // 平台ID在这里更换,不要传了 |
| | | url: `/position/history/36110000002009999000`, |
| | | method: 'get', |
| | | requestBaseUrl, |
| | | params: params |
| | |
| | | }) |
| | | |
| | | let positionsArr = [] |
| | | await this.getHistoricalTrack('34020000001320000001').then(res => { |
| | | await this.getHistoricalTrack().then(res => { |
| | | positionsArr = res |
| | | }) |
| | | let positionStr = '' |