shuishen
2021-11-30 1097e97494137341115ac4d214ac92e303fe533a
武装押运修改
1 files modified
10 ■■■■■ changed files
src/views/map/carGps.vue 10 ●●●●● patch | view | raw | blame | history
src/views/map/carGps.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-11-30 17:12:03
 * @Last Modified time: 2021-11-30 17:32:40
 * menu-name 押运人员定位
 */
<template>
@@ -197,11 +197,10 @@
                var res = result.data.data;
                console.log(res, 123)
                if (JSON.stringify(res) != "{}") {
                    var csGps = window.coordtransform.bd09togcj02(Number(res.longitude), Number(res.latitude));
                    this.$refs.modalForm.addEntitys(
                        {
                            LGTD: csGps[0],
                            LTTD: csGps[1],
                            LGTD: Number(res.longitude),
                            LTTD: Number(res.latitude),
                            name: "枪支位置",
                        },
                        carPng,
@@ -276,8 +275,7 @@
                    let arr = [];
                    array.forEach((item) => {
                        var csGps = window.coordtransform.bd09togcj02(Number(item.longitude), Number(item.latitude));
                        arr.push([csGps[0], csGps[1]]);
                        arr.push([Number(item.longitude), Number(item.latitude)]);
                    });
                    this.$refs.modalForm.addLines(arr);