Commit 19170514 authored by coffee's avatar coffee

修复红外无法选中bug

parent d258499a
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -204,7 +204,7 @@ export default { ...@@ -204,7 +204,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -340,7 +340,7 @@ export default { ...@@ -340,7 +340,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -528,10 +528,7 @@ export default { ...@@ -528,10 +528,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if ( if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' ||
list[i].type === '4f69755dbc0c45e49c142857286c5669'
) {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -472,7 +472,7 @@ export default { ...@@ -472,7 +472,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -549,7 +549,7 @@ ...@@ -549,7 +549,7 @@
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
......
...@@ -544,7 +544,7 @@ export default { ...@@ -544,7 +544,7 @@ export default {
for (let i in list) { for (let i in list) {
if (list[i].imageSrc) { if (list[i].imageSrc) {
//振动光纤和红外线对射 //振动光纤和红外线对射
if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669') { if (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b') {
let lineFeatures = [] let lineFeatures = []
lineFeatures.push([list[i].xlongit, list[i].ylat]) lineFeatures.push([list[i].xlongit, list[i].ylat])
lineFeatures.push([list[i].xpoint, list[i].ypoint]) lineFeatures.push([list[i].xpoint, list[i].ypoint])
...@@ -631,7 +631,7 @@ export default { ...@@ -631,7 +631,7 @@ export default {
for (let i in list) { for (let i in list) {
let x, y let x, y
//振动光纤和红外线对射list里面会有两条数据 //振动光纤和红外线对射list里面会有两条数据
if (!flag && (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b' || list[i].type === '4f69755dbc0c45e49c142857286c5669')) { if (!flag && (list[i].type === 'e670524ecb9e4a03b8ddbc7d91a63b1b')) {
//振动光纤和红外线对射第二点的经纬度 //振动光纤和红外线对射第二点的经纬度
x = Number(list[i].xpoint) x = Number(list[i].xpoint)
y = Number(list[i].ypoint) y = Number(list[i].ypoint)
......
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