Commit cfe5cd57 by zhangquan

紧急版本

1 parent b4ce31b0
...@@ -254,9 +254,10 @@ export default { ...@@ -254,9 +254,10 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.pie-box { .pie-box {
background: #181C36; background: rgba(24 ,28, 54 ,0.9);
font-weight: 500; font-weight: 500;
font-size: 12px; font-size: 12px;
border-radius: 8px;
color: #A3A4AF; color: #A3A4AF;
text-align: center; text-align: center;
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</el-row> </el-row>
<ul class="monitor-list" style="max-height: calc(100vh - 380px)"> <ul class="monitor-list" style="max-height: calc(100vh - 380px)">
<template v-for="(sn, key) in monitorList.itemArr"> <template v-for="(sn, key) in monitorList.itemArr">
<li class="monitor-list-item" :key="sn" @click="openMapInfoWindow(sn, monitorList[sn].source)" v-if="key !== 'count' && <li class="monitor-list-item" :key="sn" @click="openMapInfoWindow(sn, monitorList[sn].source, monitorList[sn].vid)" v-if="key !== 'count' &&
monitorList[sn] && monitorList[sn] &&
(monitorList[sn].source == monitorFilterType || (monitorList[sn].source == monitorFilterType ||
monitorFilterType == '') monitorFilterType == '')
...@@ -476,6 +476,7 @@ export default { ...@@ -476,6 +476,7 @@ export default {
id: item.id, id: item.id,
source: item.source === "有线" ? "1" : "0", source: item.source === "有线" ? "1" : "0",
sourceType: item.source, sourceType: item.source,
vid: item.vid
}; };
}); });
...@@ -1168,7 +1169,8 @@ export default { ...@@ -1168,7 +1169,8 @@ export default {
terminate() { terminate() {
this._drawTimeoutId && window.clearTimeout(this._drawTimeoutId); this._drawTimeoutId && window.clearTimeout(this._drawTimeoutId);
}, },
openMapInfoWindow(sn, source) { openMapInfoWindow(sn, source, vid) {
localStorage.setItem('vehicleId', vid)
EventBus.$emit("uiMap.monitor.openInfoWindow", `${sn}:${source}`); EventBus.$emit("uiMap.monitor.openInfoWindow", `${sn}:${source}`);
}, },
downloadTpl() { downloadTpl() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!