南昌市物联网技防平台-前端
liuyg
2021-05-07 be2983cb91e06554ff939c53b37284af1e1c170a
public/map/widgets/alertSecurity/AlertSecurity.js
@@ -201,20 +201,20 @@
      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) {