Commit 681c250f by zhangxw

新窗口打卡样式 跳转历史停留参数修改

1 parent f2519909
......@@ -21,7 +21,7 @@ export default {
// vBreadcrumb
},
created() {
// if(window.opener) this.isNewWindowOpenPage = true
if(window.opener) this.isNewWindowOpenPage = true
}
};
</script>
......
<template>
<v-full-layout class="full_wrap_layout">
<v-full-layout>
<template slot="breadcrumb">
<el-breadcrumb-item>电子围栏</el-breadcrumb-item>
</template>
......
<template>
<v-full-layout class="full_wrap_layout">
<v-full-layout>
<template slot="breadcrumb">
<el-breadcrumb-item>历史停留</el-breadcrumb-item>
</template>
......
<template>
<v-full-layout class="full_wrap_layout">
<v-full-layout>
<template slot="breadcrumb">
<el-breadcrumb-item>车辆监控</el-breadcrumb-item>
</template>
......
<template>
<v-full-layout class="full_wrap_layout">
<v-full-layout>
<template slot="breadcrumb">
<el-breadcrumb-item>常驻地</el-breadcrumb-item>
</template>
......
......@@ -392,7 +392,7 @@ MapService.prototype = {
}
// 通用参数
let queryCode = `sn=${info.sn}&name=${encodeURI(info.name)}&standno=${info.standNo}&locationType=${info.eLocateType}`;
let queryCode = `sn=${info.sn}&name=${encodeURI(info.name)}&standno=${info.standNo}`;
// 跳转到历史停留页面 无线设备不能跳转历史停留 isSource:1有线,其他无线
let historyBtn = infoDiv.querySelector('[data-history]');
if (historyBtn) {
......@@ -414,6 +414,7 @@ MapService.prototype = {
}
residentBtn.onclick = function () {
if (info.isSource == 1) {
queryCode = `sn=${info.sn}&name=${encodeURI(info.name)}&standno=${info.standNo}& =${info.eLocateType}`
mapService.openPage(`#/monitor/resident?${queryCode}`)
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!