Commit f34812d0 authored by xinzhedeai's avatar xinzhedeai

add:访客 人员轨迹追踪路由跳转

parent b49e2639
...@@ -18,6 +18,14 @@ export function getPosition(data) { ...@@ -18,6 +18,14 @@ export function getPosition(data) {
}) })
} }
// 人员定位路由切换
export function getGuijiRouter(cardId) {
return request({
url: '/home/person/route/' + cardId,
method: 'get',
})
}
// 修改人员信息 // 修改人员信息
export function updateInfo(data) { export function updateInfo(data) {
return request({ return request({
......
...@@ -258,6 +258,7 @@ import { ...@@ -258,6 +258,7 @@ import {
leave, // 引入离开接口 leave, // 引入离开接口
} from "@/api/jinrun/fangke"; } from "@/api/jinrun/fangke";
import { listUnboundCard } from "@/api/jinrun/card"; // 引入获取未绑定定位卡号列表的接口 import { listUnboundCard } from "@/api/jinrun/card"; // 引入获取未绑定定位卡号列表的接口
import { getGuijiRouter } from "@/api/jinrun/zhongkong"; // 引入定位接口
import { getDict } from "@/api/jinrun/common"; import { getDict } from "@/api/jinrun/common";
...@@ -356,7 +357,10 @@ export default { ...@@ -356,7 +357,10 @@ export default {
}, },
handleHistory(row) { handleHistory(row) {
// 跳转到李麒麟页面 // 跳转到李麒麟页面
window.open("http://192.168.2.54:9529/personnel/track"); // window.open("http://192.168.2.54:9529/personnel/track");
getGuijiRouter(row.visitorCardId).then((response) => {
// this.$modal.msgSuccess("正在跳转,请稍等");
});
}, },
/** 获取定位卡号列表数据 */ /** 获取定位卡号列表数据 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment