shuishen
2023-01-07 e299fc0c44e82891089e82e3f46d9600f303bcf0
警力资源接口调整
2 files modified
7 ■■■■■ changed files
src/api/police/index.js 5 ●●●●● patch | view | raw | blame | history
src/views/police/index.vue 2 ●●● patch | view | raw | blame | history
src/api/police/index.js
@@ -2,7 +2,7 @@
 * @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: 
 * 
@@ -17,7 +17,8 @@
 */
export const getHistoricalTrack = (params, requestBaseUrl = 'outside') => {
    return request({
        url: `/position/history/${params.channelId}`,
        // 平台ID在这里更换,不要传了
        url: `/position/history/36110000002009999000`,
        method: 'get',
        requestBaseUrl,
        params: params
src/views/police/index.vue
@@ -749,7 +749,7 @@
            })
            let positionsArr = []
            await this.getHistoricalTrack('34020000001320000001').then(res => {
            await this.getHistoricalTrack().then(res => {
                positionsArr = res
            })
            let positionStr = ''