| | |
| | | var openid = that.getQueryStringByKey('id'); |
| | | var lgtd = that.getQueryStringByKey('jd'); |
| | | var lttd = that.getQueryStringByKey('wd'); |
| | | var deptId = that.getQueryStringByKey('deptId'); |
| | | var deptId = that.getQueryStringByKey('deptId').slice(0,19);//报错deptId格式不对liu.2021.5.7 |
| | | var oneId = that.getQueryStringByKey('oneId'); |
| | | |
| | | that.addPoint(that.addEntitys, lgtd, lttd, './images/jingbaored.png'); |
| | | that.createEntitys(that.addEntitys, lgtd, lttd, './images/real-time-callPolice-opcity.png'); |
| | | that.createTwinkleEntitys(that.addEntitys, lgtd, lttd, './images/real-time-callPolice-opcity.png'); |
| | | |
| | | // console.log(deptId,153454) |
| | | $.ajax({ |
| | | url: "https://web.byisf.com/api/blade-user/pages?current=1&size=9999&work_status=&deptId=" + deptId, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | | |
| | | console.log(res.data.records, oneId) |
| | | // console.log(res.data.records, oneId) |
| | | |
| | | res.data.records.forEach((item) => { |
| | | if (item.id == oneId) { |