src/main/webapp/views/home/map.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/webapp/views/home/map.html
@@ -1154,17 +1154,16 @@ }) }) data.forEach((item,index) => { let locNo = item.locNo let y = parseInt(locNo.substr(2,3)) let x = parseInt(locNo.substr(0,2)) if (x >= 2 && x <= 12) { x += 1; }else if (x == 13) { x += 2; } tmp[x][y].searchStatus = true//搜索标记 data.forEach((item,i) => { let locNo = item.locNo tmp.forEach((item,index) => { item.forEach((val,idx) => { if (tmp[index][idx].locNo == locNo) { tmp[index][idx].searchStatus = true//搜索标记 } }) }) }) that.map = tmp $layui.layer.msg("搜索成功");