Commit 8cff80cb by jack

修复bug

1 parent dca4b7ee
...@@ -133,7 +133,10 @@ export default { ...@@ -133,7 +133,10 @@ export default {
isSearching: false, isSearching: false,
resultBoxHidden: true, resultBoxHidden: true,
form: { form: {
dateRange: [this.$route.query.startTime||moment().subtract(6, "hours"), this.$route.query.endTime||moment()], dateRange: [
this.$route.query.startTime || moment().subtract(6, "hours"),
this.$route.query.endTime || moment(),
],
timerange: "1", timerange: "1",
replaySpeed: 1, replaySpeed: 1,
speedOpts: [ speedOpts: [
...@@ -605,7 +608,7 @@ export default { ...@@ -605,7 +608,7 @@ export default {
}, 500); }, 500);
}, },
drawPolygon(path) { drawPolygon(path) {
console.log('path') console.log("path");
EventBus.$emit("uiMap.fence.drawPolygon", { EventBus.$emit("uiMap.fence.drawPolygon", {
path, path,
isEdit: false, isEdit: false,
...@@ -616,6 +619,7 @@ export default { ...@@ -616,6 +619,7 @@ export default {
getFence() { getFence() {
MONITOR_SERVICE.getFenceInfo({ MONITOR_SERVICE.getFenceInfo({
sn: this.sn, sn: this.sn,
fenceId: this.fenceId,
}).then((res) => { }).then((res) => {
console.log(res); console.log(res);
let list = res.data || []; let list = res.data || [];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!