zengh
2021-06-23 89daea1b369ed1fac6edca0e9a5ec32e6c7f0df4
public/map/widgets/aPoliceTeam/APoliceTeam.js
@@ -264,7 +264,7 @@
        $('.police-container-distribute-details .content table tbody').empty();
        var str = '';
        $.ajax({
          url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          type: 'POST',
          dataType: 'JSON',
          success: function (data) {
@@ -295,7 +295,7 @@
                  var str = '';
                  $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
                  $.ajax({
                    url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry',
                    url: 'https://web.byisf.com/api/position/position/selectry',
                    type: 'POST',
                    data: {
                      coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -363,7 +363,7 @@
          }
          // 发送请求修改警单数据
          $.ajax({
            url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo',
            url: 'https://web.byisf.com/api/jingdan/jingdan/updateInfo',
            type: 'POST',
            data: {
              id: id,
@@ -402,7 +402,7 @@
        var str = '';
        $.ajax({
          url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          url: 'https://web.byisf.com/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
          type: 'POST',
          dataType: 'JSON',
          success: function (data) {
@@ -769,7 +769,7 @@
        if ($(this).index() == 1) {
          $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
          $.ajax({
            url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy',
            url: 'https://web.byisf.com/api/regions/regions/selectqy',
            type: 'GET',
            dataType: 'JSON',
            success: function (res) {
@@ -929,7 +929,7 @@
                  that.layuiLayer.msg('人员未更改!');
                } else {
                  $.ajax({
                    url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo',
                    url: 'https://web.byisf.com/api/duty/duty/updatedtInfo',
                    type: 'POST',
                    data: {
                      rid: routeId,
@@ -1019,7 +1019,7 @@
            if (that.tabIndex == 1) {
              if (that.patrolIndex == 1) {
                $.ajax({
                  url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/insertlx',
                  url: 'https://web.byisf.com/api/routeIn/routein/insertlx',
                  type: 'POST',
                  dataType: 'JSON',
                  data: {
@@ -1035,7 +1035,7 @@
                      that.polygonData = [];
                      that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), '');
                      $.ajax({
                        url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty',
                        url: 'https://web.byisf.com/api/duty/duty/insertduty',
                        type: 'POST',
                        dataType: 'JSON',
                        data: {
@@ -1060,7 +1060,7 @@
                // that.pepleRealId = pepleRealId;
              } else {
                $.ajax({
                  url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy',
                  url: 'https://web.byisf.com/api/regions/regions/insterqy',
                  type: 'POST',
                  dataType: 'JSON',
                  data: {
@@ -1079,7 +1079,7 @@
              }
            } else if (that.tabIndex == 2) {
              $.ajax({
                url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes',
                url: 'https://web.byisf.com/api/enclosure/enclosure/insertes',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1117,7 +1117,7 @@
      $('.police-dispatching .police-container .distribute-district .select-list ul').empty();
      $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>");
      $.ajax({
        url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList',
        url: 'https://web.byisf.com/api/district/district/selectList',
        type: 'POST',
        dataType: 'JSON',
        success: function (data) {
@@ -1473,7 +1473,7 @@
      dom.empty();
      var that = this;
      $.ajax({
        url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList',
        url: 'https://web.byisf.com/api/jingdan/jingdan/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -1536,7 +1536,7 @@
      that.currentDrawing = [];
      that.entityPolygonAll.clear();
      $.ajax({
        url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList',
        url: 'https://web.byisf.com/api/regions/regions/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -1580,7 +1580,7 @@
      that.currentDrawing = [];
      that.entityPolygonAll.clear();
      $.ajax({
        url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList',
        url: 'https://web.byisf.com/api/routeIn/routein/selectList',
        type: 'POST',
        dataType: 'JSON',
        data: {
@@ -1623,7 +1623,7 @@
      that.entityPolygonAll.clear();
      $.ajax({
        url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/queryBa',
        url: 'https://web.byisf.com/api/alarm/alarm/queryBa',
        type: 'POST',
        dataType: 'JSON',
        success: function (data) {
@@ -1671,7 +1671,7 @@
        }
      })
      // $.ajax({
      //     url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList',
      //     url: 'https://web.byisf.com/api/security/security/selectList',
      //     type: 'POST',
      //     dataType: 'JSON',
      //     success: function (data) {
@@ -1906,7 +1906,7 @@
          dataStr = dataStr.substring(0, dataStr.length - 1);
          $.ajax({
            url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx',
            url: 'https://web.byisf.com/api/routeIn/routein/updatelx',
            type: 'POST',
            dataType: 'JSON',
            data: {
@@ -1954,7 +1954,7 @@
          dataStr = dataStr.substring(0, dataStr.length - 1);
          $.ajax({
            url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy',
            url: 'https://web.byisf.com/api/regions/regions/updateqy',
            type: 'POST',
            dataType: 'JSON',
            data: {
@@ -2010,7 +2010,7 @@
        dataStr = dataStr.substring(0, dataStr.length - 1);
        $.ajax({
          url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
          url: 'https://web.byisf.com/api/enclosure/enclosure/updatee',
          type: 'POST',
          dataType: 'JSON',
          data: {