Commit 2fe6d7a7 by 张杰

Merge branch 'v1.7.0-zxw' into 'v1.7.0'

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

See merge request !7
2 parents 599cc6c8 681c250f
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
// vBreadcrumb // vBreadcrumb
}, },
created() { created() {
// if(window.opener) this.isNewWindowOpenPage = true if(window.opener) this.isNewWindowOpenPage = true
} }
}; };
</script> </script>
......
<template> <template>
<v-full-layout class="full_wrap_layout"> <v-full-layout>
<template slot="breadcrumb"> <template slot="breadcrumb">
<el-breadcrumb-item>电子围栏</el-breadcrumb-item> <el-breadcrumb-item>电子围栏</el-breadcrumb-item>
</template> </template>
......
<template> <template>
<v-full-layout class="full_wrap_layout"> <v-full-layout>
<template slot="breadcrumb"> <template slot="breadcrumb">
<el-breadcrumb-item>历史停留</el-breadcrumb-item> <el-breadcrumb-item>历史停留</el-breadcrumb-item>
</template> </template>
......
<template> <template>
<v-full-layout class="full_wrap_layout"> <v-full-layout>
<template slot="breadcrumb"> <template slot="breadcrumb">
<el-breadcrumb-item>车辆监控</el-breadcrumb-item> <el-breadcrumb-item>车辆监控</el-breadcrumb-item>
</template> </template>
......
<template> <template>
<v-full-layout class="full_wrap_layout"> <v-full-layout>
<template slot="breadcrumb"> <template slot="breadcrumb">
<el-breadcrumb-item>常驻地</el-breadcrumb-item> <el-breadcrumb-item>常驻地</el-breadcrumb-item>
</template> </template>
......
...@@ -392,7 +392,7 @@ MapService.prototype = { ...@@ -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有线,其他无线 // 跳转到历史停留页面 无线设备不能跳转历史停留 isSource:1有线,其他无线
let historyBtn = infoDiv.querySelector('[data-history]'); let historyBtn = infoDiv.querySelector('[data-history]');
if (historyBtn) { if (historyBtn) {
...@@ -414,6 +414,7 @@ MapService.prototype = { ...@@ -414,6 +414,7 @@ MapService.prototype = {
} }
residentBtn.onclick = function () { residentBtn.onclick = function () {
if (info.isSource == 1) { if (info.isSource == 1) {
queryCode = `sn=${info.sn}&name=${encodeURI(info.name)}&standno=${info.standNo}& =${info.eLocateType}`
mapService.openPage(`#/monitor/resident?${queryCode}`) 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!