| | |
| | | moveThis: null, |
| | | |
| | | //基础路径 |
| | | pathUrl: "http://localhost:89", |
| | | //pathUrl:"https://web.byisf.com/api/blade-jfpts", |
| | | //pathUrl: "http://localhost:89", |
| | | pathUrl: "https://web.byisf.com/api/blade-jfpts", |
| | | |
| | | // 电子围栏需要新增的Id |
| | | newElectronicFenceId: null, |
| | |
| | | var lttd = that.getQueryStringByKey('wd'); |
| | | anumber = that.getQueryStringByKey('code'); |
| | | realname = that.getQueryString('name'); |
| | | console.log(lgtd, 1111); |
| | | //如果处警员的位置信息存在 |
| | | if (lgtd != null && lgtd != "") { |
| | | //所在位置标记 |
| | |
| | | //that.polygonFlag = true; |
| | | that.newElectronicFenceId = anumber; |
| | | } |
| | | |
| | | } |
| | | } |
| | | }) |
| | | } else { |
| | | //当前处警员没有位置信息,则默认定位到市中心位置 |
| | | that.isPosition = false; |
| | | var lgtd1 = '115.862321'; |
| | | var lttd1 = '28.591108'; |
| | | //所在位置标记 |
| | | that.addPoint(that.addEntitys, lgtd1, lttd1, './images/security.png'); |
| | | } |
| | | |
| | | //调用点击事件 |