Commit f34812d0 authored by xinzhedeai's avatar xinzhedeai

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

parent b49e2639
......@@ -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) {
return request({
......
......@@ -258,6 +258,7 @@ import {
leave, // 引入离开接口
} from "@/api/jinrun/fangke";
import { listUnboundCard } from "@/api/jinrun/card"; // 引入获取未绑定定位卡号列表的接口
import { getGuijiRouter } from "@/api/jinrun/zhongkong"; // 引入定位接口
import { getDict } from "@/api/jinrun/common";
......@@ -356,7 +357,10 @@ export default {
},
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